Function at 0x40a2b0
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], 0x54eed946
jmp 0x40a310
mov dword [ebp - 0x3c], 0xfb48aeab
mov eax, dword [ebp - 0x3c]
cmp eax, 0x937fb113
jg 0x40a330
cmp eax, 0x870309b1
jne 0x40a310
jmp 0x40a309
cmp eax, 0x7e8f5879
jg 0x40a380
cmp eax, 0x73fcf405
jg 0x40a3bf
cmp eax, 0x62123b5e
jg 0x40a3dd
cmp eax, 0x979e6f81
jg 0x40a408
cmp eax, 0x937fb114
jne 0x40a310
mov al, byte [ebp - 6]
test al, al
mov eax, 0x2d002cdd
jne 0x40a370
mov eax, 0x2ef59be8
mov dword [ebp - 0x3c], eax
jmp 0x40a310
cmp eax, 0x7e8f587a
jne 0x40a310
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], 0xe8c74984
jmp 0x40a310
cmp eax, 0x73fcf406
jne 0x40a310
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0xfb48aeab
jmp 0x40a310
cmp eax, 0x62123b5f
jne 0x40a310
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x33ee64b8
jne 0x40a400
mov eax, 0x9eafd57e
mov dword [ebp - 0x3c], eax
jmp 0x40a310
cmp eax, 0x9eafd57d
jg 0x40a433
cmp eax, 0x979e6f82
jne 0x40a310
mov al, byte [ebp - 5]
test al, al
mov eax, 0xea5c37e
jne 0x40a42b
mov eax, 0x7e8f587a
mov dword [ebp - 0x3c], eax
jmp 0x40a310
cmp eax, 0xa5a0bb3e
jg 0x40a45d
cmp eax, 0x9eafd57e
jne 0x40a310
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xb1e81b86
jmp 0x40a310
cmp eax, 0x54eed945
jg 0x40a519
cmp eax, 0x5203cb6e
jg 0x40a53c
cmp eax, 0x33ee64b7
jg 0x40a565
cmp eax, 0x2ef59be7
jg 0x40a57c
cmp eax, 0x2d002cdc
jg 0x40a5b1
cmp eax, 0x22608efa
jg 0x40a5c8
cmp eax, 0x101e94e3
jg 0x40a5df
cmp eax, 0xea5c37d
jg 0x40a5f6
cmp eax, 0xfc608cc2
jg 0x40a60d
cmp eax, 0xfb48aeaa
jg 0x40a624
cmp eax, 0xe8c74983
jg 0x40a642
cmp eax, 0xd5a8c57d
jg 0x40a64f
cmp eax, 0xb46432cd
jg 0x40a666
cmp eax, 0xb1e81b85
jg 0x40a68b
cmp eax, 0xa5a0bb3f
je 0x40a6a2
cmp eax, 0xa5b48416
jne 0x40a6ae
mov dword [ebp - 0x3c], 0xd5a8c57e
jmp 0x40a310
cmp eax, 0x54eed946
jne 0x40a310
mov eax, 0x101e94e4
cmp dword [ebp - 0xc], 0
je 0x40a534
mov eax, 0xb1e81b86
mov dword [ebp - 0x3c], eax
jmp 0x40a310
cmp eax, 0x5203cb6f
jne 0x40a310
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 6]
mov dword [ebp - 0x3c], 0x937fb114
jmp 0x40a310
cmp eax, 0x33ee64b8
jne 0x40a310
mov dword [ebp - 0x3c], 0x870309b1
jmp 0x40a310
cmp eax, 0x2ef59be8
jne 0x40a310
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, 0x33ee64b8
cmp dword [ecx + edx], 0x4550
jne 0x40a5a9
mov eax, 0x62123b5f
mov dword [ebp - 0x3c], eax
jmp 0x40a310
cmp eax, 0x2d002cdd
jne 0x40a310
mov dword [ebp - 0x3c], 0xa5b48416
jmp 0x40a310
cmp eax, 0x22608efb
jne 0x40a310
mov dword [ebp - 0x3c], 0xa5b48416
jmp 0x40a310
cmp eax, 0x101e94e4
jne 0x40a310
mov dword [ebp - 0x3c], 0x5203cb6f
jmp 0x40a310
cmp eax, 0xea5c37e
jne 0x40a310
mov dword [ebp - 0x3c], 0x870309b1
jmp 0x40a310
cmp eax, 0xfc608cc3
jne 0x40a310
mov dword [ebp - 0x3c], 0xb46432ce
jmp 0x40a310
cmp eax, 0xfb48aeab
jne 0x40a310
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0xa5a0bb3f
jmp 0x40a310
cmp eax, 0xe8c74984
jne 0x40a310
jmp 0x40a6cb
cmp eax, 0xd5a8c57e
jne 0x40a310
mov dword [ebp - 0x3c], 0x870309b1
jmp 0x40a310
cmp eax, 0xb46432ce
jne 0x40a310
mov eax, dword [ebp - 0x2c]
movzx ecx, word [ebp - 0x16]
cmp dword [eax + 0x18], ecx
setbe byte [ebp - 5]
mov dword [ebp - 0x3c], 0x979e6f82
jmp 0x40a310
cmp eax, 0xb1e81b86
jne 0x40a310
mov dword [ebp - 0x3c], 0xb46432ce
jmp 0x40a310
mov dword [ebp - 0x3c], 0xe8c74984
jmp 0x40a310
cmp eax, 0xb1ab9de2
jne 0x40a310
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0x5203cb6f
jmp 0x40a310
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret