Function at 0x10108b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xb0
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0xc4]
mov ebx, dword [ebx]
mov edi, dword [esp + 0xf4]
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x84], ebp
mov ebp, dword [ebp]
mov dword [esp + 0x88], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x9c], ebp
mov ebp, dword [edi + 0x10]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x78], esi
mov dword [esp + 0x98], ecx
mov esi, dword [esi]
mov ecx, dword [ebx]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xa4], esi
mov dword [esp + 0x50], esi
mov dword [esp], ecx
mov dword [esp + 0x90], ecx
mov esi, dword [edi + 0x14]
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0xf0]
movzx edi, word [ebp*2 + 0x1044acdc]
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x60], esi
movzx esi, word [esi*2 + 0x1044acdc]
mov ecx, dword [ecx]
mov dword [esp + 0x5c], edi
lea edi, [edx + edi*2 + 2]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x94], ecx
mov esi, dword [esp]
mov edi, dword [esp + 0xd0]
cmp dword [eax], 2
je 0x10109a85
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x44], eax
mov eax, 1
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x48], ecx
cmp ecx, 6
jle 0x1010950a
cmp edx, 8
jle 0x1010950a
lea edi, [esp + 0x50]
lea esi, [esp + 0xe0]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x90]
lea eax, [esp + 8]
push dword [esp + 0x54]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x8c]
push dword [esp + 0x80]
push eax
push dword [esp + 0x70]
push dword [esp + 0x78]
push dword [esp + 0x80]
push ebp
push edx
push ecx
push esi
push edi
lea eax, [esp + 0x84]
push eax
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0xd8]
push ecx
call fcn.1010faf0
add esp, 0x44
test eax, eax
je 0x1010992c
mov ebx, eax
and eax, 0xf
sar ebx, 0x10
add eax, 0xfffffffe
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 8]
mov edx, ebx
shr edx, 0x10
and ebx, 0xf
mov dword [esp + 0x44], edx
cmp eax, 4
ja case.default.0x10108d59
jmp dword [eax*4 + 0x1044acfc]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x8c], eax
mov ebx, dword [esp + 0x40]
cmp ebx, edx
jle 0x10108d8c
sub dword [esp + 0x40], edx
mov ebx, edx
mov eax, 5
test edx, edx
je 0x1010956d
jmp 0x10108d91
mov eax, 1
mov esi, dword [esp + 0xe0]
cmp esi, dword [esp + 0x44]
jae 0x101091d2
cmp dword [esp + 0x70], 0
je 0x101097cf
mov ecx, esi
xor edi, edi
mov edx, dword [esp + 0x44]
sub ecx, edx
add ecx, ebx
cmovs ecx, edi
mov edi, ebx
sub edx, dword [esp + 0x80]
sub edi, ecx
sub edx, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edx
test edx, edx
jle 0x1010967a
mov ecx, edi
mov edi, ecx
sub edi, edx
xor esi, esi
test edi, edi
cmovle edx, ecx
cmovle edi, esi
mov dword [esp + 0x20], edi
test edx, edx
jle 0x10108f49
cmp edx, 6
jle 0x10108ebe
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
lea edi, [ecx + esi]
sub edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x8c]
jae 0x10108e2d
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x18]
cmp edx, ecx
jle 0x10108e4b
mov ecx, dword [esp + 0x8c]
cmp ecx, dword [esp + 0x18]
jae 0x10108ebe
mov ecx, edi
sub ecx, dword [esp + 0x8c]
cmp edx, ecx
jg 0x10108ebe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
test ecx, ecx
jbe 0x10109648
mov dword [esp + 0x34], ebp
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp + 0x8c]
movzx edx, byte [edi + esi*2]
mov byte [ebp + esi*2], dl
movzx ebx, byte [edi + esi*2 + 1]
mov byte [ebp + esi*2 + 1], bl
inc esi
cmp esi, ecx
jb 0x10108e74
mov edx, dword [esp + 0x14]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x34]
cmp ecx, edx
ja 0x10108f49
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x8c]
movzx edx, byte [esi + ecx - 1]
mov byte [ecx + edi - 1], dl
jmp 0x10108f49
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
mov dword [esp + 0x1c], ecx
test ecx, ecx
jbe 0x10109652
mov edi, dword [esp + 0x6c]
xor esi, esi
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0xa0], ebx
add ecx, edi
sub ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x8c]
mov edi, dword [esp + 0x1c]
movzx edx, byte [ecx + esi*2]
mov byte [ebp + esi*2], dl
movzx ebx, byte [ecx + esi*2 + 1]
mov byte [ebp + esi*2 + 1], bl
inc esi
cmp esi, edi
jb 0x10108efd
mov edx, dword [esp + 0x14]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x34]
cmp ecx, edx
ja 0x10108f49
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
lea edx, [esi + edi]
mov esi, dword [esp + 0x8c]
sub edx, dword [esp + 0x2c]
movzx edx, byte [ecx + edx - 1]
mov byte [ecx + esi - 1], dl
cmp dword [esp + 0x20], 0
je 0x10109081
jle 0x10109081
cmp dword [esp + 0x20], 6
jle 0x1010900b
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x8c]
lea esi, [edx + ecx]
mov dword [esp + 4], esi
cmp esi, dword [esp + 0x70]
jbe 0x10108f89
mov edx, esi
sub edx, dword [esp + 0x70]
cmp edx, dword [esp + 0x20]
jge 0x10108f9f
mov edx, esi
cmp edx, dword [esp + 0x70]
jae 0x1010900b
mov edx, dword [esp + 0x70]
sub edx, dword [esp + 4]
cmp edx, dword [esp + 0x20]
jl 0x1010900b
mov ecx, dword [esp + 0x20]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
test edx, edx
jbe 0x1010965c
mov dword [esp + 0x34], ebp
xor esi, esi
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp + 4]
mov edi, dword [esp + 0x70]
movzx ecx, byte [edi + esi*2]
mov byte [ebp + esi*2], cl
movzx ebx, byte [edi + esi*2 + 1]
mov byte [ebp + esi*2 + 1], bl
inc esi
cmp esi, edx
jb 0x10108fc9
mov ebx, dword [esp + 0xa0]
lea edi, [esi + esi + 1]
mov ebp, dword [esp + 0x34]
cmp edi, dword [esp + 0x20]
ja 0x10109081
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 4]
movzx edx, byte [edi + ecx - 1]
mov byte [esi + edi - 1], dl
jmp 0x10109081
mov edx, dword [esp + 0x20]
mov esi, edx
shr esi, 0x1f
add esi, edx
sar esi, 1
test esi, esi
jbe 0x10109822
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp + 0x70]
add edx, edi
movzx ebx, byte [ebp + ecx*2]
mov byte [edx + ecx*2], bl
movzx ebx, byte [ebp + ecx*2 + 1]
mov byte [edx + ecx*2 + 1], bl
inc ecx
cmp ecx, esi
jb 0x1010903e
mov ebx, dword [esp + 0xa0]
lea esi, [ecx + ecx + 1]
mov ebp, dword [esp + 0x34]
cmp esi, dword [esp + 0x20]
ja 0x10109081
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
add edi, dword [esp + 0x8c]
movzx edx, byte [esi + ecx - 1]
mov byte [esi + edi - 1], dl
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x8c], edx
mov esi, dword [esp + 0xe0]
cmp dword [esp + 0x28], 0
jne 0x101090a3
mov edx, dword [esp + 0x50]
jmp 0x10109301
mov ecx, dword [esp + 0x8c]
mov edx, ecx
add dword [esp + 0x24], ecx
sub edx, esi
mov dword [esp + 0xc], edx
cmp dword [esp + 0x28], 0
jle 0x1010909a
cmp dword [esp + 0x28], 6
jle 0x10109163
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0xc]
jbe 0x101090dc
sub edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x28]
jge 0x101090f4
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0xc]
jae 0x10109163
mov edx, dword [esp + 0xc]
sub edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x28]
jl 0x10109163
mov ecx, dword [esp + 0x28]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
test edx, edx
jbe 0x10109666
mov dword [esp + 0x34], ebp
xor esi, esi
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
movzx ecx, byte [edi + esi*2]
mov byte [ebp + esi*2], cl
movzx ebx, byte [edi + esi*2 + 1]
mov byte [ebp + esi*2 + 1], bl
inc esi
cmp esi, edx
jb 0x1010911e
mov ebx, dword [esp + 0xa0]
lea esi, [esi + esi + 1]
mov ebp, dword [esp + 0x34]
cmp esi, dword [esp + 0x28]
ja 0x101092eb
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
movzx edx, byte [ecx + esi - 1]
mov byte [esi + edi - 1], dl
jmp 0x101092eb
mov ecx, dword [esp + 0x28]
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
test edx, edx
jbe 0x10109670
mov dword [esp + 0x34], ebp
xor esi, esi
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
movzx ecx, byte [edi + esi*2]
mov byte [ebp + esi*2], cl
movzx ebx, byte [edi + esi*2 + 1]
mov byte [ebp + esi*2 + 1], bl
inc esi
cmp esi, edx
jb 0x1010918d
mov ebx, dword [esp + 0xa0]
lea esi, [esi + esi + 1]
mov ebp, dword [esp + 0x34]
cmp esi, dword [esp + 0x28]
ja 0x101092eb
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x24]
movzx edx, byte [esi + ecx - 1]
mov byte [esi + edi - 1], dl
jmp 0x101092eb
mov ecx, dword [esp + 0x8c]
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
test ebx, ebx
jle 0x10109301
cmp ebx, 6
jle 0x10109287
mov edx, dword [esp + 0x8c]
cmp edx, dword [esp + 0x10]
jbe 0x10109207
sub edx, dword [esp + 0x10]
cmp ebx, edx
jle 0x10109221
mov edx, dword [esp + 0x8c]
cmp edx, dword [esp + 0x10]
jae 0x10109287
mov edx, ecx
sub edx, dword [esp + 0x8c]
cmp ebx, edx
jg 0x10109287
mov edx, ebx
shr edx, 0x1f
add edx, ebx
sar edx, 1
test edx, edx
jbe 0x1010980e
mov dword [esp + 0x34], ebp
xor esi, esi
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp + 0x8c]
mov edi, ecx
movzx ecx, byte [edi + esi*2]
mov byte [ebp + esi*2], cl
movzx ebx, byte [edi + esi*2 + 1]
mov byte [ebp + esi*2 + 1], bl
inc esi
cmp esi, edx
jb 0x10109248
mov ebx, dword [esp + 0xa0]
lea esi, [esi + esi + 1]
mov ebp, dword [esp + 0x34]
cmp esi, ebx
ja 0x101092eb
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x8c]
movzx edx, byte [ecx + esi - 1]
mov byte [esi + edi - 1], dl
jmp 0x101092eb
mov edx, ebx
shr edx, 0x1f
add edx, ebx
sar edx, 1
test edx, edx
jbe 0x10109818
mov dword [esp + 0x34], ebp
xor esi, esi
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp + 0x8c]
mov edi, ecx
movzx ecx, byte [edi + esi*2]
mov byte [ebp + esi*2], cl
movzx ebx, byte [edi + esi*2 + 1]
mov byte [ebp + esi*2 + 1], bl
inc esi
cmp esi, edx
jb 0x101092ae
mov ebx, dword [esp + 0xa0]
lea esi, [esi + esi + 1]
mov ebp, dword [esp + 0x34]
cmp esi, ebx
ja 0x101092eb
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x8c]
movzx edx, byte [esi + ecx - 1]
mov byte [esi + edi - 1], dl
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0xe0]
add dword [esp + 0x8c], ebx
add esi, ebx
sub edx, ebx
mov dword [esp + 0xe0], esi
cmp eax, 5
je 0x1010956d
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ecx
cmp eax, 1
je 0x10108ca0
test edx, edx
je 0x1010956d
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x40]
mov byte [edx], al
mov eax, 1
mov edx, dword [esp + 0x50]
dec edx
inc dword [esp + 0x4c]
inc dword [esp + 0xe0]
mov dword [esp + 0x50], edx
jmp 0x10108ca0
mov ecx, dword [esp + 0x4c]
mov eax, 4
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
cmp ecx, ebx
jg 0x10109834
mov edi, dword [esp + 0x98]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebp
mov ebp, edi
mov eax, dword [esp + 0x30]
jmp 0x101093c1
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test ebp, ebp
jle 0x1010982c
movzx edi, byte [eax]
inc eax
shlx edi, edi, ecx
add ecx, 8
or esi, edi
dec ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebp
cmp ecx, ebx
jle 0x101093b3
jmp 0x1010982c
mov ecx, dword [esp + 0x4c]
mov eax, 3
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
cmp ecx, dword [esp + 0x60]
jg 0x10109894
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], ebp
jmp 0x10109445
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test ebx, ebx
jle 0x1010988c
movzx ebp, byte [edi]
inc edi
shlx ebp, ebp, ecx
add ecx, 8
or esi, ebp
dec ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebx
cmp ecx, eax
jle 0x10109437
jmp 0x1010988c
mov ecx, dword [esp + 0x4c]
mov eax, 2
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
cmp ecx, ebx
jg 0x101098f7
mov edi, dword [esp + 0x98]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebp
mov eax, edi
mov ebp, dword [esp + 0x38]
jmp 0x101094cd
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x101098ef
movzx edi, byte [ebp]
inc ebp
shlx edi, edi, ecx
add ecx, 8
or esi, edi
dec eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], eax
cmp ecx, ebx
jle 0x101094bf
jmp 0x101098ef
mov edx, dword [esp + 0x50]
mov eax, 1
jmp 0x10108ca0
mov ecx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
cmp ecx, ebp
jg 0x1010997f
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x48]
jmp 0x1010953f
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x10109977
movzx edi, byte [ebx]
inc ebx
shlx edi, edi, ecx
add ecx, 8
or esi, edi
dec eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
cmp ecx, ebp
jle 0x10109531
jmp 0x10109977
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xa0], ebx
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x48], edx
lea edx, [eax - 2]
cmp edx, 4
ja 0x101095d6
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0x44]
mov dword [edx], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [edx + 8], ebp
mov dword [edx + 0xc], eax
xor eax, eax
mov edx, dword [esp + 0x74]
mov dword [edx], 2
jmp 0x10109600
test eax, eax
jne 0x101095e8
mov eax, dword [esp + 0x74]
mov dword [eax], 0
xor eax, eax
jmp 0x10109600
cmp eax, 1
jne 0x101095fb
mov eax, dword [esp + 0x74]
mov dword [eax], 1
xor eax, eax
jmp 0x10109600
mov eax, 0xffffff38
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0x98]
mov dword [ebp], edx
mov ebp, dword [esp + 0x84]
mov edx, dword [esp + 0x48]
mov dword [ebp], edx
mov dword [ebx], esi
mov dword [edi], ecx
mov ebx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x8c]
mov esi, dword [esp + 0xa4]
mov dword [ebx], ecx
mov dword [edi], esi
add esp, 0xb0
pop ebp
pop ebx
pop edi
pop esi
ret
mov ecx, 1
jmp 0x10108e9d
mov ecx, 1
jmp 0x10108f26
mov edi, 1
jmp 0x10108fee
mov esi, 1
jmp 0x10109143
mov esi, 1
jmp 0x101091b2
cmp dword [esp + 0x24], 0
jle 0x10109093
cmp dword [esp + 0x24], 6
jle 0x10109745
mov edx, dword [esp + 0x70]
sub edx, dword [esp + 0x2c]
mov dword [esp], edx
cmp edx, dword [esp + 0x8c]
jae 0x101096b4
mov edx, dword [esp + 0x8c]
sub edx, dword [esp]
cmp edx, dword [esp + 0x24]
jge 0x101096d4
mov edx, dword [esp + 0x8c]
cmp edx, dword [esp]
jae 0x10109745
mov edx, dword [esp]
sub edx, dword [esp + 0x8c]
cmp edx, dword [esp + 0x24]
jl 0x10109745
mov ecx, edi
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
test edx, edx
jbe 0x101097c5
mov dword [esp + 0x34], ebp
xor ecx, ecx
mov dword [esp + 0xa0], ebx
mov ebp, dword [esp]
mov esi, dword [esp + 0x8c]
movzx ebx, byte [ebp + ecx*2]
mov byte [esi + ecx*2], bl
movzx ebx, byte [ebp + ecx*2 + 1]
mov byte [esi + ecx*2 + 1], bl
inc ecx
cmp ecx, edx
jb 0x101096fe
mov ebx, dword [esp + 0xa0]
lea esi, [ecx + ecx + 1]
mov ebp, dword [esp + 0x34]
cmp esi, dword [esp + 0x24]
ja 0x10109081
mov ecx, dword [esp]
mov edi, dword [esp + 0x8c]
movzx edx, byte [ecx + esi - 1]
mov byte [esi + edi - 1], dl
jmp 0x10109081
mov edx, edi
mov esi, edx
shr esi, 0x1f
add esi, edx
sar esi, 1
test esi, esi
jbe 0x101097be
mov edx, dword [esp + 0x70]
xor ecx, ecx
mov dword [esp + 0x34], ebp
sub edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0xa0], ebx
movzx ebx, byte [edx + ecx*2]
mov byte [ebp + ecx*2], bl
movzx ebx, byte [edx + ecx*2 + 1]
mov byte [ebp + ecx*2 + 1], bl
inc ecx
cmp ecx, esi
jb 0x10109770
mov ebx, dword [esp + 0xa0]
lea esi, [ecx + ecx + 1]
mov ebp, dword [esp + 0x34]
cmp esi, dword [esp + 0x24]
ja 0x10109081
mov ecx, dword [esp + 0x2c]
neg ecx
add ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x8c]
movzx edx, byte [esi + ecx - 1]
mov byte [esi + edi - 1], dl
jmp 0x10109081
mov esi, 1
jmp 0x10109795
mov esi, 1
jmp 0x10109723
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], edx
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x48], eax
mov eax, 7
jmp 0x101095a2
mov esi, 1
jmp 0x1010926d
mov esi, 1
jmp 0x101092d3
mov esi, 1
jmp 0x10109063
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
cmp ebx, ecx
jg 0x10109860
movzx eax, word [ebx*2 + 0x1044acdc]
sub ecx, ebx
and eax, esi
shrx esi, esi, ebx
add dword [esp + 0x44], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ecx
jmp 0x10108d6f
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xa0], ebx
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x48], edx
jmp 0x101095a2
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, esi
and ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
mov dword [esp + 0xa4], edx
movzx edx, word [edi + ebx*2 + 0x400]
movzx ebx, byte [ebx + edi]
mov edi, ebx
and edi, 0xf
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xa4]
cmp ecx, edi
jl 0x10109860
shr ebx, 4
sub ecx, edi
shrx esi, esi, edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ecx
test ebx, ebx
je 0x10108d6f
mov eax, 4
jmp 0x10109389
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
cmp ebx, ecx
jg 0x10109860
movzx eax, word [ebx*2 + 0x1044acdc]
sub ecx, ebx
and eax, esi
shrx esi, esi, ebx
add dword [esp + 0x40], eax
mov eax, 3
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ecx
jmp 0x10109411
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x8c], ecx
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0xa4], edx
jmp 0x101095a2
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov edi, esi
and edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xa4], edx
movzx edx, byte [ebx + edi*2 + 1]
movzx ebx, byte [ebx + edi*2]
mov edi, ebx
and edi, 0xf
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xa4]
cmp ecx, edi
jl 0x10109a59
sub ecx, edi
shrx esi, esi, edi
and ebx, 0xf0
jne 0x101099e3
mov dword [esp + 0x94], ecx
mov eax, 6
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ecx
jmp 0x10109334
cmp ebx, 0xf0
jne 0x10109a19
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], edx
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x8c], eax
xor eax, eax
jmp 0x101095a2
shr ebx, 4
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
add eax, 3
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x8c], edi
and ebx, 7
je 0x10109a4f
mov eax, 2
jmp 0x10109495
mov eax, 3
jmp 0x10109411
mov dword [esp + 0xa4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa0], ebx
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x8c], edx
jmp 0x101095a2
mov dword [esp], esi
mov esi, dword [esp + 0x64]
mov edx, dword [esi + 4]
mov dword [esp + 0x40], edx
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x44], edx
mov esi, dword [esp]
cmp eax, 1
je 0x10108c84
cmp eax, 6
je 0x10109acf
cmp eax, 2
je 0x10109b45
cmp eax, 3
je 0x10109b2b
cmp eax, 4
je 0x10109b0a
cmp eax, 5
je 0x10109af0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
jmp 0x10109334
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ebx
mov edx, dword [esp + 0xa4]
jmp 0x10108d6f
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
jmp 0x10109389
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], ebx
mov edx, dword [esp + 0xa4]
jmp 0x10109411
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], edi
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa0]
jmp 0x10109495
mov eax, 0xffffff38
add esp, 0xb0
pop ebp
pop ebx
pop edi
pop esi
ret