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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x15c
mov eax, dword [0x105436c4]
xor eax, esp
mov dword [esp + 0x158], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
imul eax, edx, 0x108
push ebx
lea ebx, [ecx + 0xd2c]
mov dword [esp + 0x54], edx
add ecx, 0x54cc
push esi
add ebx, eax
lea eax, [edx + edx*2]
shl eax, 6
add eax, ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x38], eax
xor ecx, ecx
lea eax, [esp + 0xbc]
test edx, edx
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x14]
sete cl
or edx, 0xffffffff
mov dword [esp + 0x14], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
movzx eax, word [eax + 2]
imul eax, eax
mov dword [esp + 0x64], edx
push edi
lea edi, [esp + 0xa0]
mov dword [esp + 0x30], edi
mov edi, dword [ebp + 0xc]
cdq
and edx, 3
lea esi, [edx + eax]
movzx edx, byte [ecx + 0x10389dd0]
sar esi, 2
lea ecx, [edi + edx*2]
add ecx, edx
mov edx, dword [esp + 0x18]
imul ecx, ecx, 0xb
dec edx
movzx ebx, byte [ecx + ebx]
mov ecx, 0xf
nop word [eax + eax]
mov edi, dword [esp + 0x2c]
movzx eax, byte [ecx + 0x1038dc20]
movsx eax, word [edi + eax*2]
mov edi, dword [ebp + 0xc]
imul eax, eax
cmp eax, esi
jg 0x10235fa2
dec ecx
cmp ecx, dword [esp + 0x18]
jge 0x10235f80
jmp 0x10235fa4
mov edx, ecx
cmp edx, 0xf
lea eax, [edx + 1]
mov esi, ebx
cmovge eax, edx
add esi, esi
mov dword [esp + 0x58], eax
xor ecx, ecx
movzx eax, word [esi + 0x10389de8]
imul dword [ebp + 0x18]
cmp dword [esp + 0x5c], ecx
mov dword [esp + 0x4c], eax
mov eax, 0xc
cmove ecx, eax
mov dword [esp + 0x50], edx
add ecx, dword [esp + 0x3c]
mov ebx, dword [ecx + edi*4]
mov ecx, 0x10389fe6
test edi, edi
jne 0x10235fee
mov eax, ecx
sub eax, esi
movzx eax, word [eax]
jmp 0x10235ff0
xor eax, eax
imul dword [ebp + 0x18]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
test edi, edi
jne 0x10236013
sub ecx, esi
movzx eax, word [ecx]
jmp 0x10236015
xor eax, eax
imul dword [ebp + 0x18]
mov dword [esp + 0xb8], ebx
mov ecx, 2
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0x14], ebx
cmp eax, dword [esp + 0x58]
jg 0x10236340
lea edx, [esp + 0xe2]
lea edx, [edx + eax*8]
lea eax, [eax + eax*2]
add eax, 3
mov dword [esp + 0x24], eax
nop word [eax + eax]
movzx ecx, byte [ebx + 0x1038dc20]
mov eax, dword [esp + 0x30]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
movzx edi, word [ebx + ecx*2 + 0x20]
mov dword [esp + 0x7c], eax
lea eax, [ecx + ecx]
movzx esi, word [eax + ebx]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
movzx eax, word [eax + ebx]
mov ebx, eax
cwde
shr ebx, 0xf
mov dword [esp + 0x90], ebx
test ebx, ebx
je 0x102360b2
neg eax
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0
movzx ebx, word [ebx + ecx*2 + 0xc0]
add ebx, eax
mov eax, 0x7ff
mov ecx, ebx
mov dword [esp + 0x74], ebx
imul ecx, edi
mov edx, ebx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x54], edi
shr ecx, 0x11
cmp ecx, 0x7ff
cmova ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], edi
lea eax, [ecx*2 + 0x1038a370]
mov dword [esp + 0x20], eax
mov eax, esi
neg eax
mov dword [esp + 0x38], eax
mov eax, ecx
imul eax, esi
sub edx, eax
mov dword [esp + 0x34], edx
nop dword [eax]
mov edx, dword [esp + 0x3c]
cmp ecx, 2
mov eax, 2
mov dword [esp + 0x40], 0x7fffff
mov esi, ecx
mov dword [esp + 0x1c], 0
cmovg esi, eax
mov dword [edi + 4], 0x7fffff
mov eax, dword [esp + 0x24]
or ebx, 0xffffffff
add eax, esi
mov dword [edi], ebx
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x24]
mov dword [edi + 8], eax
cmp ecx, 0x7ff
ja 0x102362ed
cmp edx, 0x30
jge 0x10236198
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + 0x10389dd1]
lea eax, [esi + edx*2]
add eax, edx
mov edx, dword [esp + 0x9c]
imul eax, eax, 0xb
mov al, byte [eax + edx]
movzx eax, al
movzx eax, word [eax*2 + 0x10389de8]
jmp 0x1023619a
xor eax, eax
imul dword [ebp + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x74]
imul edx, edx
imul eax, eax
sub eax, edx
mov edx, dword [esp + 0x78]
movzx esi, word [edx + 0x1038d9c0]
mov edx, 0x100
imul eax, esi
mov esi, dword [esp + 0x20]
imul edx
cmp ecx, 0x43
mov dword [esp + 0x44], eax
mov eax, 0x43
mov dword [esp + 0x48], edx
mov edx, ecx
cmovg edx, eax
mov eax, dword [esp + 0x7c]
add edx, edx
mov dword [esp + 0x88], edx
mov eax, dword [eax + 8]
movzx eax, word [eax + edx]
movzx edx, word [esi]
mov esi, dword [esp + 0x80]
add eax, edx
imul dword [ebp + 0x18]
add eax, dword [esi]
adc edx, dword [esi + 4]
add eax, dword [esp + 0x44]
adc edx, dword [esp + 0x48]
cmp edx, 0x7fffff
jg 0x10236236
jl 0x10236228
cmp eax, 0xffffffff
jae 0x10236236
mov ebx, eax
mov dword [esp + 0x1c], 0
mov esi, edx
jmp 0x1023623a
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x20]
mov eax, dword [eax + 0x18]
movzx eax, word [eax + edx]
movzx edx, word [edi]
mov edi, dword [esp + 0x8c]
add eax, edx
imul dword [ebp + 0x18]
add eax, dword [edi + 0x10]
adc edx, dword [edi + 0x14]
add eax, dword [esp + 0x44]
mov edi, dword [esp + 0x54]
adc edx, dword [esp + 0x48]
cmp edx, esi
jg 0x1023628a
jl 0x1023627e
cmp eax, ebx
jae 0x1023628a
mov ebx, eax
mov dword [esp + 0x1c], 1
mov esi, edx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x90]
mov dword [edi], ebx
mov dword [edi + 4], esi
mov byte [eax - 1], dl
mov edx, dword [esp + 0x1c]
mov word [eax], cx
mov byte [eax - 2], dl
test ecx, ecx
je 0x102362f1
mov edx, dword [esp + 0x94]
add edx, ebx
mov ebx, dword [esp + 0x98]
adc ebx, esi
cmp ebx, dword [esp + 0x50]
jg 0x102362f1
jl 0x102362cb
cmp edx, dword [esp + 0x4c]
jae 0x102362f1
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
jmp 0x102362f9
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add dword [esp + 0x20], 2
add eax, 4
inc edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
add edi, 0x10
add dword [esp + 0x34], eax
inc ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], edi
cmp edx, 1
jle 0x10236120
add dword [esp + 0x24], 3
inc ebx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x58]
jle 0x10236060
mov ecx, 2
mov eax, dword [esp + 0x5c]
xor ebx, ebx
test eax, eax
setne bl
xor esi, esi
test eax, eax
mov eax, dword [esp + 0x2c]
cmove esi, ecx
lea ebx, [ebx*2 + 0x1e]
add eax, esi
push ebx
push 0
push eax
call fcn.101dfee0
mov eax, dword [esp + 0x78]
push ebx
add eax, esi
push 0
push eax
call fcn.101dfee0
mov ebx, dword [esp + 0x78]
add esp, 0x18
cmp ebx, 0xffffffff
jne 0x1023639a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.101dd8e4
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
xor esi, esi
mov edx, dword [esp + 0x68]
lea eax, [ecx + ebx*2]
mov byte [esp + eax*4 + 0xe0], dl
cmp ebx, dword [esp + 0x18]
jl 0x10236406
movzx edi, byte [ebx + 0x1038dc20]
lea eax, [ecx + ebx*2]
lea edx, [esp + 0xe0]
mov dword [esp + 0x38], edi
cmp byte [edx + eax*4 + 1], 0
lea edx, [edx + eax*4]
movsx ecx, word [edx + 2]
mov eax, ecx
je 0x102363db
neg eax
mov edi, dword [esp + 0x6c]
or esi, ecx
mov ecx, dword [ebp + 0x14]
mov word [edi + ebx*2], ax
dec ebx
mov edi, dword [esp + 0x38]
cwde
movsx ecx, word [ecx + edi*2]
imul ecx, eax
mov eax, dword [esp + 0x2c]
mov word [eax + edi*2], cx
movsx ecx, byte [edx]
cmp ebx, dword [esp + 0x18]
jge 0x102363b4
mov ecx, dword [esp + 0x164]
xor eax, eax
test esi, esi
pop edi
pop esi
setne al
pop ebx
xor ecx, esp
call fcn.101dd8e4
mov esp, ebp
pop ebp
ret