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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4279e8
push 0x40fe70
mov eax, dword fs:[0]
push eax
add esp, 0xffffff64
push ebx
push esi
push edi
mov eax, dword [0x429a8c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x402d24
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x54]
jmp 0x403211
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00402bb0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x402d53
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x58]
jmp 0x403211
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00402bb0
add esp, 8
add eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00402bb0
add esp, 8
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00402bb0
add esp, 8
add eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0xc], 0
je 0x402ee9
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x402ee9
xor eax, eax
mov word [ebp - 0x3c], ax
jmp 0x402dd1
mov cx, word [ebp - 0x3c]
add cx, 1
mov word [ebp - 0x3c], cx
movzx edx, word [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
cmp edx, dword [eax + 0x14]
jae 0x402ece
movzx ecx, word [ebp - 0x3c]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx]
cmp edx, dword [eax + ecx*4]
jne 0x402ec9
cmp dword [ebp + 0x10], 0
je 0x402e0c
movzx eax, word [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x10]
mov edx, dword [ebp + 0x10]
mov word [edx], ax
cmp dword [ebp + 0x14], 0
je 0x402eb3
xor eax, eax
mov word [ebp - 0x40], ax
jmp 0x402e2a
mov cx, word [ebp - 0x40]
add cx, 1
mov word [ebp - 0x40], cx
movzx edx, word [ebp - 0x40]
mov eax, dword [ebp - 0x20]
cmp edx, dword [eax + 0x18]
jae 0x402eb3
movzx ecx, word [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + ecx*2]
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
jne 0x402eae
movzx edx, word [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.00402bb0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x402eae
mov eax, dword [ebp - 0x28]
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x5c]
mov dl, byte [ecx]
mov byte [ebp - 0x65], dl
mov eax, dword [ebp - 0x60]
mov cl, byte [ebp - 0x65]
mov byte [eax], cl
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
cmp byte [ebp - 0x65], 0
jne 0x402e84
jmp 0x402eb3
jmp 0x402e1e
mov dword [ebp - 0x6c], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x6c]
jmp 0x403211
jmp 0x402dc5
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x70]
jmp 0x403211
cmp dword [ebp + 0x14], 0
je 0x402efd
mov ecx, dword [ebp + 0x14]
movsx edx, byte [ecx]
test edx, edx
jne 0x403059
cmp dword [ebp + 0x10], 0
je 0x402f0d
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
test ecx, ecx
jne 0x402f23
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x74]
jmp 0x403211
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx + 0x10]
jb 0x402f4b
mov edx, dword [ebp + 0x10]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x10]
lea edx, [edx + ecx - 1]
cmp eax, edx
jbe 0x402f61
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x78]
jmp 0x403211
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x20]
sub ecx, dword [edx + 0x10]
mov word [ebp - 0x44], cx
cmp dword [ebp + 0xc], 0
je 0x402f86
movzx eax, word [ebp - 0x44]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + eax*4]
mov dword [ecx], eax
cmp dword [ebp + 0x14], 0
je 0x403038
mov dword [ebp - 0x48], 0
jmp 0x402fa2
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx + 0x18]
jae 0x403038
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx + ecx*2]
movzx ecx, word [ebp - 0x44]
cmp eax, ecx
jne 0x403033
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.00402bb0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x403033
mov eax, dword [ebp - 0x28]
add eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ecx]
mov byte [ebp - 0x85], dl
mov eax, dword [ebp - 0x80]
mov cl, byte [ebp - 0x85]
mov byte [eax], cl
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x80]
add eax, 1
mov dword [ebp - 0x80], eax
cmp byte [ebp - 0x85], 0
jne 0x403000
jmp 0x403038
jmp 0x402f99
mov dword [ebp - 0x8c], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x8c]
jmp 0x403211
mov dword [ebp - 0x4c], 0
jmp 0x40306b
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [edx + 0x14]
jae 0x4031c4
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
cmp dword [edx + ecx*4], 0
jne 0x403088
jmp 0x403062
mov dword [ebp - 0x50], 0
jmp 0x40309a
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x50]
cmp edx, dword [ecx + 0x18]
jae 0x4031bf
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx + eax*2]
cmp edx, dword [ebp - 0x4c]
jne 0x4031ba
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*4]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00402bb0
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4031ba
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dl, byte [ecx]
mov byte [ebp - 0x95], dl
mov eax, dword [ebp - 0x90]
cmp dl, byte [eax]
jne 0x403158
cmp byte [ebp - 0x95], 0
je 0x40314c
mov ecx, dword [ebp - 0x94]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x96], dl
mov eax, dword [ebp - 0x90]
cmp dl, byte [eax + 1]
jne 0x403158
add dword [ebp - 0x94], 2
add dword [ebp - 0x90], 2
cmp byte [ebp - 0x96], 0
jne 0x4030fa
mov dword [ebp - 0x9c], 0
jmp 0x403163
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0
jne 0x4031ba
cmp dword [ebp + 0x10], 0
je 0x40318d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x4c]
add ecx, dword [eax + 0x10]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
cmp dword [ebp + 0xc], 0
je 0x4031a1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + ecx*4]
mov dword [eax], ecx
mov dword [ebp - 0xa4], 1
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xa4]
jmp 0x403211
jmp 0x403091
jmp 0x403062
mov dword [ebp - 0xa8], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0xa8]
jmp 0x403211
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret