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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 8]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0x1b2e
mov dword [esp + 0x9c], 0x5f85
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov esi, ecx
xor esi, 0x1894
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], esi
mov edi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
xor edi, 0x27d3
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x84], 0x185a
mov edi, 0x185a
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xb4]
xor ebx, 0x3ca4
sub ebx, esi
sbb eax, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
jae 0x4029d2
jmp 0x40299f
mov eax, dword [esp + 0x98]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
jmp 0x402898
jmp 0x402806
mov eax, dword [esp + 0x74]
add eax, 2
mov dword [esp + 0x74], eax
jmp 0x40297c
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp + 0x4c], eax
jmp 0x402b3e
mov eax, dword [esp + 0x28]
xor eax, 0x398d
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x3c]
add eax, dword [esi + edx*4]
xor ecx, 0x5f85
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], ecx
jmp 0x402b3e
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
xor eax, 0x41da
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x5e8b
sub eax, 0x5e8c
sbb ecx, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jb 0x40294b
jmp 0x402b3e
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x9c]
add ecx, 0xffffa07b
cmp eax, ecx
jne 0x402ad7
jmp 0x4027f6
mov eax, 0x5f85
sub eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x6c]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x68]
movsx edx, byte [esi + edx]
cmp ecx, edx
sete bl
and bl, 1
movzx ecx, bl
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
movsx ecx, byte [ecx + edx]
cmp ecx, eax
je 0x4027ef
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
xor edx, 0x5f85
movsx eax, byte [eax + ecx]
cmp eax, edx
je 0x4027ef
jmp 0x40293b
mov eax, dword [esp + 0x9c]
add eax, 0xffffa07a
cmp dword [esp + 0x64], eax
je 0x40285a
jmp 0x402ae7
cmp dword [esp + 0x54], 0
je 0x4027ef
jmp 0x4027f4
mov dword [esp + 0x88], 0x1cfd
mov eax, dword [esp + 0x9c]
add eax, 0xfffffb09
cmp eax, dword [esp + 0x88]
je 0x402b3e
mov dword [esp + 0x98], 0
jmp 0x40299f
mov eax, 0x5f86
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x80]
sub eax, ecx
add edx, eax
mov dword [esp + 0x80], edx
jmp 0x402b25
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
xor edx, 0x7950
sub edx, eax
sbb esi, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
jb 0x4027f6
jmp 0x4027de
mov eax, dword [esp + 0x9c]
xor eax, 0x2285
mov ecx, dword [esp + 0x28]
cmp ecx, eax
ja 0x4027f6
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
call fcn.00402db0
mov ecx, dword [esp + 0x9c]
add ecx, 0xffffa07b
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x24]
add edx, 0x7be0
mov esi, dword [esp + 0x20]
adc esi, 0
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], edx
mov edx, esp
mov dword [edx], eax
mov dword [esp + 4], ecx
call fcn.00402b60
sub esp, 4
mov dword [esp + 0x58], eax
mov ecx, eax
add ecx, 0x18
mov di, word [esp + 0xaa]
add di, 0x5e93
mov word [esp + 0xaa], di
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x78]
mov ecx, dword [esp + 0x78]
add ecx, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x64]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x28]
not eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x5c]
mov edx, dword [edx + 0x20]
add ecx, edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x3bbe
mov edx, dword [esp + 0x5c]
add ecx, dword [edx + 0x24]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
jmp 0x402b25
mov eax, dword [esp + 0x74]
movzx eax, word [eax]
mov dword [esp + 0x64], eax
jmp 0x402920
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x78]
add ecx, eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
add ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x98], eax
jmp 0x40299f
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x80]
cmp ecx, dword [eax + 0x18]
jb 0x402816
jmp 0x402920
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x9c]
xor ecx, 0x5fa5
cmp eax, ecx
jb 0x4028b6
jmp 0x402898