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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [ebp - 0x4c], 0x8d300b85
jmp 0x40b9a0
mov dword [ebp - 0x4c], 0xcc7bb16
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0x5f8efafc
jg 0x40b9f0
cmp eax, 0x55b53706
jg 0x40ba00
cmp eax, 0x4b92e7f3
jg 0x40ba32
cmp eax, 0x44dee55d
jg 0x40ba5b
cmp eax, 0x3bd15954
jg 0x40ba72
cmp eax, 0x8969af68
jg 0x40bbaa
cmp eax, 0x84958111
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xf040da66
jmp 0x40b9a0
cmp eax, 0x5f8efafd
jne 0x40b9a0
jmp 0x40b992
cmp eax, 0x55b53707
jne 0x40b9a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x2e34d651
jne 0x40ba2a
mov eax, 0x31e66d23
mov dword [ebp - 0x4c], eax
jmp 0x40b9a0
cmp eax, 0x4b92e7f4
jne 0x40b9a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 0x9dfd7a26
jmp 0x40b9a0
cmp eax, 0x44dee55e
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xef82a141
jmp 0x40b9a0
cmp eax, 0x3bd15955
jne 0x40b9a0
mov eax, 4
call fcn.00416e00
mov eax, 4
call fcn.00416e00
mov edx, esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x50], esp
mov eax, 4
call fcn.00416e00
mov esi, esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x54], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x58], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x5c], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x68], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x60], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x64], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x6c], esp
mov eax, 4
call fcn.00416e00
mov ecx, esp
mov eax, 4
call fcn.00416e00
mov ebx, esp
mov eax, 4
call fcn.00416e00
mov edi, esp
mov eax, 4
call fcn.00416e00
mov eax, 4
call fcn.00416e00
mov eax, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [edx]
mov edx, dword [ebp - 0x68]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
mov dword [eax], 0
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax], 0
mov eax, dword [ebp - 0x60]
mov dword [eax], 0
mov eax, dword [ebp - 0x64]
mov dword [eax], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ebp - 0x4c], 0xa5031864
jmp 0x40b9a0
cmp eax, 0x31e66d22
jg 0x40bc23
cmp eax, 0x310ab92f
jg 0x40bc5f
cmp eax, 0x2e34d650
jg 0x40bc76
cmp eax, 0x1ad99fa6
jg 0x40bc8d
cmp eax, 0xcc7bb15
jg 0x40bce5
cmp eax, 0x8b967fb
jg 0x40bcfc
cmp eax, 0xf0bac191
jg 0x40bd25
cmp eax, 0xf040da65
jg 0x40bd5c
cmp eax, 0x89e0345e
jg 0x40bd7c
cmp eax, 0x8969af69
jne 0x40b9a0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], 0x8b967fc
jmp 0x40b9a0
cmp eax, 0x31e66d23
jne 0x40b9a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, 0x84958111
cmp dword [ecx], 0x4550
jne 0x40bc57
mov eax, 0xc5c8ade3
mov dword [ebp - 0x4c], eax
jmp 0x40b9a0
cmp eax, 0x310ab930
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xef82a141
jmp 0x40b9a0
cmp eax, 0x2e34d651
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xf040da66
jmp 0x40b9a0
cmp eax, 0x1ad99fa7
jne 0x40b9a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub esp, 4
mov dword [esp], eax
call fcn.004025e0
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
mov eax, 0xf0bac192
cmp ecx, dword [edx]
je 0x40bcdd
mov eax, 0xda64ba70
mov dword [ebp - 0x4c], eax
jmp 0x40b9a0
cmp eax, 0xcc7bb16
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xd90a25f8
jmp 0x40b9a0
cmp eax, 0x8b967fc
jne 0x40b9a0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 0x11]
mov dword [ebp - 0x4c], 0xd25e5054
jmp 0x40b9a0
cmp eax, 0xf0bac192
jne 0x40b9a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x30]
mov edx, dword [edx]
add eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 0xe45141d9
jmp 0x40b9a0
cmp eax, 0xf040da66
jne 0x40b9a0
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [ebp - 0x4c], 0xe45141d9
jmp 0x40b9a0
cmp eax, 0x8d300b84
jg 0x40bdac
cmp eax, 0x89e0345f
jne 0x40b9a0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
mov eax, 0x1ad99fa7
cmp ecx, dword [edx]
jb 0x40bda4
mov eax, 0x44dee55e
mov dword [ebp - 0x4c], eax
jmp 0x40b9a0
cmp eax, 0x9bf23f41
jg 0x40bdca
cmp eax, 0x8d300b85
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xa5031864
jmp 0x40b9a0
cmp eax, 0x9dfd7a25
jg 0x40bde8
cmp eax, 0x9bf23f42
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xf040da66
jmp 0x40b9a0
cmp eax, 0xa4897347
jg 0x40be18
cmp eax, 0x9dfd7a26
jne 0x40b9a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x78]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 0xee5ae3b3
jmp 0x40b9a0
cmp eax, 0xa5031863
jg 0x40be82
cmp eax, 0xa4897348
jne 0x40b9a0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x20]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
add eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov dword [ebp - 0x4c], 0x89e0345f
jmp 0x40b9a0
cmp eax, 0xab83d36f
jg 0x40bfe0
cmp eax, 0xa5031864
jne 0x40b9a0
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x48], esp
mov eax, 4
call fcn.00416e00
mov edx, esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x44], esp
mov eax, 4
call fcn.00416e00
mov ecx, esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x3c], esp
mov eax, 4
call fcn.00416e00
mov esi, esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x38], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00416e00
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
mov dword [esi], 0
mov eax, dword [edx]
mov edx, dword [ebp - 0x38]
mov dword [edx], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
sete byte [ebp - 0x12]
mov dword [ebp - 0x4c], 0xc8c72f86
jmp 0x40b9a0
cmp eax, 0xb5a93eb5
jg 0x40c001
cmp eax, 0xab83d370
jne 0x40b9a0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0xecd1797d
jmp 0x40b9a0
cmp eax, 0xc5c8ade2
jg 0x40c01f
cmp eax, 0xb5a93eb6
jne 0x40b9a0
mov dword [ebp - 0x4c], 0x9dfd7a26
jmp 0x40b9a0
cmp eax, 0xc8c72f85
jg 0x40c03d
cmp eax, 0xc5c8ade3
jne 0x40b9a0
mov dword [ebp - 0x4c], 0x8b967fc
jmp 0x40b9a0
cmp eax, 0xcef436b7
jg 0x40c068
cmp eax, 0xc8c72f86
jne 0x40b9a0
mov al, byte [ebp - 0x12]
test al, al
mov eax, 0x55b53707
jne 0x40c060
mov eax, 0xa4897348
mov dword [ebp - 0x4c], eax
jmp 0x40b9a0
cmp eax, 0xd25e5053
jg 0x40c07f
cmp eax, 0xcef436b8
jne 0x40b9a0
jmp 0x40c172
cmp eax, 0xd90a25f7
jg 0x40c0aa
cmp eax, 0xd25e5054
jne 0x40b9a0
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x84958111
jne 0x40c0a2
mov eax, 0xb5a93eb6
mov dword [ebp - 0x4c], eax
jmp 0x40b9a0
cmp eax, 0xda64ba6f
jg 0x40c0c8
cmp eax, 0xd90a25f8
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xef8388f8
jmp 0x40b9a0
cmp eax, 0xe45141d8
jg 0x40c0e6
cmp eax, 0xda64ba70
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xcc7bb16
jmp 0x40b9a0
cmp eax, 0xecd1797c
jg 0x40c104
cmp eax, 0xe45141d9
jne 0x40b9a0
mov dword [ebp - 0x4c], 0xecd1797d
jmp 0x40b9a0
cmp eax, 0xee5ae3b2
jg 0x40c12a
cmp eax, 0xecd1797d
jne 0x40b9a0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], 0xcef436b8
jmp 0x40b9a0
cmp eax, 0xee5ae3b3
je 0x40c144
cmp eax, 0xef82a141
jne 0x40c150
mov dword [ebp - 0x4c], 0x9bf23f42
jmp 0x40b9a0
mov dword [ebp - 0x4c], 0xa4897348
jmp 0x40b9a0
cmp eax, 0xef8388f8
jne 0x40b9a0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 0x89e0345f
jmp 0x40b9a0
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret