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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, 0x6529
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0x4d75
mov word [esp + 0xd6], 0x12ec
mov byte [esp + 0xd5], 0x95
mov dword [esp + 0xd0], 0x556d
mov word [esp + 0x62], 0x1fbb
mov esi, dword [esp + 0xf8]
mov edi, esi
imul edi, edi
mov dword [esp + 0xf8], edi
mov bl, byte [esp + 0xd5]
mov bh, bl
xor bh, 0x7d
mov byte [esp + 0x53], bh
mov di, word [esp + 0xe6]
mov word [esp + 0xe6], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add eax, 0x2ae6
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
adc eax, 0
mov bh, byte [esp + 0x53]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
mov ax, word [esp + 0xd6]
add ax, 0x6549
mov word [esp + 0xaa], ax
mov dword [esp + 0xac], 0x583
sub dx, word [esp + 0xd6]
mov word [esp + 0xce], dx
cmp bh, 0xac
mov byte [esp + 0x2f], bl
mov dword [esp + 0x28], ecx
mov word [esp + 0x26], di
mov dword [esp + 0x20], esi
ja 0x4033d1
jmp 0x403205
mov dword [esp + 0x94], 0
jmp 0x40334e
mov eax, dword [esp + 0x80]
mov eax, dword [eax]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0x3c]
or edx, 0x6f31
mov esi, dword [esp + 0x38]
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
xor eax, 0x4bf3
mov bx, word [esp + 0xaa]
mov word [esp + 0x78], bx
sub eax, edx
sbb ecx, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jb 0x40345d
jmp 0x4030c5
mov eax, dword [esp + 0xd0]
mov cx, word [esp + 0xd6]
movzx edx, word [esp + 0x7a]
mov si, word [esp + 0x62]
add eax, 0xffffaaf4
add eax, edx
sub eax, 0x41
add cx, 0x3151
mov dword [esp + 0x5c], eax
cmp si, cx
jbe 0x403439
jmp 0x402fcc
mov eax, dword [esp + 0x3c]
and eax, 0x61cb
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xdc], 0xffffffff
mov dword [esp + 0xd8], 0xffffd4b0
add eax, 0xffffaa94
add eax, dword [esp + 0x74]
mov dword [esp + 0x74], eax
jmp 0x40324d
cmp dword [esp + 0xa0], 0
je 0x403121
mov eax, dword [esp + 0x98]
mov dword [esp + 0x94], eax
jmp 0x40334e
jmp 0x40336c
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xbc]
mov dx, word [ecx + eax*2]
mov eax, dword [esp + 0xd0]
movzx ecx, word [esp + 0x7a]
movzx esi, dx
add eax, 0xffffaa93
cmp esi, ecx
sete bl
and bl, 1
movzx ecx, bl
mov dword [esp + 0x64], ecx
movzx ecx, word [esp + 0x7a]
cmp ecx, eax
je 0x4032c3
jmp 0x40341c
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd0]
add ecx, 0xffffaa93
add eax, 0xffffaa93
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], ecx
jmp 0x40324d
xor eax, eax
mov ecx, eax
add ecx, 8
sub eax, ecx
mov ecx, dword [esp + 0x80]
add ecx, eax
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x98]
movzx eax, word [eax + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
cmp dword [ecx + 0x18], eax
je 0x4030bb
jmp 0x403121
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x94], eax
jmp 0x40334e
mov eax, dword [esp + 0x90]
cmp eax, dword [esp + 0x8c]
jne 0x403147
jmp 0x402fbc
mov dword [esp + 0xa4], 0x3390
mov eax, dword [esp + 0xa4]
mov cl, byte [esp + 0x2f]
or cl, 0x7b
mov edx, dword [esp + 0xd0]
mov byte [esp + 0xf7], cl
xor edx, 0x213e
mov esi, dword [esp + 0x80]
mov dword [esp + 0x90], esi
cmp edx, eax
jne 0x4031ac
jmp 0x4030dd
mov eax, 0x55ae
mov cl, byte [esp + 0x2f]
xor cl, 0xff
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0xd0]
mov byte [esp + 0xf7], cl
sub eax, esi
mov di, word [edx]
mov word [esp + 0x7a], di
mov cl, byte [esp + 0x2f]
and cl, 0x66
mov byte [esp + 0xf7], cl
movzx edx, word [esp + 0x7a]
cmp edx, eax
jge 0x403476
jmp 0x4030dd
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
add eax, 0x2d98
adc ecx, 0
mov dword [esp + 0xc0], 0x155a
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0x20]
or eax, 0x3ed5
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x9c], edx
sub eax, 0x202d
sbb ecx, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jb 0x40344a
jmp 0x403489
jmp 0x40332f
mov ax, word [esp + 0xce]
mov ecx, dword [esp + 0x44]
mov dx, word [esp + 0xd6]
xor dx, 0x6824
mov esi, dword [esp + 0x74]
shl esi, 1
add ecx, esi
mov dword [esp + 0x58], ecx
cmp ax, dx
jne 0x403205
jmp 0x4030bb
mov eax, dword [esp + 0x20]
sub eax, eax
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xd0]
add eax, 0xffffaa95
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, edx
xor edx, edx
mov esi, dword [esp + 0xc]
div esi
cmp ecx, eax
jb 0x4032c5
mov eax, 0x556d
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0x64]
sub eax, ecx
cmp edx, eax
jne 0x403196
jmp 0x402fcc
mov eax, dword [esp + 0x20]
and eax, eax
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x94]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esp + 0xac]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
add eax, 0xffffc2fd
adc ecx, 0xffffffff
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0x25f6
xor edx, edx
mov esi, 0x25f5
sub esi, eax
sbb edx, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
jb 0x403205
jmp 0x4033bb
cmp dword [esp + 0x88], 0x385c
jae 0x403205
jmp 0x403071
mov eax, dword [esp + 0x40]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xbc], ecx
call fcn.004034d0
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov dword [esp + 0x80], eax
jmp 0x4031c1
mov eax, 0x556d
mov ecx, dword [esp + 0x64]
sub eax, dword [esp + 0xd0]
cmp ecx, eax
je 0x4032c3
jmp 0x4030d8
mov eax, dword [esp + 0x5c]
mov cx, ax
mov word [esp + 0x7a], cx
jmp 0x4030dd
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x80], eax
jmp 0x4031c1
mov ax, 0x8527
sub ax, word [esp + 0xd6]
cmp ax, word [esp + 0x78]
jae 0x4032c3
jmp 0x40344a
movzx eax, word [esp + 0x7a]
cmp eax, 0x5a
jle 0x403037
jmp 0x4030dd
mov eax, 0x5538
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xd8], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xdc], edx
mov esi, dword [esp + 0x74]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x84], esi
cmp eax, dword [esp + 0x9c]
jne 0x4032f9
jmp 0x4032f9