Function at 0x40af30
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], 0x81b6e48c
jmp 0x40af90
mov dword [ebp - 0x3c], eax
nop
nop
nop
nop
mov eax, dword [ebp - 0x3c]
cmp eax, 0x7240afe6
jg 0x40b020
cmp eax, 0x5dad107c
jg 0x40b060
cmp eax, 0x3ef05936
jg 0x40b070
cmp eax, 0x3c93eb2e
jg 0x40b087
cmp eax, 0xa042e1a
jg 0x40b09e
cmp eax, 0xfee2f210
jg 0x40b0c3
cmp eax, 0xf79ad513
jg 0x40b0e1
cmp eax, 0xf23d51fc
jg 0x40b0f8
cmp eax, 0x81b6e48b
jg 0x40b10f
cmp eax, 0x8039ec3f
jne 0x40af90
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0xf79ad514
jne 0x40b017
mov eax, 0x7240afe7
mov dword [ebp - 0x3c], eax
jmp 0x40af90
cmp eax, 0x7240afe7
jne 0x40af90
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, 0xd4af1b19
cmp dword [ecx + edx], 0x4550
jne 0x40af89
mov eax, 0xd72f4b52
jmp 0x40af89
cmp eax, 0x5dad107d
jne 0x40af90
jmp 0x40b26d
cmp eax, 0x3ef05937
jne 0x40af90
mov dword [ebp - 0x3c], 0xa042e1b
jmp 0x40af90
cmp eax, 0x3c93eb2f
jne 0x40af90
mov dword [ebp - 0x3c], 0xfee2f211
jmp 0x40af90
cmp eax, 0xa042e1b
jne 0x40af90
mov eax, dword [ebp - 0x2c]
movzx ecx, word [ebp - 0x16]
cmp dword [eax + 0x18], ecx
setbe byte [ebp - 5]
mov dword [ebp - 0x3c], 0x8e676497
jmp 0x40af90
cmp eax, 0xfee2f211
jne 0x40af90
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x5dad107d
jmp 0x40af90
cmp eax, 0xf79ad514
jne 0x40af90
mov dword [ebp - 0x3c], 0xc5acb5d0
jmp 0x40af90
cmp eax, 0xf23d51fd
jne 0x40af90
mov dword [ebp - 0x3c], 0xfee2f211
jmp 0x40af90
cmp eax, 0x8e676496
jg 0x40b139
cmp eax, 0x81b6e48c
jne 0x40af90
mov eax, 0x8039ec3f
cmp dword [ebp - 0xc], 0
je 0x40b131
mov eax, 0x3ef05937
mov dword [ebp - 0x3c], eax
jmp 0x40af90
cmp eax, 0xa4f8b557
jg 0x40b164
cmp eax, 0x8e676497
jne 0x40af90
mov al, byte [ebp - 5]
test al, al
mov eax, 0xf23d51fd
jne 0x40b15c
mov eax, 0xd6aaaa33
mov dword [ebp - 0x3c], eax
jmp 0x40af90
cmp eax, 0xbce07ff9
jg 0x40b182
cmp eax, 0xa4f8b558
jne 0x40af90
mov dword [ebp - 0x3c], 0xa042e1b
jmp 0x40af90
cmp eax, 0xc54133d0
jg 0x40b1a0
cmp eax, 0xbce07ffa
jne 0x40af90
mov dword [ebp - 0x3c], 0xc5acb5d0
jmp 0x40af90
cmp eax, 0xd72f4b51
jg 0x40b1d0
cmp eax, 0xd6aaaa32
jg 0x40b1fb
cmp eax, 0xc54133d1
je 0x40b23e
cmp eax, 0xc5acb5d0
jne 0x40b256
mov dword [ebp - 0x3c], 0x3c93eb2f
jmp 0x40af90
cmp eax, 0xd72f4b52
jne 0x40af90
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xd4af1b19
jne 0x40b1f3
mov eax, 0xc54133d1
mov dword [ebp - 0x3c], eax
jmp 0x40af90
cmp eax, 0xd6aaaa33
jne 0x40af90
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], 0x5dad107d
jmp 0x40af90
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x3ef05937
jmp 0x40af90
cmp eax, 0xd4af1b19
jne 0x40af90
mov dword [ebp - 0x3c], 0xfee2f211
jmp 0x40af90
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret