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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
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 dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x50], 0xfc4feaa0
jmp 0x40bf20
mov dword [ebp - 0x50], 0xab1591ab
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x50]
cmp eax, 0x7d4fdd85
jg 0x40bf40
cmp eax, 0x8bf0445e
jg 0x40bf50
cmp eax, 0x84f61e7c
jne 0x40bf20
jmp 0x40c445
cmp eax, 0x7d4fdd86
jne 0x40bf20
jmp 0x40bf0b
cmp eax, 0x70560a2c
jg 0x40bf8e
cmp eax, 0x6da76a65
jg 0x40bf9e
cmp eax, 0x68a1df43
jg 0x40bfc2
cmp eax, 0x67b41483
jg 0x40bfd9
cmp eax, 0x619e3ac6
jg 0x40bff0
cmp eax, 0x8c9683ee
jg 0x40c00a
cmp eax, 0x8bf0445f
jne 0x40bf20
mov dword [ebp - 0x50], 0xdfe62a88
jmp 0x40bf20
cmp eax, 0x70560a2d
jne 0x40bf20
mov dword [ebp - 0x50], 0x205e85d9
jmp 0x40bf20
cmp eax, 0x6da76a66
jne 0x40bf20
mov al, byte [ebp - 5]
test al, al
mov eax, 0x36543c50
jne 0x40bfba
mov eax, 0x8bf0445f
mov dword [ebp - 0x50], eax
jmp 0x40bf20
cmp eax, 0x68a1df44
jne 0x40bf20
mov dword [ebp - 0x50], 0x7d4fdd86
jmp 0x40bf20
cmp eax, 0x67b41484
jne 0x40bf20
mov dword [ebp - 0x50], 0xdfe62a88
jmp 0x40bf20
cmp eax, 0x619e3ac7
jne 0x40bf20
inc dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0xbd2609b2
jmp 0x40bf20
cmp eax, 0x93b8f373
jg 0x40c034
cmp eax, 0x8c9683ef
jne 0x40bf20
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x44]
setb al
mov byte [ebp - 5], al
mov dword [ebp - 0x50], 0x6da76a66
jmp 0x40bf20
cmp eax, 0xa17147cc
jg 0x40c052
cmp eax, 0x93b8f374
jne 0x40bf20
mov dword [ebp - 0x50], 0x52949b05
jmp 0x40bf20
cmp eax, 0xa955b385
jg 0x40c070
cmp eax, 0xa17147cd
jne 0x40bf20
mov dword [ebp - 0x50], 0x7d4fdd86
jmp 0x40bf20
cmp eax, 0xab1591aa
jg 0x40c08e
cmp eax, 0xa955b386
jne 0x40bf20
mov dword [ebp - 0x50], 0xd8990bc5
jmp 0x40bf20
cmp eax, 0xb122192f
jg 0x40c0b3
cmp eax, 0xab1591ab
jne 0x40bf20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], 0x93b8f374
jmp 0x40bf20
cmp eax, 0xb79d9f82
jg 0x40c0d1
cmp eax, 0xb1221930
jne 0x40bf20
mov dword [ebp - 0x50], 0x3f404cb7
jmp 0x40bf20
cmp eax, 0xb9f95c6e
jg 0x40c0f2
cmp eax, 0xb79d9f83
jne 0x40bf20
inc dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0x619e3ac7
jmp 0x40bf20
cmp eax, 0xbbd82d2b
jg 0x40c110
cmp eax, 0xb9f95c6f
jne 0x40bf20
mov dword [ebp - 0x50], 0x8c9683ef
jmp 0x40bf20
cmp eax, 0xbd2609b1
jg 0x40c135
cmp eax, 0xbbd82d2c
jne 0x40bf20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x50], 0xab1591ab
jmp 0x40bf20
cmp eax, 0xd2029222
jg 0x40c153
cmp eax, 0xbd2609b2
jne 0x40bf20
mov dword [ebp - 0x50], 0xf8ac2950
jmp 0x40bf20
cmp eax, 0xd6d39a29
jg 0x40c187
cmp eax, 0xd2029223
jne 0x40bf20
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0xa17147cd
jne 0x40c17f
mov eax, 0x278a3df0
mov dword [ebp - 0x50], eax
jmp 0x40bf20
cmp eax, 0xd8990bc4
jg 0x40c1b9
cmp eax, 0xd6d39a2a
jne 0x40bf20
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xb1221930
jne 0x40c1b1
mov eax, 0x17906d13
mov dword [ebp - 0x50], eax
jmp 0x40bf20
cmp eax, 0xdfe62a87
jg 0x40c1dd
cmp eax, 0xd8990bc5
jne 0x40bf20
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], 0x84f61e7c
jmp 0x40bf20
cmp eax, 0xedd67a71
jg 0x40c1fb
cmp eax, 0xdfe62a88
jne 0x40bf20
mov dword [ebp - 0x50], 0xedd67a72
jmp 0x40bf20
cmp eax, 0xf8ac294f
jg 0x40c219
cmp eax, 0xedd67a72
jne 0x40bf20
mov dword [ebp - 0x50], 0x7d4fdd86
jmp 0x40bf20
cmp eax, 0xfc4fea9f
jg 0x40c237
cmp eax, 0xf8ac2950
jne 0x40bf20
mov dword [ebp - 0x50], 0x8c9683ef
jmp 0x40bf20
cmp eax, 0x17906d12
jg 0x40c261
cmp eax, 0xfc4feaa0
jne 0x40bf20
mov eax, 0xd2029223
cmp dword [ebp - 0xc], 0
je 0x40c259
mov eax, 0x257a8e77
mov dword [ebp - 0x50], eax
jmp 0x40bf20
cmp eax, 0x205e85d8
jg 0x40c28b
cmp eax, 0x17906d13
jne 0x40bf20
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], 0x257a8e77
jmp 0x40bf20
cmp eax, 0x257a8e76
jg 0x40c2a9
cmp eax, 0x205e85d9
jne 0x40bf20
mov dword [ebp - 0x50], 0x44db3fd3
jmp 0x40bf20
cmp eax, 0x278a3def
jg 0x40c2fb
cmp eax, 0x257a8e77
jne 0x40bf20
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0xf8ac2950
jmp 0x40bf20
cmp eax, 0x317b8b55
jg 0x40c337
cmp eax, 0x278a3df0
jne 0x40bf20
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x24], eax
mov eax, 0xb1221930
cmp dword [ecx + edx], 0x4550
jne 0x40c32f
mov eax, 0xd6d39a2a
mov dword [ebp - 0x50], eax
jmp 0x40bf20
cmp eax, 0x36543c4f
jg 0x40c355
cmp eax, 0x317b8b56
jne 0x40bf20
mov dword [ebp - 0x50], 0x205e85d9
jmp 0x40bf20
cmp eax, 0x3f404cb6
jg 0x40c398
cmp eax, 0x36543c50
jne 0x40bf20
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x30]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x40], eax
mov dword [esp], eax
call fcn.004022b0
mov dword [ebp - 0x48], eax
mov ecx, 0x52eddac1
cmp eax, dword [ebp - 0x18]
je 0x40c390
mov ecx, 0x70560a2d
mov dword [ebp - 0x50], ecx
jmp 0x40bf20
cmp eax, 0x44cf3c42
jg 0x40c3b6
cmp eax, 0x3f404cb7
jne 0x40bf20
mov dword [ebp - 0x50], 0x68a1df44
jmp 0x40bf20
cmp eax, 0x5350dfc5
jg 0x40c3de
cmp eax, 0x52eddac0
jg 0x40c3f5
cmp eax, 0x44cf3c43
je 0x40c422
cmp eax, 0x44db3fd3
jne 0x40c42e
mov dword [ebp - 0x50], 0x44cf3c43
jmp 0x40bf20
cmp eax, 0x5350dfc6
jne 0x40bf20
mov dword [ebp - 0x50], 0x3f404cb7
jmp 0x40bf20
cmp eax, 0x52eddac1
jne 0x40bf20
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x34]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x50], 0x52949b05
jmp 0x40bf20
mov dword [ebp - 0x50], 0x619e3ac7
jmp 0x40bf20
cmp eax, 0x52949b05
jne 0x40bf20
mov dword [ebp - 0x50], 0xd8990bc5
jmp 0x40bf20
mov eax, dword [ebp - 4]
add esp, 0x54
pop ebp
ret