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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0x9af
mov byte [esp + 0x77], 0xd9
mov dword [esp + 0x70], 0x3c2
mov edx, 0x3c2
mov dword [esp + 0x34], 0x7e8f
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x20], edx
call fcn.00403650
mov dword [esp + 0x48], eax
mov si, word [esp + 0x92]
mov eax, dword [eax + 0xc]
mov word [esp + 0x92], si
add eax, 0x14
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov word [esp + 0x1e], si
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
jmp 0x403599
mov byte [esp + 0x87], 0x93
cmp dword [esp + 0x68], 0
jne 0x4035a8
jmp 0x403387
jmp 0x4033f8
mov eax, 0x41c
movzx ecx, word [esp + 0x4e]
sub eax, dword [esp + 0x70]
cmp ecx, eax
jle 0x4033a0
jmp 0x4035b5
mov al, 0xfb
mov cl, byte [esp + 0x77]
mov dl, byte [esp + 0x77]
xor dl, 0xa3
sub al, cl
mov byte [esp + 0x47], al
cmp dl, byte [esp + 0x47]
jbe 0x403437
jmp 0x40357e
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov word [esp + 0x92], 0x6f2a
jmp 0x403599
movzx eax, word [esp + 0x4e]
add eax, 0x61
mov ecx, dword [esp + 0x70]
xor ecx, 0x383
sub eax, ecx
mov dx, ax
mov word [esp + 0x4e], dx
mov byte [esp + 0x87], 0xef
jmp 0x4035b5
mov eax, dword [esp + 0x24]
mov cx, word [esp + 0x1e]
and cx, 0xc47
mov word [esp + 0x92], cx
mov dword [esp + 0x50], eax
jmp 0x403586
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [esp + 0x38], eax
jmp 0x403610
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x21c7
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
xor edx, edx
mov esi, 0x73bb
sub esi, eax
sbb edx, ecx
sub esi, 0x21c8
sbb edx, 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
jb 0x4034dd
jmp 0x403334
mov eax, dword [esp + 0x70]
mov ecx, eax
add ecx, 0xfffffc3e
mov si, word [esp + 0x1e]
mov dx, si
not edx
mov di, dx
mov word [esp + 0x92], di
mov edx, 0x3c2
sub edx, eax
mov eax, 0x7968
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, ebx
mov esi, dword [esp + 8]
mov dword [esp + 4], edx
mul esi
mov esi, dword [esp + 0x18]
imul esi, esi, 0x7968
add edx, esi
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x38], ecx
jmp 0x403610
mov eax, 0x3c2
mov ecx, dword [esp + 0x68]
sub eax, dword [esp + 0x70]
cmp ecx, eax
je 0x403349
jmp 0x403594
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
shr ecx, 1
mov edx, dword [esp + 0x20]
add edx, edx
mov dword [esp + 0x80], edx
cmp eax, ecx
jae 0x4033f8
mov dword [esp + 0x80], 0x6e18
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov dx, word [eax + ecx*2]
mov word [esp + 0x4e], dx
mov bl, byte [esp + 0x87]
mov bh, byte [esp + 0x87]
movzx eax, word [esp + 0x4e]
sub bl, bh
mov byte [esp + 0x87], bl
cmp eax, 0x41
jge 0x40334e
jmp 0x4035b5
xor eax, eax
mov ecx, eax
add ecx, 8
sub eax, ecx
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x20]
imul edx, eax, 0x6892
mov dword [esp + 0x80], edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x24]
movzx ecx, word [ecx + 0x2c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x58], ecx
mov bl, byte [esp + 0x87]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x87], bl
mov ecx, dword [ecx + 0x18]
cmp ecx, dword [esp + 0x64]
je 0x4035f0
jmp 0x403437
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x50]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
jmp 0x4033e8
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x40]
jne 0x403523
jmp 0x403365
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
jmp 0x403586
mov eax, 0x3c2
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
movzx ecx, word [edx + ecx*2]
movzx edx, word [esp + 0x4e]
cmp ecx, edx
sete bl
and bl, 1
movzx ecx, bl
sub eax, dword [esp + 0x70]
mov dword [esp + 0x68], ecx
movzx ecx, word [esp + 0x4e]
cmp ecx, eax
je 0x403349
jmp 0x4034a3
mov al, byte [esp + 0x87]
xor al, 0xff
mov byte [esp + 0x87], al
cmp dword [esp + 0x64], 0
jne 0x4033c9
jmp 0x403437
mov eax, 0x53a1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x54], edx
mov si, word [esp + 0x1e]
xor si, 0x356b
mov edx, dword [esp + 0x6c]
mov word [esp + 0x92], si
mov dword [esp + 0x5c], edx
cmp eax, ecx
ja 0x40334e
jmp 0x4034bd