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

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe8]
push edi
push esi
push dword [esp + 0xec]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x58]
push 1
call fcn.10327eb0
mov ebp, dword [esp + 0xf0]
lea ecx, [esp + 0x50]
mov dword [esp + 0xc4], ebp
call fcn.1032e130
lea ecx, [esp + 0x50]
mov dword [esp + 0xd0], 8
call fcn.1032e130
cmp dword [esp + 0xc8], 1
lea edi, [esp + 0x50]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esi + 0x58]
sete byte [esp + 0x5c]
cmp byte [esp + 0xde], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xc4]
setne byte [esp + 0x5d]
mov dword [esp + 0x60], eax
xor ebx, ebx
mov eax, dword [esi + 0x30]
and eax, 0xfffffffe
mov dword [esp + 0x54], edi
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x28], ebx
jbe 0x1032ec53
nop
lea eax, [ebx + ebx*4]
shl eax, 2
mov dword [esp + 0x24], eax
add eax, ecx
mov dword [esp + 0x2c], eax
test dword [eax + 4], ebp
jne 0x1032e90b
inc ebx
jmp 0x1032ec49
mov dword [esp + 0x74], 1
mov edx, ebx
mov dword [esp + 0x50], edx
mov eax, dword [edi + 0x60]
mov ebp, dword [eax + 0x4c]
mov dword [esp + 0x78], ebp
mov esi, dword [edi + 0x60]
mov eax, dword [esi + 0x48]
cmp ebx, eax
jne 0x1032e939
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov al, byte [eax + ecx*4 + 0xf]
jmp 0x1032e93b
xor al, al
mov byte [esp + 0x64], al
lea eax, [ebx + 1]
mov dword [esp + 0x1c], eax
cmp eax, ebp
jae 0x1032ec3c
nop
push dword [esp + 0x58]
inc edx
mov ecx, edi
mov dword [esp + 0x54], edx
mov eax, dword [edi + 0x60]
lea edx, [edx + edx*4]
mov eax, dword [eax + 0x58]
lea esi, [eax + edx*4]
push esi
call fcn.1032bcd0
test al, al
je 0x1032ea02
movzx edx, word [esi + 0x10]
mov al, dl
mov ecx, edx
and al, 0x60
cmp al, 0x20
jne 0x1032e9bf
mov al, byte [esi + 0xc]
shr al, 5
test al, 1
jne 0x1032e9bf
and ecx, 0x1f
cmp byte [esp + 0x5c], 0
jne 0x1032e9a4
cmp ecx, 1
jne 0x1032e9a4
test edx, 0x200
jne 0x1032e9bf
cmp byte [esp + 0x5d], 0
jne 0x1032e9b8
cmp ecx, 1
jne 0x1032e9b8
test edx, 0x100
jne 0x1032e9bf
mov edi, 2
jmp 0x1032e9c1
xor edi, edi
mov eax, dword [esp + 0x60]
test dword [esi + 4], eax
je 0x1032e9fa
mov al, byte [esp + 0x64]
test al, al
je 0x1032e9d7
cmp al, byte [esi + 0xf]
jne 0x1032e9fa
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1032ea1f
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esi]
call eax
xor ecx, ecx
add esp, 0xc
test al, al
setne cl
cmp ecx, 1
je 0x1032ea23
test edi, edi
je 0x1032ec34
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x50]
add eax, edx
cmp eax, dword [esp + 0x78]
jae 0x1032ec34
mov edi, dword [esp + 0x54]
jmp 0x1032e950
test edi, edi
jne 0x1032ea02
dec dword [esp + 0x74]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1032ea36
add eax, 2
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x50]
mov ebp, dword [esp + 0x18]
mov ecx, dword [eax]
lea edi, [esi + esi*4]
shl edi, 2
mov dword [esp + 0x3c], edi
movzx eax, byte [ecx + 0xa]
lea edx, [ecx + 0xe]
mov dword [esp + 0x20], eax
mov ebp, dword [edi + ebp]
movzx eax, byte [ecx + 9]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
movzx edx, byte [ecx + 8]
shl edx, 8
add edx, eax
mov dword [esp + 0x30], ebp
lea ebp, [ecx + 0xe]
lea eax, [edi*2]
add eax, ebp
add eax, edx
mov dword [esp + 0x34], eax
add eax, edx
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xc]
movzx ecx, byte [ecx + 0xb]
mov dword [esp + 0x38], ecx
imul ecx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
cmp eax, edx
jb 0x1032eab5
mov eax, 0x103b96e0
jmp 0x1032eac0
lea ecx, [edi*2]
add ecx, ebp
add eax, ecx
mov ebp, dword [esp + 0x30]
movzx eax, byte [eax]
cmp ebp, edx
jb 0x1032ead2
mov ecx, 0x103b96e0
jmp 0x1032ead8
mov ecx, dword [esp + 0x34]
add ecx, ebp
mov edi, dword [esp + 0x3c]
cmp eax, dword [esp + 0x38]
jae 0x1032ec2c
movzx ecx, byte [ecx]
mov edx, dword [esp + 0x40]
cmp ecx, edx
jae 0x1032ec2c
imul eax, edx
add eax, ecx
cmp eax, dword [esp + 0x44]
jb 0x1032eb07
mov eax, 0x103b96e0
jmp 0x1032eb0b
add eax, dword [esp + 0x48]
movzx eax, byte [eax]
cmp eax, dword [esp + 0x20]
jb 0x1032eb1b
mov edx, 0x103b96e0
jmp 0x1032eb22
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + eax*2]
movzx ecx, byte [edx]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + 1]
add cx, ax
movzx eax, cx
movsx ecx, cx
je 0x1032ec2c
cmp dword [esp + 0x4c], 4
jne 0x1032ebad
cmp byte [esp + 0xf4], 0
je 0x1032eb71
cwde
cdq
push edx
push eax
mov eax, dword [esp + 0xf0]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.1037e020
mov ecx, eax
shrd ecx, edx, 0x10
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0
je 0x1032eb93
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xec]
mov dword [edi + eax + 0xc], ecx
or dword [edx + 0x20], 8
jmp 0x1032ec13
mov ebp, dword [esp + 0x10]
mov eax, ecx
mov edx, dword [esp + 0x24]
sar eax, 1
sub ecx, eax
add dword [edx + ebp], eax
add dword [edi + ebp], ecx
add dword [edi + ebp + 8], ecx
jmp 0x1032ec0c
cmp byte [esp + 0xf4], 0
je 0x1032ebd3
cwde
cdq
push edx
push eax
mov eax, dword [esp + 0xf0]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.1037e020
mov ecx, eax
shrd ecx, edx, 0x10
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0
je 0x1032ebf2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xec]
mov dword [edi + eax + 8], ecx
or dword [edx + 0x20], 8
jmp 0x1032ec13
mov ebp, dword [esp + 0x10]
mov eax, ecx
mov edx, dword [esp + 0x24]
sar eax, 1
sub ecx, eax
add dword [edx + ebp + 4], eax
add dword [edi + ebp + 4], ecx
add dword [edi + ebp + 0xc], ecx
mov edx, dword [esp + 0xec]
lea ecx, [esi + 1]
mov eax, ecx
sub eax, ebx
cmp eax, 2
jb 0x1032ec28
push ecx
push ebx
mov ecx, edx
call fcn.102e7e10
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov ebx, esi
jmp 0x1032ec3e
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0xf0]
mov ecx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x28]
jb 0x1032e8f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret 0x10