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

Disassembly:
sub esp, 0x150
mov eax, dword [0x10597da4]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x168]
mov edx, dword [esp + 0x174]
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x16c]
mov dword [esp + 0x6c], eax
imul eax, edx, 0x108
lea ebx, [ecx + 0xd5c]
mov dword [esp + 0x60], edx
add ecx, 0x54fc
add ebx, eax
lea eax, [edx + edx*2]
shl eax, 6
add eax, ecx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x40], eax
xor ecx, ecx
lea eax, [esp + 0xbc]
test edx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x178]
sete cl
lea esi, [esp + 0x9c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], esi
or ebp, 0xffffffff
movzx eax, word [eax + 2]
imul eax, eax
mov edi, dword [esp + 0x170]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x64], ebp
cdq
and edx, 3
mov dword [esp + 0x68], ebp
lea esi, [edx + eax]
movzx edx, byte [ecx + 0x102eff00]
sar esi, 2
lea ecx, [edi + edx*2]
add ecx, edx
mov edx, dword [esp + 0x20]
imul ecx, ecx, 0xb
dec edx
movzx ebx, byte [ecx + ebx]
mov ecx, 0xf
nop dword [eax]
nop word [eax + eax]
mov ebp, dword [esp + 0x34]
movzx eax, byte [ecx + 0x102f20a4]
movsx eax, word [ebp + eax*2]
mov ebp, 0xffffffff
imul eax, eax
cmp eax, esi
jg 0x101ea095
dec ecx
cmp ecx, dword [esp + 0x20]
jge 0x101ea070
jmp 0x101ea097
mov edx, ecx
cmp edx, 0xf
lea eax, [edx + 1]
mov esi, ebx
cmovge eax, edx
add esi, esi
mov dword [esp + 0x5c], eax
xor ecx, ecx
movzx eax, word [esi + 0x102eed00]
imul dword [esp + 0x17c]
cmp dword [esp + 0x60], ecx
mov dword [esp + 0x54], eax
mov eax, 0xc
cmove ecx, eax
mov dword [esp + 0x58], edx
add ecx, dword [esp + 0x40]
mov ebx, dword [ecx + edi*4]
mov ecx, 0x102eeefe
test edi, edi
jne 0x101ea0e5
mov eax, ecx
sub eax, esi
movzx eax, word [eax]
jmp 0x101ea0e7
xor eax, eax
imul dword [esp + 0x17c]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
test edi, edi
jne 0x101ea10e
sub ecx, esi
movzx eax, word [ecx]
jmp 0x101ea110
xor eax, eax
imul dword [esp + 0x17c]
mov dword [esp + 0xb4], ebx
mov ecx, 2
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x20]
mov edi, eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0x14], edi
cmp eax, dword [esp + 0x5c]
jg 0x101ea447
lea ebx, [esp + 0xde]
lea ebx, [ebx + eax*8]
lea eax, [eax + eax*2]
mov dword [esp + 0x1c], ebx
add eax, 3
mov dword [esp + 0x30], eax
nop dword [eax]
movzx ecx, byte [edi + 0x102f20a4]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x88], ebp
lea eax, [ecx + ecx]
mov dword [esp + 0x80], ebp
movzx edx, word [eax + ebx]
movzx esi, word [ebx + ecx*2 + 0x20]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
movzx eax, word [eax + ebx]
mov ebx, eax
cwde
shr ebx, 0xf
mov dword [esp + 0x8c], ebx
test ebx, ebx
je 0x101ea1b3
neg eax
mov ebx, dword [esp + 0x178]
mov dword [esp + 0x10], 0
movzx ecx, word [ebx + ecx*2 + 0xc0]
mov ebx, 0x7ff
add ecx, eax
mov eax, ecx
mov dword [esp + 0x44], ecx
imul eax, esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
mov ecx, eax
add eax, 0x10000
shr eax, 0x11
shr ecx, 0x11
cmp eax, 0x7ff
cmova eax, ebx
cmp ecx, ebx
mov dword [esp + 0x70], eax
mov eax, ebp
cmova ecx, ebx
mov dword [esp + 0x3c], eax
movzx eax, byte [edi + 0x102eff01]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
lea eax, [ecx*2 + 0x102eef00]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov eax, edx
neg eax
mov dword [esp + 0x98], eax
mov eax, ecx
imul eax, edx
mov edx, dword [esp + 0x44]
sub edx, eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x40]
cmp ecx, 2
mov eax, 2
mov dword [esp + 0x24], 0
mov ebp, ecx
mov ebx, 0x7fffff
cmovg ebp, eax
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
or edi, 0xffffffff
add eax, ebp
mov dword [esp + 0x50], ebp
mov dword [esi], edi
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], eax
test ecx, ecx
js 0x101ea3fb
cmp ecx, dword [esp + 0x70]
jg 0x101ea3fb
mov ebp, dword [esp + 0x44]
mov eax, edx
imul eax, edx
mov edx, dword [esp + 0x74]
imul ebp, ebp
movzx edx, word [edx + 0x102f2360]
sub eax, ebp
mov ebp, dword [esp + 0x28]
imul eax, edx
mov edx, 0x100
imul edx
cmp ecx, 0x43
mov dword [esp + 0x48], eax
mov eax, 0x43
mov dword [esp + 0x4c], edx
mov edx, ecx
cmovg edx, eax
mov eax, dword [esp + 0x78]
add edx, edx
mov dword [esp + 0x84], edx
mov eax, dword [eax + 8]
movzx eax, word [eax + edx]
movzx edx, word [ebp]
mov ebp, dword [esp + 0x7c]
add eax, edx
imul dword [esp + 0x17c]
add eax, dword [ebp]
adc edx, dword [ebp + 4]
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
cmp edx, ebx
jg 0x101ea312
jl 0x101ea306
cmp eax, edi
jae 0x101ea312
mov edi, eax
mov dword [esp + 0x24], 0
mov ebx, edx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov ebp, dword [esp + 0x28]
mov eax, dword [eax + 0x18]
movzx eax, word [eax + edx]
movzx edx, word [ebp]
mov ebp, dword [esp + 0x88]
add eax, edx
imul dword [esp + 0x17c]
add eax, dword [ebp + 0x10]
adc edx, dword [ebp + 0x14]
add eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x50]
adc edx, dword [esp + 0x4c]
cmp edx, ebx
jg 0x101ea368
jl 0x101ea35b
cmp eax, edi
jae 0x101ea368
mov edi, eax
mov ebx, edx
mov eax, 1
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x8c]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov byte [edx - 1], al
mov eax, dword [esp + 0x24]
mov word [edx], cx
mov byte [edx - 2], al
test ecx, ecx
je 0x101ea3fb
cmp dword [esp + 0x30], 0x30
jge 0x101ea3bc
mov edx, dword [esp + 0x90]
lea eax, [edx*2]
add eax, ebp
add eax, edx
mov edx, dword [esp + 0x94]
imul eax, eax, 0xb
mov al, byte [eax + edx]
movzx eax, al
movzx eax, word [eax*2 + 0x102eed00]
jmp 0x101ea3be
xor eax, eax
imul dword [esp + 0x17c]
add eax, edi
adc edx, ebx
cmp edx, dword [esp + 0x58]
jg 0x101ea3fb
jl 0x101ea3d7
cmp eax, dword [esp + 0x54]
jae 0x101ea3fb
mov edi, dword [esp + 0x14]
mov ebp, edi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
jmp 0x101ea407
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
inc eax
add dword [esp + 0x1c], 4
inc ecx
add dword [esp + 0x2c], edx
add esi, 0x10
add dword [esp + 0x28], 2
mov dword [esp + 0x10], eax
cmp eax, 1
jle 0x101ea241
add dword [esp + 0x30], 3
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x5c]
jle 0x101ea160
mov ecx, 2
mov eax, dword [esp + 0x60]
xor ebx, ebx
test eax, eax
setne bl
xor esi, esi
test eax, eax
mov eax, dword [esp + 0x34]
cmove esi, ecx
lea ebx, [ebx*2 + 0x1e]
add eax, esi
push ebx
push 0
push eax
call fcn.1026e960
mov eax, dword [esp + 0x78]
push ebx
add eax, esi
push 0
push eax
call fcn.1026e960
add esp, 0x18
cmp ebp, 0xffffffff
jne 0x101ea48a
xor eax, eax
jmp 0x101ea4f9
mov ecx, dword [esp + 0x64]
xor esi, esi
mov edx, dword [esp + 0x68]
lea eax, [ecx + ebp*2]
mov byte [esp + eax*4 + 0xdc], dl
cmp ebp, dword [esp + 0x20]
jl 0x101ea4f2
movzx edi, byte [ebp + 0x102f20a4]
lea eax, [ecx + ebp*2]
lea edx, [esp + 0xdc]
cmp byte [edx + eax*4 + 1], 0
lea edx, [edx + eax*4]
movsx ecx, word [edx + 2]
mov eax, ecx
je 0x101ea4c7
neg eax
mov ebx, dword [esp + 0x6c]
or esi, ecx
mov ecx, dword [esp + 0x178]
mov word [ebx + ebp*2], ax
dec ebp
movsx ecx, word [ecx + edi*2]
cwde
imul ecx, eax
mov eax, dword [esp + 0x34]
mov word [eax + edi*2], cx
movsx ecx, byte [edx]
cmp ebp, dword [esp + 0x20]
jge 0x101ea4a4
xor eax, eax
test esi, esi
setne al
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1026a6d5
add esp, 0x150
ret