Function at 0x407520
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], 0xef020f7e
jmp 0x407580
mov dword [ebp - 0x3c], eax
nop
nop
nop
nop
mov eax, dword [ebp - 0x3c]
cmp eax, 0x7829ecb6
jg 0x4075c0
cmp eax, 0x58e21565
jg 0x4075f0
cmp eax, 0xafc38b36
jg 0x407610
cmp eax, 0x97c0adce
jne 0x407580
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xbc5a4c07
jmp 0x407580
cmp eax, 0x7829ecb7
jne 0x407580
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0xc5d13a42
jne 0x407579
mov eax, 0x85793dd
jmp 0x407579
cmp eax, 0x58e21566
jne 0x407580
mov al, byte [ebp - 5]
test al, al
mov eax, 0x38c49af7
jne 0x407608
mov eax, 0x97c0adce
mov dword [ebp - 0x3c], eax
jmp 0x407580
cmp eax, 0xbc5a4c06
jg 0x40762e
cmp eax, 0xafc38b37
jne 0x407580
mov dword [ebp - 0x3c], 0x32da08ee
jmp 0x407580
cmp eax, 0xc44b2553
jg 0x40765e
cmp eax, 0xbc5a4c07
jne 0x407580
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x16]
mov eax, 0xdfb789b4
cmp dword [ecx + 0x18], edx
jbe 0x407656
mov eax, 0x1a74c388
mov dword [ebp - 0x3c], eax
jmp 0x407580
cmp eax, 0x3f4119b4
jg 0x4076cc
cmp eax, 0x38c49af6
jg 0x4076e3
cmp eax, 0x32da08ed
jg 0x4076fa
cmp eax, 0x1a74c387
jg 0x407721
cmp eax, 0x85793dc
jg 0x407764
cmp eax, 0xef020f7d
jg 0x407799
cmp eax, 0xdfb789b3
jg 0x4077bc
cmp eax, 0xc5d13a42
je 0x4077d3
cmp eax, 0xd43aa6b9
jne 0x4077df
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0xc44b2554
jmp 0x407580
cmp eax, 0x3f4119b5
jne 0x407580
mov dword [ebp - 0x3c], 0x32da08ee
jmp 0x407580
cmp eax, 0x38c49af7
jne 0x407580
mov dword [ebp - 0x3c], 0xd43aa6b9
jmp 0x407580
cmp eax, 0x32da08ee
jne 0x407580
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 5]
mov dword [ebp - 0x3c], 0x58e21566
jmp 0x407580
cmp eax, 0x1a74c388
jne 0x407580
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], 0xc44b2554
jmp 0x407580
cmp eax, 0x85793dd
jne 0x407580
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, 0x38c49af7
cmp dword [ecx + edx], 0x4550
jne 0x407791
mov eax, 0xafc38b37
mov dword [ebp - 0x3c], eax
jmp 0x407580
cmp eax, 0xef020f7e
jne 0x407580
mov eax, 0x7829ecb7
cmp dword [ebp - 0xc], 0
je 0x4077b4
mov eax, 0xbc5a4c07
mov dword [ebp - 0x3c], eax
jmp 0x407580
cmp eax, 0xdfb789b4
jne 0x407580
mov dword [ebp - 0x3c], 0xd43aa6b9
jmp 0x407580
mov dword [ebp - 0x3c], 0xd43aa6b9
jmp 0x407580
cmp eax, 0xc44b2554
jne 0x407580
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret