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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
movzx esi, word [ebp + 0xc]
mov dword [ebp - 0x34], 0x971fce36
jmp 0x40bb70
mov dword [ebp - 0x34], 0x6fee3615
nop
nop
nop
mov eax, dword [ebp - 0x34]
cmp eax, 0x76b61dcc
jg 0x40bc60
cmp eax, 0x6fee3614
jg 0x40bc70
cmp eax, 0x3e086fc1
jg 0x40bc90
cmp eax, 0x38181570
jg 0x40bca7
cmp eax, 0x13a2ed4f
jg 0x40bcd4
cmp eax, 0x130c0c88
jg 0x40bd01
cmp eax, 0x7af5e58
jg 0x40bd2a
cmp eax, 0x4c10847
jg 0x40bd41
cmp eax, 0xfac2c730
jg 0x40bd51
cmp eax, 0xf39fc86c
jg 0x40bd75
cmp eax, 0xdfec8b77
jg 0x40be56
cmp eax, 0xca1963d6
jg 0x40beb2
cmp eax, 0xc32128d7
jg 0x40beee
cmp eax, 0xa6c7c09e
jg 0x40bfe3
cmp eax, 0x971fce35
jg 0x40c007
cmp eax, 0x8fdbc7cd
je 0x40c01e
cmp eax, 0x8ff50fc3
jne 0x40c02a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 0xd]
mov dword [ebp - 0x34], 0xa6c7c09f
jmp 0x40bb70
cmp eax, 0x76b61dcd
jne 0x40bb70
jmp 0x40bb66
cmp eax, 0x6fee3615
jne 0x40bb70
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
mov dword [ebp - 0x34], 0x4c10848
jmp 0x40bb70
cmp eax, 0x3e086fc2
jne 0x40bb70
mov dword [ebp - 0x34], 0x6fee3615
jmp 0x40bb70
cmp eax, 0x38181571
jne 0x40bb70
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [ebp - 0x2c]
movzx edi, word [eax]
mov eax, 0x76b61dcd
cmp dword [edx + 0x18], edi
jbe 0x40bccc
mov eax, 0xdfec8b78
mov dword [ebp - 0x34], eax
jmp 0x40bb70
cmp eax, 0x13a2ed50
jne 0x40bb70
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x7af5e59
jne 0x40bcf9
mov eax, 0x130c0c89
mov dword [ebp - 0x34], eax
jmp 0x40bb70
cmp eax, 0x130c0c89
jne 0x40bb70
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
add eax, dword [edx + 0x78]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov dword [ebp - 0x34], 0x38181571
jmp 0x40bb70
cmp eax, 0x7af5e59
jne 0x40bb70
mov dword [ebp - 0x34], 0x6fee3615
jmp 0x40bb70
cmp eax, 0x4c10848
jne 0x40bb70
jmp 0x40c04e
cmp eax, 0xfac2c731
jne 0x40bb70
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0x8ff50fc3
jmp 0x40bb70
cmp eax, 0xf39fc86d
jne 0x40bb70
mov eax, 4
call fcn.00413120
mov eax, 4
call fcn.00413120
mov edi, esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x3c], esp
mov eax, 4
call fcn.00413120
mov ebx, esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x44], esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x48], esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x38], esi
mov esi, esp
mov eax, 4
call fcn.00413120
mov ecx, esp
mov eax, 4
call fcn.00413120
mov edx, esp
mov eax, 4
call fcn.00413120
mov eax, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [edi]
mov dword [esi], eax
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov word [eax], si
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], 0
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [ecx], 0
mov dword [edx], 0
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov dword [ebp - 0x34], 0xc32128d8
jmp 0x40bb70
cmp eax, 0xdfec8b78
jne 0x40bb70
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
add eax, dword [edx + 0x24]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx]
add eax, dword [edx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
movzx edx, word [edx]
mov edi, dword [ebp - 0x18]
mov edi, dword [edi]
movzx edx, word [edi + edx*2]
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi]
add eax, dword [edi + edx*4]
mov edx, dword [ebp - 0x30]
mov dword [edx], eax
mov dword [ebp - 0x34], 0x4c10848
jmp 0x40bb70
cmp eax, 0xca1963d7
jne 0x40bb70
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
add eax, dword [edx + 0x3c]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov eax, 0x7af5e59
cmp dword [edx], 0x4550
jne 0x40bee6
mov eax, 0x13a2ed50
mov dword [ebp - 0x34], eax
jmp 0x40bb70
cmp eax, 0xc32128d8
jne 0x40bb70
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.00413120
mov edi, esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.00413120
mov ebx, esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.00413120
mov edx, esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x18], esp
mov eax, 4
call fcn.00413120
mov dword [ebp - 0x14], esp
mov eax, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov word [eax], si
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], 0
mov dword [edx], 0
mov eax, dword [edi]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov eax, dword [ebx]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
sete byte [ebp - 0xe]
mov dword [ebp - 0x34], 0x901c21f7
jmp 0x40bb70
cmp eax, 0xa6c7c09f
jne 0x40bb70
mov al, byte [ebp - 0xd]
test al, al
mov eax, 0x3e086fc2
jne 0x40bfff
mov eax, 0xca1963d7
mov dword [ebp - 0x34], eax
jmp 0x40bb70
cmp eax, 0x971fce36
jne 0x40bb70
mov dword [ebp - 0x34], 0xc32128d8
jmp 0x40bb70
mov dword [ebp - 0x34], 0x8ff50fc3
jmp 0x40bb70
cmp eax, 0x901c21f7
jne 0x40bb70
mov al, byte [ebp - 0xe]
test al, al
mov eax, 0x8fdbc7cd
jne 0x40c046
mov eax, 0x38181571
mov dword [ebp - 0x34], eax
jmp 0x40bb70
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret