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

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], 0x4732d9c0
jmp 0x40a400
mov dword [ebp - 0x40], eax
nop
nop
nop
nop
mov eax, dword [ebp - 0x40]
cmp eax, 0xb2cfbe42
jg 0x40a430
cmp eax, 0x8ee45575
jne 0x40a400
mov al, byte [ebp - 9]
test al, al
mov eax, 0x79fd1ad8
jne 0x40a3f9
mov eax, 0x53762135
jmp 0x40a3f9
cmp eax, 0xc004416e
jg 0x40a480
cmp eax, 0xb2cfbe43
jne 0x40a400
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ebp - 0x1a]
mov esi, dword [ebp - 0x38]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], 0x373ee4ed
jmp 0x40a400
cmp eax, 0x7c3b4af8
jg 0x40a4d8
cmp eax, 0x79fd1ad7
jg 0x40a4f5
cmp eax, 0x76f6333f
jg 0x40a50c
cmp eax, 0x53762134
jg 0x40a52f
cmp eax, 0x4933c279
jg 0x40a552
cmp eax, 0x4732d9bf
jg 0x40a595
cmp eax, 0xc07a059c
jg 0x40a5b8
cmp eax, 0xc004416f
jne 0x40a400
mov dword [ebp - 0x40], 0x426f2309
jmp 0x40a400
cmp eax, 0x7c3b4af9
jne 0x40a400
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x40], 0x13d3bbd3
jmp 0x40a400
cmp eax, 0x79fd1ad8
jne 0x40a400
mov dword [ebp - 0x40], 0xc004416f
jmp 0x40a400
cmp eax, 0x76f63340
jne 0x40a400
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], 0x383587f2
jmp 0x40a400
cmp eax, 0x53762135
jne 0x40a400
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xf5a1b2a7
jmp 0x40a400
cmp eax, 0x4933c27a
jne 0x40a400
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ebp - 0x1a]
mov esi, dword [ebp - 0x38]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], 0xb2cfbe43
jmp 0x40a400
cmp eax, 0x4732d9c0
jne 0x40a400
mov eax, 0x17db1dcd
cmp dword [ebp - 0x10], 0
je 0x40a5b0
mov eax, 0xf5a1b2a7
mov dword [ebp - 0x40], eax
jmp 0x40a400
cmp eax, 0xc985f1a7
jg 0x40a5d6
cmp eax, 0xc07a059d
jne 0x40a400
mov dword [ebp - 0x40], 0x7c3b4af9
jmp 0x40a400
cmp eax, 0xde0de851
jg 0x40a5f4
cmp eax, 0xc985f1a8
jne 0x40a400
mov dword [ebp - 0x40], 0x383587f2
jmp 0x40a400
cmp eax, 0xebd393e5
jg 0x40a612
cmp eax, 0xde0de852
jne 0x40a400
mov dword [ebp - 0x40], 0x7c3b4af9
jmp 0x40a400
cmp eax, 0xf5a1b2a6
jg 0x40a640
cmp eax, 0xebd393e6
jne 0x40a400
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 9]
mov dword [ebp - 0x40], 0x8ee45575
jmp 0x40a400
cmp eax, 0xf9876c5e
jg 0x40a670
cmp eax, 0xf5a1b2a7
jne 0x40a400
mov ecx, dword [ebp - 0x30]
movzx edx, word [ebp - 0x1a]
mov eax, 0x1a42eeb6
cmp dword [ecx + 0x18], edx
jbe 0x40a668
mov eax, 0x20f42646
mov dword [ebp - 0x40], eax
jmp 0x40a400
cmp eax, 0x1100ee53
jg 0x40a69b
cmp eax, 0xf9876c5f
jne 0x40a400
mov al, byte [ebp - 0xa]
test al, al
mov eax, 0x79fd1ad8
jne 0x40a693
mov eax, 0x34e63ba6
mov dword [ebp - 0x40], eax
jmp 0x40a400
cmp eax, 0x13d3bbd2
jg 0x40a6b9
cmp eax, 0x1100ee54
jne 0x40a400
mov dword [ebp - 0x40], 0xc004416f
jmp 0x40a400
cmp eax, 0x17db1dcc
jg 0x40a6d0
cmp eax, 0x13d3bbd3
jne 0x40a400
jmp 0x40a816
cmp eax, 0x1a42eeb5
jg 0x40a704
cmp eax, 0x17db1dcd
jne 0x40a400
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x21f6f7e6
jne 0x40a6fc
mov eax, 0xc985f1a8
mov dword [ebp - 0x40], eax
jmp 0x40a400
cmp eax, 0x20f42645
jg 0x40a722
cmp eax, 0x1a42eeb6
jne 0x40a400
mov dword [ebp - 0x40], 0x423ffc7f
jmp 0x40a400
cmp eax, 0x21f6f7e5
jg 0x40a740
cmp eax, 0x20f42646
jne 0x40a400
mov dword [ebp - 0x40], 0xb2cfbe43
jmp 0x40a400
cmp eax, 0x2c7370b3
jg 0x40a75e
cmp eax, 0x21f6f7e6
jne 0x40a400
mov dword [ebp - 0x40], 0x423ffc7f
jmp 0x40a400
cmp eax, 0x34e63ba5
jg 0x40a77c
cmp eax, 0x2c7370b4
jne 0x40a400
mov dword [ebp - 0x40], 0xebd393e6
jmp 0x40a400
cmp eax, 0x373ee4ec
jg 0x40a79a
cmp eax, 0x34e63ba6
jne 0x40a400
mov dword [ebp - 0x40], 0xebd393e6
jmp 0x40a400
cmp eax, 0x383587f1
jg 0x40a7b8
cmp eax, 0x373ee4ed
jne 0x40a400
mov dword [ebp - 0x40], 0xde0de852
jmp 0x40a400
cmp eax, 0x383587f2
je 0x40a7d9
cmp eax, 0x423ffc7f
jne 0x40a7ff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0xde0de852
jmp 0x40a400
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x3c]
lea edx, [eax + ecx]
mov dword [ebp - 0x28], edx
cmp dword [eax + ecx], 0x4550
setne byte [ebp - 0xa]
mov dword [ebp - 0x40], 0xf9876c5f
jmp 0x40a400
cmp eax, 0x426f2309
jne 0x40a400
mov dword [ebp - 0x40], 0x423ffc7f
jmp 0x40a400
mov eax, dword [ebp - 8]
add esp, 0x3c
pop esi
pop ebp
ret