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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
movzx ecx, word [ebp + 0xc]
mov dword [ebp - 0x3c], ecx
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], 0xac4aaa70
jmp 0x40b740
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 0x13]
mov dword [ebp - 0x38], 0x2bebfc4e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x38]
cmp eax, 0x742ad0b8
jg 0x40b780
cmp eax, 0x6e108a47
jg 0x40b790
cmp eax, 0x6c6ab535
jg 0x40b7a0
cmp eax, 0x81ee2483
jg 0x40b7b0
cmp eax, 0x804d4ac7
jne 0x40b740
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], 0xac33b5cf
jmp 0x40b740
cmp eax, 0x742ad0b9
jne 0x40b740
jmp 0x40b70f
cmp eax, 0x6e108a48
jne 0x40b740
mov dword [ebp - 0x38], 0xe30e400d
jmp 0x40b740
cmp eax, 0x6c6ab536
jne 0x40b740
mov dword [ebp - 0x38], 0xac33b5cf
jmp 0x40b740
cmp eax, 0x8f61a42c
jg 0x40b7ca
cmp eax, 0x81ee2484
jne 0x40b740
mov dword [ebp - 0x38], 0x97675f91
jmp 0x40b740
cmp eax, 0x97675f90
jg 0x40b7e8
cmp eax, 0x8f61a42d
jne 0x40b740
mov dword [ebp - 0x38], 0x63bc0052
jmp 0x40b740
cmp eax, 0x9fb9df9d
jg 0x40b818
cmp eax, 0x97675f91
jne 0x40b740
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 0x12]
mov dword [ebp - 0x38], 0xb84f04ff
jmp 0x40b740
cmp eax, 0xa67a8aed
jg 0x40b836
cmp eax, 0x9fb9df9e
jne 0x40b740
mov dword [ebp - 0x38], 0xc837737e
jmp 0x40b740
cmp eax, 0xac33b5ce
jg 0x40b854
cmp eax, 0xa67a8aee
jne 0x40b740
mov dword [ebp - 0x38], 0x213d002f
jmp 0x40b740
cmp eax, 0x63bc0051
jg 0x40b99f
cmp eax, 0x629370a9
jg 0x40b9b6
cmp eax, 0x57c3b30e
jg 0x40bab7
cmp eax, 0x5310e7de
jg 0x40badb
cmp eax, 0x4a802899
jg 0x40baf2
cmp eax, 0x498f154d
jg 0x40bb12
cmp eax, 0x427a5888
jg 0x40bb2c
cmp eax, 0x3a182973
jg 0x40bb55
cmp eax, 0x2d795b77
jg 0x40bb65
cmp eax, 0x2bebfc4d
jg 0x40bbc1
cmp eax, 0x23405594
jg 0x40bbe5
cmp eax, 0x213d002e
jg 0x40bbfc
cmp eax, 0x1d01e967
jg 0x40bc13
cmp eax, 0x1a2080a5
jg 0x40bc37
cmp eax, 0x13e618a2
jg 0x40bc4e
cmp eax, 0xe2cfa53
jg 0x40bd3d
cmp eax, 0xffd8fb24
jg 0x40bd54
cmp eax, 0xfbaea39d
jg 0x40bd6b
cmp eax, 0xef5bc777
jg 0x40bda7
cmp eax, 0xe9505509
jg 0x40bdbe
cmp eax, 0xe30e400c
jg 0x40bdd5
cmp eax, 0xe00a5da7
jg 0x40bdec
cmp eax, 0xc837737d
jg 0x40be03
cmp eax, 0xc7ad5e23
jg 0x40be1a
cmp eax, 0xbf9c4a4c
jg 0x40be34
cmp eax, 0xba6982a2
jg 0x40be58
cmp eax, 0xb8bc551b
jg 0x40be77
cmp eax, 0xac33b5cf
je 0x40be97
cmp eax, 0xac4aaa70
jne 0x40beb5
mov dword [ebp - 0x38], 0x629370aa
jmp 0x40b740
cmp eax, 0x63bc0052
jne 0x40b740
mov dword [ebp - 0x38], 0xef5bc778
jmp 0x40b740
cmp eax, 0x629370aa
jne 0x40b740
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x34], esp
mov eax, 4
call fcn.00415c30
mov edi, esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x30], esp
mov eax, 4
call fcn.00415c30
mov ecx, esi
mov esi, ebx
mov ebx, esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x2c], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x28], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x24], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x20], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x1c], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x18], esp
mov dword [edi], esi
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x3c]
mov word [eax], dx
mov dword [ebx], ecx
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], 0
mov eax, dword [ebp - 0x40]
mov dword [eax], 0
mov eax, dword [edi]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov eax, dword [ebx]
mov ebx, esi
mov esi, ecx
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
sete byte [ebp - 0x14]
mov dword [ebp - 0x38], 0xbf9c4a4d
jmp 0x40b740
cmp eax, 0x57c3b30f
jne 0x40b740
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
mov dword [edx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0x742ad0b9
jmp 0x40b740
cmp eax, 0x5310e7df
jne 0x40b740
mov dword [ebp - 0x38], 0x6e108a48
jmp 0x40b740
cmp eax, 0x4a80289a
jne 0x40b740
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov dword [ebp - 0x38], 0xb8bc551c
jmp 0x40b740
cmp eax, 0x498f154e
jne 0x40b740
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], 0x97675f91
jmp 0x40b740
cmp eax, 0x427a5889
jne 0x40b740
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
add eax, dword [edx + 0x78]
mov edx, dword [ebp - 0x24]
mov dword [edx], eax
mov dword [ebp - 0x38], 0x6c6ab536
jmp 0x40b740
cmp eax, 0x3a182974
jne 0x40b740
jmp 0x40bed9
cmp eax, 0x2d795b78
jne 0x40b740
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
add eax, dword [edx + 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
add eax, dword [edx + 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
movzx edx, word [edx]
mov edi, dword [ebp - 0x1c]
mov edi, dword [edi]
movzx edx, word [edi + edx*2]
mov edi, dword [ebp - 0x20]
mov edi, dword [edi]
add eax, dword [edi + edx*4]
mov edx, dword [ebp - 0x34]
mov dword [edx], eax
mov dword [ebp - 0x38], 0xc837737e
jmp 0x40b740
cmp eax, 0x2bebfc4e
jne 0x40b740
mov al, byte [ebp - 0x13]
test al, al
mov eax, 0xe950550a
jne 0x40bbdd
mov eax, 0xfbaea39e
mov dword [ebp - 0x38], eax
jmp 0x40b740
cmp eax, 0x23405595
jne 0x40b740
mov dword [ebp - 0x38], 0x6e108a48
jmp 0x40b740
cmp eax, 0x213d002f
jne 0x40b740
mov dword [ebp - 0x38], 0xe2cfa54
jmp 0x40b740
cmp eax, 0x1d01e968
jne 0x40b740
mov al, byte [ebp - 0x11]
test al, al
mov eax, 0x8f61a42d
jne 0x40bc2f
mov eax, 0x2d795b78
mov dword [ebp - 0x38], eax
jmp 0x40b740
cmp eax, 0x1a2080a6
jne 0x40b740
mov dword [ebp - 0x38], 0xa67a8aee
jmp 0x40b740
cmp eax, 0x13e618a3
jne 0x40b740
mov eax, 4
call fcn.00415c30
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x44], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x40], esp
mov eax, 4
call fcn.00415c30
mov edi, ecx
mov esi, ebx
mov ebx, esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x48], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x4c], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x50], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x54], esp
mov eax, 4
call fcn.00415c30
mov dword [ebp - 0x58], esp
mov eax, 4
call fcn.00415c30
mov edx, esp
mov eax, 4
call fcn.00415c30
mov eax, dword [ebp - 0x44]
mov dword [eax], esi
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
mov word [eax], di
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax], 0
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
mov dword [edx], 0
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, dword [ebx]
mov ebx, esi
mov esi, dword [ebp + 8]
mov ecx, edi
mov dword [esp], eax
mov dword [ebp - 0x38], 0x629370aa
jmp 0x40b740
cmp eax, 0xe2cfa54
jne 0x40b740
mov dword [ebp - 0x38], 0xb8bc551c
jmp 0x40b740
cmp eax, 0xffd8fb25
jne 0x40b740
mov dword [ebp - 0x38], 0x63bc0052
jmp 0x40b740
cmp eax, 0xfbaea39e
jne 0x40b740
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx]
add eax, dword [edx + 0x3c]
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov eax, 0x5310e7df
cmp dword [edx], 0x4550
jne 0x40bd9f
mov eax, 0x81ee2484
mov dword [ebp - 0x38], eax
jmp 0x40b740
cmp eax, 0xef5bc778
jne 0x40b740
mov dword [ebp - 0x38], 0xe2cfa54
jmp 0x40b740
cmp eax, 0xe950550a
jne 0x40b740
mov dword [ebp - 0x38], 0xa67a8aee
jmp 0x40b740
cmp eax, 0xe30e400d
jne 0x40b740
mov dword [ebp - 0x38], 0xe2cfa54
jmp 0x40b740
cmp eax, 0xe00a5da8
jne 0x40b740
mov dword [ebp - 0x38], 0x742ad0b9
jmp 0x40b740
cmp eax, 0xc837737e
jne 0x40b740
mov dword [ebp - 0x38], 0xba6982a3
jmp 0x40b740
cmp eax, 0xc7ad5e24
jne 0x40b740
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], 0xba6982a3
jmp 0x40b740
cmp eax, 0xbf9c4a4d
jne 0x40b740
mov al, byte [ebp - 0x14]
test al, al
mov eax, 0xe00a5da8
jne 0x40be50
mov eax, 0x6c6ab536
mov dword [ebp - 0x38], eax
jmp 0x40b740
cmp eax, 0xba6982a3
jne 0x40b740
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], 0x3a182974
jmp 0x40b740
cmp eax, 0xb8bc551c
jne 0x40b740
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov dword [ebp - 0x38], 0x9fb9df9e
jmp 0x40b740
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
movzx edx, word [edx]
cmp dword [eax + 0x18], edx
setbe byte [ebp - 0x11]
mov dword [ebp - 0x38], 0x1d01e968
jmp 0x40b740
cmp eax, 0xb84f04ff
jne 0x40b740
mov al, byte [ebp - 0x12]
test al, al
mov eax, 0x5310e7df
jne 0x40bed1
mov eax, 0x427a5889
mov dword [ebp - 0x38], eax
jmp 0x40b740
mov eax, dword [ebp - 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret