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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x14c], 0
mov dword [esp + 0x148], 0xaa0
mov word [esp + 0x13a], 0x25c3
mov edi, dword [esp + 0x13c]
mov ebx, edi
or ebx, 0x1bb2
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x139], 0xca
mov byte [esp + 0x138], 1
movzx ebx, word [esp + 0x152]
mov dword [esp + 0x94], esi
mov si, bx
imul ebx, ebx, 0x26f0
mov word [esp + 0x152], bx
mov dword [esp + 0x134], 0x7230
mov bx, word [esp + 0x13a]
mov dword [esp + 0x90], eax
mov al, byte [esp + 0x151]
mov ah, al
add ah, 0xb3
mov byte [esp + 0x151], ah
mov word [esp + 0x8e], si
mov si, 0x91d6
sub si, bx
mov word [esp + 0x12a], si
mov esi, dword [esp + 0x148]
mov ebx, dword [esp + 0x14c]
mov dword [esp + 0x88], ecx
mov ecx, esi
add ecx, 0xf6c
mov dword [esp + 0x84], ecx
mov ecx, ebx
adc ecx, 0
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xe8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xec], ecx
mov ah, byte [esp + 0x139]
add ah, 0x6a
mov byte [esp + 0xb7], ah
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x1f2e
mov ecx, dword [esp + 0x148]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x14c]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x7c]
add ecx, 0x44a3
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x78]
adc ecx, 0
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x74]
sub ecx, 0x1f2f
setb ah
mov dword [esp + 0x6c], ecx
xor ecx, ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x70]
test ecx, ecx
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x67], al
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
mov byte [esp + 0x53], cl
mov byte [esp + 0x52], ah
je 0x40308e
mov al, byte [esp + 0x53]
mov byte [esp + 0x52], al
mov al, byte [esp + 0x52]
test al, al
jne 0x403349
jmp 0x40309c
lea eax, [0x4011ef]
mov ecx, 0x32
lea edx, [esp + 0xf8]
mov esi, dword [esp + 0x134]
xor esi, 0x7230
mov dword [esp + 0xd8], esi
xor esi, esi
mov edi, 0x2395
mov ebx, dword [esp + 0x54]
sub edi, ebx
mov ebx, dword [esp + 0x60]
sbb esi, ebx
mov ebx, dword [esp + 0x134]
add ebx, 0xffff8dd0
mov dword [esp + 0x144], esi
mov dword [esp + 0x140], edi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x130], esi
mov edi, dword [esp + 0x88]
mov dword [esp + 0xa0], edi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xe4], esi
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x67]
xor al, 0xc7
mov byte [esp + 0x151], al
mov eax, dword [esp + 0x94]
mov dword [esp + 0xf4], eax
mov dword [esp], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x32
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebx
call fcn.00403db0
mov eax, dword [0x40100c]
call eax
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [0x401010]
call eax
sub esp, 4
mov ecx, dword [esp + 0x44]
cmp eax, ecx
je 0x403178
call entry0
mov eax, esp
mov dword [eax], 0x401221
call fcn.00404115
mov cl, byte [esp + 0x67]
mov byte [esp + 0x151], cl
mov edx, dword [0x401008]
mov dword [esp + 0x40], eax
call edx
mov edx, dword [esp + 0x148]
mov esi, dword [esp + 0x14c]
xor edi, edi
mov ebx, 0x3d70
sub ebx, edx
sbb edi, esi
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
call fcn.004033e0
mov ecx, dword [esp + 0x134]
xor ecx, 0x7233
mov edx, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edi, esp
lea ebx, [esp + 0xe0]
mov dword [edi + 0x10], ebx
mov dword [edi + 0xc], ecx
lea ecx, [esp + 0xa5]
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], 0xffffffff
mov eax, dword [0x401014]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edx
call eax
sub esp, 0x14
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
xor ecx, edx
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
xor edx, esi
or edx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
je 0x403173
jmp 0x403242
mov eax, dword [esp + 0x134]
add eax, 0xffff8dd0
mov ecx, dword [0x401008]
mov dword [esp + 0x20], eax
call ecx
lea ecx, [0x40122a]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x12c], edx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xf8]
mov ecx, dword [esp + 0xb8]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
lea ecx, [esp + 0x9c]
call fcn.00403480
sub esp, 8
mov si, word [esp + 0x13a]
add si, 0x2704
cmp eax, 0
setne bl
and bl, 1
mov byte [esp + 0x9b], bl
mov bl, byte [esp + 0x67]
add bl, bl
mov byte [esp + 0x151], bl
cmp word [esp + 0x12a], si
jbe 0x403242
mov eax, dword [esp + 0x58]
imul ecx, eax, 0x306c
mov dl, byte [esp + 0x138]
xor dl, byte [esp + 0x9b]
mov dword [esp + 0x13c], ecx
test dl, 1
jne 0x4032fb
jmp 0x403394
mov eax, 0x7231
mov cx, word [esp + 0x8e]
xor cx, cx
sub eax, dword [esp + 0x134]
add eax, dword [esp + 0x12c]
mov word [esp + 0x152], cx
mov dword [esp + 0x12c], eax
mov cx, word [esp + 0x8e]
xor cx, 0xffff
mov word [esp + 0x152], cx
cmp dword [esp + 0x12c], 0x186a0
jle 0x40334b
jmp 0x403394
mov eax, dword [esp + 0x12c]
mov dword [esp + 0xdc], eax
cmp byte [esp + 0xb7], 0x96
jae 0x403178
lea eax, [0x401232]
lea ecx, [esp + 0xbc]
mov edx, dword [esp + 0xdc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00404221
mov dword [esp + 0x18], eax
jmp 0x403276
mov eax, dword [esp + 0x134]
mov word [esp + 0x152], 0x5ceb
add eax, 0xffff8dd0
mov ecx, esp
mov dword [ecx], 0xbc54fdf4
mov dword [esp + 0x14], eax
call fcn.0041c030
mov eax, dword [esp + 0x58]
xor eax, 0xbfb
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10