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

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov word [ebp - 0x16], cx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x3c], 0xcf015675
jmp 0x40a250
mov dword [ebp - 0x3c], 0xc629f8e9
mov eax, dword [ebp - 0x3c]
cmp eax, 0xc629f8e8
jg 0x40a270
cmp eax, 0x84ffb48c
jne 0x40a250
jmp 0x40a249
cmp eax, 0xcd364c19
jg 0x40a290
cmp eax, 0xc629f8e9
jne 0x40a250
mov dword [ebp - 0x3c], 0xec31e58c
jmp 0x40a250
cmp eax, 0x6f877a5f
jg 0x40a2eb
cmp eax, 0x688ed43b
jg 0x40a302
cmp eax, 0x5ce03227
jg 0x40a319
cmp eax, 0xcf015674
jg 0x40a329
cmp eax, 0xcd364c1a
jne 0x40a250
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x38]
movzx edx, word [ebp - 0x16]
mov esi, dword [ebp - 0x34]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], 0xd4242fd
jmp 0x40a250
cmp eax, 0x6f877a60
jne 0x40a250
mov dword [ebp - 0x3c], 0x1b45f74e
jmp 0x40a250
cmp eax, 0x688ed43c
jne 0x40a250
mov dword [ebp - 0x3c], 0xc629f8e9
jmp 0x40a250
cmp eax, 0x5ce03228
jne 0x40a250
jmp 0x40a640
cmp eax, 0x5516d6b7
jg 0x40a368
cmp eax, 0x53776461
jg 0x40a37f
cmp eax, 0x47144ea1
jg 0x40a396
cmp eax, 0xd07eb91b
jg 0x40a3ad
cmp eax, 0xcf015675
jne 0x40a250
mov eax, 0x10aba080
cmp dword [ebp - 0xc], 0
je 0x40a360
mov eax, 0x379bfb1e
mov dword [ebp - 0x3c], eax
jmp 0x40a250
cmp eax, 0x5516d6b8
jne 0x40a250
mov dword [ebp - 0x3c], 0x366a1120
jmp 0x40a250
cmp eax, 0x53776462
jne 0x40a250
mov dword [ebp - 0x3c], 0xe9a698c5
jmp 0x40a250
cmp eax, 0x47144ea2
jne 0x40a250
mov dword [ebp - 0x3c], 0xe9a698c5
jmp 0x40a250
cmp eax, 0xd1b9189d
jg 0x40a3cb
cmp eax, 0xd07eb91c
jne 0x40a250
mov dword [ebp - 0x3c], 0x1e7dd308
jmp 0x40a250
cmp eax, 0xe9a698c4
jg 0x40a3e9
cmp eax, 0xd1b9189e
jne 0x40a250
mov dword [ebp - 0x3c], 0xcd364c1a
jmp 0x40a250
cmp eax, 0xec31e58b
jg 0x40a407
cmp eax, 0xe9a698c5
jne 0x40a250
mov dword [ebp - 0x3c], 0x1e4e0a92
jmp 0x40a250
cmp eax, 0xfc84eec4
jg 0x40a425
cmp eax, 0xec31e58c
jne 0x40a250
mov dword [ebp - 0x3c], 0x1e7dd308
jmp 0x40a250
cmp eax, 0xb40b53
jg 0x40a461
cmp eax, 0xfc84eec5
jne 0x40a250
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x24], eax
mov eax, 0x688ed43c
cmp dword [ecx + edx], 0x4550
jne 0x40a459
mov eax, 0x6f877a60
mov dword [ebp - 0x3c], eax
jmp 0x40a250
cmp eax, 0x415bb3d
jg 0x40a47f
cmp eax, 0xb40b54
jne 0x40a250
mov dword [ebp - 0x3c], 0x366a1120
jmp 0x40a250
cmp eax, 0xd4242fc
jg 0x40a49d
cmp eax, 0x415bb3e
jne 0x40a250
mov dword [ebp - 0x3c], 0x1b45f74e
jmp 0x40a250
cmp eax, 0x10aba07f
jg 0x40a4bb
cmp eax, 0xd4242fd
jne 0x40a250
mov dword [ebp - 0x3c], 0x5ce03228
jmp 0x40a250
cmp eax, 0x1b45f74d
jg 0x40a4ef
cmp eax, 0x10aba080
jne 0x40a250
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x53776462
jne 0x40a4e7
mov eax, 0xfc84eec5
mov dword [ebp - 0x3c], eax
jmp 0x40a250
cmp eax, 0x1e4e0a91
jg 0x40a51d
cmp eax, 0x1b45f74e
jne 0x40a250
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 5]
mov dword [ebp - 0x3c], 0x3887f3a1
jmp 0x40a250
cmp eax, 0x3887f3a0
jg 0x40a56a
cmp eax, 0x379bfb1d
jg 0x40a58e
cmp eax, 0x366a111f
jg 0x40a5b7
cmp eax, 0x34605f49
jg 0x40a5ce
cmp eax, 0x1e4e0a92
je 0x40a5f1
cmp eax, 0x1e7dd308
jne 0x40a5fd
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x5ce03228
jmp 0x40a250
cmp eax, 0x3887f3a1
jne 0x40a250
mov al, byte [ebp - 5]
test al, al
mov eax, 0x688ed43c
jne 0x40a586
mov eax, 0x34605f4a
mov dword [ebp - 0x3c], eax
jmp 0x40a250
cmp eax, 0x379bfb1e
jne 0x40a250
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x16]
mov eax, 0xb40b54
cmp dword [ecx + 0x18], edx
jbe 0x40a5af
mov eax, 0xd1b9189e
mov dword [ebp - 0x3c], eax
jmp 0x40a250
cmp eax, 0x366a1120
jne 0x40a250
mov dword [ebp - 0x3c], 0xd07eb91c
jmp 0x40a250
cmp eax, 0x34605f4a
jne 0x40a250
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x379bfb1e
jmp 0x40a250
mov dword [ebp - 0x3c], 0x1e7dd308
jmp 0x40a250
cmp eax, 0x26a249d6
jne 0x40a250
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x38]
movzx edx, word [ebp - 0x16]
mov esi, dword [ebp - 0x34]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], 0xcd364c1a
jmp 0x40a250
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret