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

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], 0xdf7aaf4f
jmp 0x40c1f0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], 0x55220317
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x40]
cmp eax, 0xa525da5d
jg 0x40c210
cmp eax, 0x8f0b1dd9
jne 0x40c1f0
jmp 0x40c1d9
cmp eax, 0xb917e901
jg 0x40c230
cmp eax, 0xa525da5e
jne 0x40c1f0
mov dword [ebp - 0x40], 0x6aa12cd7
jmp 0x40c1f0
cmp eax, 0xc6b71fe8
jg 0x40c254
cmp eax, 0xb917e902
jne 0x40c1f0
mov al, byte [ebp - 9]
test al, al
mov eax, 0xa525da5e
jne 0x40c24f
mov eax, 0x698deaaa
mov dword [ebp - 0x40], eax
jmp 0x40c1f0
cmp eax, 0x75c14e85
jg 0x40c2a1
cmp eax, 0xc874f5f9
jg 0x40c2b8
cmp eax, 0xc6b71fe9
jne 0x40c1f0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ebp - 0x1a]
mov esi, dword [ebp - 0x38]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], 0x3fb39b32
jmp 0x40c1f0
cmp eax, 0x75c14e86
jne 0x40c1f0
mov dword [ebp - 0x40], 0x55220317
jmp 0x40c1f0
cmp eax, 0xcf9b1a10
jg 0x40c2cf
cmp eax, 0xc874f5fa
jne 0x40c1f0
jmp 0x40c50b
cmp eax, 0xd2498a8b
jg 0x40c2f3
cmp eax, 0xcf9b1a11
jne 0x40c1f0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x40], 0xc874f5fa
jmp 0x40c1f0
cmp eax, 0xdc97d92e
jg 0x40c323
cmp eax, 0xd2498a8c
jne 0x40c1f0
mov ecx, dword [ebp - 0x30]
movzx edx, word [ebp - 0x1a]
mov eax, 0x628eec49
cmp dword [ecx + 0x18], edx
jbe 0x40c31b
mov eax, 0xc6b71fe9
mov dword [ebp - 0x40], eax
jmp 0x40c1f0
cmp eax, 0xdf7aaf4e
jg 0x40c34d
cmp eax, 0xdc97d92f
jne 0x40c1f0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xd2498a8c
jmp 0x40c1f0
cmp eax, 0xef06774f
jg 0x40c377
cmp eax, 0xdf7aaf4f
jne 0x40c1f0
mov eax, 0x75c14e86
cmp dword [ebp - 0x10], 0
je 0x40c36f
mov eax, 0xd2498a8c
mov dword [ebp - 0x40], eax
jmp 0x40c1f0
cmp eax, 0x2a17a211
jg 0x40c395
cmp eax, 0xef067750
jne 0x40c1f0
mov dword [ebp - 0x40], 0x568d5602
jmp 0x40c1f0
cmp eax, 0x6aa12cd6
jg 0x40c3fc
cmp eax, 0x698deaa9
jg 0x40c413
cmp eax, 0x63d518fd
jg 0x40c448
cmp eax, 0x628eec48
jg 0x40c473
cmp eax, 0x568d5601
jg 0x40c48a
cmp eax, 0x55220316
jg 0x40c4a8
cmp eax, 0x3fb39b31
jg 0x40c4d1
cmp eax, 0x2a17a212
je 0x40c4e8
cmp eax, 0x2a40bacc
jne 0x40c4f4
mov dword [ebp - 0x40], 0xcf9b1a11
jmp 0x40c1f0
cmp eax, 0x6aa12cd7
jne 0x40c1f0
mov dword [ebp - 0x40], 0x2c913cea
jmp 0x40c1f0
cmp eax, 0x698deaaa
jne 0x40c1f0
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x28], eax
mov eax, 0xef067750
cmp dword [ecx + edx], 0x4550
jne 0x40c440
mov eax, 0x63d518fe
mov dword [ebp - 0x40], eax
jmp 0x40c1f0
cmp eax, 0x63d518fe
jne 0x40c1f0
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xef067750
jne 0x40c46b
mov eax, 0xdc97d92f
mov dword [ebp - 0x40], eax
jmp 0x40c1f0
cmp eax, 0x628eec49
jne 0x40c1f0
mov dword [ebp - 0x40], 0x568d5602
jmp 0x40c1f0
cmp eax, 0x568d5602
jne 0x40c1f0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0x3fb39b32
jmp 0x40c1f0
cmp eax, 0x55220317
jne 0x40c1f0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 9]
mov dword [ebp - 0x40], 0xb917e902
jmp 0x40c1f0
cmp eax, 0x3fb39b32
jne 0x40c1f0
mov dword [ebp - 0x40], 0xcf9b1a11
jmp 0x40c1f0
mov dword [ebp - 0x40], 0x6aa12cd7
jmp 0x40c1f0
cmp eax, 0x2c913cea
jne 0x40c1f0
mov dword [ebp - 0x40], 0x568d5602
jmp 0x40c1f0
mov eax, dword [ebp - 8]
add esp, 0x3c
pop esi
pop ebp
ret