Function at 0x40c270
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4c], 0x7be7fce4
jmp 0x40c290
mov dword [ebp - 0x4c], eax
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0xaa28c3fb
jg 0x40c2c0
cmp eax, 0x8c32fa8d
jne 0x40c290
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xf7681020
jne 0x40c28b
mov eax, 0xf4cb581f
jmp 0x40c28b
cmp eax, 0xb5974755
jg 0x40c2f0
cmp eax, 0xaa28c3fc
jne 0x40c290
mov al, byte [ebp - 0x12]
test al, al
mov eax, 0x1bfcdf5b
jne 0x40c2df
mov eax, 0x3a26e8b1
mov dword [ebp - 0x4c], eax
jmp 0x40c290
cmp eax, 0x7be7fce3
jg 0x40c394
cmp eax, 0x7635eb73
jg 0x40c3ab
cmp eax, 0x687a1855
jg 0x40c3c2
cmp eax, 0x6030ddfb
jg 0x40c3e2
cmp eax, 0x49e5a145
jg 0x40c3f9
cmp eax, 0x3a26e8b0
jg 0x40c410
cmp eax, 0x3089daa5
jg 0x40c473
cmp eax, 0xb867f833
jg 0x40c497
cmp eax, 0xb5974756
jne 0x40c290
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.00402b90
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], 0xb95dce5f
jmp 0x40c290
cmp eax, 0x7be7fce4
jne 0x40c290
mov dword [ebp - 0x4c], 0xf5a38bc9
jmp 0x40c290
cmp eax, 0x7635eb74
jne 0x40c290
mov dword [ebp - 0x4c], 0x687a1856
jmp 0x40c290
cmp eax, 0x687a1856
jne 0x40c290
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [ebp - 0x4c], 0x49e5a146
jmp 0x40c290
cmp eax, 0x6030ddfc
jne 0x40c290
mov dword [ebp - 0x4c], 0x687a1856
jmp 0x40c290
cmp eax, 0x49e5a146
jne 0x40c290
mov dword [ebp - 0x4c], 0xc55184e4
jmp 0x40c290
cmp eax, 0x3a26e8b1
jne 0x40c290
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [ebp - 0x4c], 0x201a066f
jmp 0x40c290
cmp eax, 0x3089daa6
jne 0x40c290
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0xcdffdce7
jne 0x40c48f
mov eax, 0xb867f834
mov dword [ebp - 0x4c], eax
jmp 0x40c290
cmp eax, 0x201a066e
jg 0x40c50d
cmp eax, 0x1e697567
jg 0x40c536
cmp eax, 0x1bfcdf5a
jg 0x40c54d
cmp eax, 0x11e005e1
jg 0x40c583
cmp eax, 0xd28cdfa
jg 0x40c5bf
cmp eax, 0xaacffe7
jg 0x40c6fe
cmp eax, 0x3d50afa
jg 0x40c718
cmp eax, 0xf768101f
jg 0x40c728
cmp eax, 0xb95dce5e
jg 0x40c73f
cmp eax, 0xb867f834
jne 0x40c290
mov dword [ebp - 0x4c], 0xec2868e6
jmp 0x40c290
cmp eax, 0x201a066f
jne 0x40c290
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
mov eax, 0x1e697568
cmp ecx, dword [edx]
jb 0x40c52e
mov eax, 0x7635eb74
mov dword [ebp - 0x4c], eax
jmp 0x40c290
cmp eax, 0x1e697568
jne 0x40c290
mov dword [ebp - 0x4c], 0xb95dce5f
jmp 0x40c290
cmp eax, 0x1bfcdf5b
jne 0x40c290
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x6030ddfc
jne 0x40c57b
mov eax, 0x11e005e2
mov dword [ebp - 0x4c], eax
jmp 0x40c290
cmp eax, 0x11e005e2
jne 0x40c290
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, 0xf7681020
cmp dword [ecx], 0x4550
jne 0x40c5b7
mov eax, 0x8c32fa8d
mov dword [ebp - 0x4c], eax
jmp 0x40c290
cmp eax, 0xd28cdfb
jne 0x40c290
mov eax, 4
call fcn.00417500
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x5c], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x50], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x70], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x54], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x58], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x60], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x6c], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x64], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x68], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x74], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x7c], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x78], esp
mov eax, 4
call fcn.00417500
mov edx, esp
mov eax, 4
call fcn.00417500
mov eax, 4
call fcn.00417500
mov eax, dword [ebp - 0x5c]
mov dword [eax], esi
mov eax, dword [eax]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
mov dword [eax], ebx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], edi
mov eax, dword [ebp - 0x54]
mov dword [eax], 0
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
mov eax, dword [ebp - 0x64]
mov dword [eax], 0
mov eax, dword [ebp - 0x68]
mov dword [eax], 0
mov eax, dword [ebp - 0x74]
mov dword [eax], 0
mov eax, dword [ebp - 0x78]
mov dword [eax], 0
mov dword [edx], 0
mov dword [ebp - 0x4c], 0xf5a38bc9
jmp 0x40c290
cmp eax, 0xaacffe8
jne 0x40c290
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0xc55184e4
jmp 0x40c290
cmp eax, 0x3d50afb
jne 0x40c290
jmp 0x40c99a
cmp eax, 0xf7681020
jne 0x40c290
mov dword [ebp - 0x4c], 0x687a1856
jmp 0x40c290
cmp eax, 0xc55184e3
jg 0x40c79a
cmp eax, 0xb95dce5f
jne 0x40c290
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.00402b90
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx]
sete byte [ebp - 0x11]
mov dword [ebp - 0x4c], 0x3089daa6
jmp 0x40c290
cmp eax, 0xcdffdce6
jg 0x40c7c0
cmp eax, 0xc55184e4
jne 0x40c290
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], 0x3d50afb
jmp 0x40c290
cmp eax, 0xec2868e5
jg 0x40c7fe
cmp eax, 0xcdffdce7
jne 0x40c290
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 0x49e5a146
jmp 0x40c290
cmp eax, 0xec2868e6
je 0x40c82a
cmp eax, 0xf4cb581f
jne 0x40c84c
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 0x3a26e8b1
jmp 0x40c290
mov eax, dword [ebp - 0x18]
mov ecx, 0x559d15da
sub ecx, dword [eax]
mov eax, 0x559d15db
sub eax, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 0x201a066f
jmp 0x40c290
cmp eax, 0xf5a38bc9
jne 0x40c290
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x48], esp
mov eax, 4
call fcn.00417500
mov edx, esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x44], esp
mov eax, 4
call fcn.00417500
mov ecx, esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x3c], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x50], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x38], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00417500
mov dword [ebp - 0x18], esp
mov dword [edx], esi
mov eax, dword [ebp - 0x44]
mov dword [eax], edi
mov dword [ecx], ebx
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
mov eax, dword [edx]
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
sete byte [ebp - 0x12]
mov dword [ebp - 0x4c], 0xaa28c3fc
jmp 0x40c290
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret