Function at 0x4081e0
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], 0x376acdf5
jmp 0x408240
mov dword [ebp - 0x3c], 0xcd6a85ee
mov eax, dword [ebp - 0x3c]
cmp eax, 0xa0bfdc82
jg 0x408260
cmp eax, 0x96778602
jne 0x408240
jmp 0x408239
cmp eax, 0xc0eddba5
jg 0x408290
cmp eax, 0xa0bfdc83
jne 0x408240
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xf1f2ec9d
jmp 0x408240
cmp eax, 0xcd6a85ed
jg 0x4082ad
cmp eax, 0xc0eddba6
jne 0x408240
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x3c], 0xd90b38c6
jmp 0x408240
cmp eax, 0xd90b38c5
jg 0x4082ce
cmp eax, 0xcd6a85ee
jne 0x408240
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0xec81b975
jmp 0x408240
cmp eax, 0xec81b974
jg 0x4082e5
cmp eax, 0xd90b38c6
jne 0x408240
jmp 0x408486
cmp eax, 0xf1f2ec9c
jg 0x408303
cmp eax, 0xec81b975
jne 0x408240
mov dword [ebp - 0x3c], 0xc0eddba6
jmp 0x408240
cmp eax, 0x152e04af
jg 0x408333
cmp eax, 0xf1f2ec9d
jne 0x408240
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x16]
mov eax, 0x3c701130
cmp dword [ecx + 0x18], edx
jbe 0x40832b
mov eax, 0x6d7a98df
mov dword [ebp - 0x3c], eax
jmp 0x408240
cmp eax, 0x209c7a68
jg 0x40836f
cmp eax, 0x152e04b0
jne 0x408240
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, 0x96778602
cmp dword [ecx + edx], 0x4550
jne 0x408367
mov eax, 0x7a767b6e
mov dword [ebp - 0x3c], eax
jmp 0x408240
cmp eax, 0x376acdf4
jg 0x40838d
cmp eax, 0x209c7a69
jne 0x408240
mov dword [ebp - 0x3c], 0xc0eddba6
jmp 0x408240
cmp eax, 0x3c70112f
jg 0x4083b7
cmp eax, 0x376acdf5
jne 0x408240
mov eax, 0x42fafcc3
cmp dword [ebp - 0xc], 0
je 0x4083af
mov eax, 0xf1f2ec9d
mov dword [ebp - 0x3c], eax
jmp 0x408240
cmp eax, 0x42fafcc2
jg 0x4083d5
cmp eax, 0x3c701130
jne 0x408240
mov dword [ebp - 0x3c], 0xcd6a85ee
jmp 0x408240
cmp eax, 0x6d7a98de
jg 0x408409
cmp eax, 0x42fafcc3
jne 0x408240
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x75ea2f11
jne 0x408401
mov eax, 0x152e04b0
mov dword [ebp - 0x3c], eax
jmp 0x408240
cmp eax, 0x6d7a98df
je 0x408423
cmp eax, 0x75ea2f11
jne 0x40845b
mov dword [ebp - 0x3c], 0xcd6a85ee
jmp 0x408240
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], 0xec81b975
jmp 0x408240
cmp eax, 0x7a767b6e
jne 0x408240
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x96778602
jne 0x40847e
mov eax, 0xa0bfdc83
mov dword [ebp - 0x3c], eax
jmp 0x408240
mov eax, dword [ebp - 8]
add esp, 0x38
pop esi
pop ebp
ret