Function at 0x401450
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ecx, 0x4106fc
mov dword [esp + 0x10], 1
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea edx, [ecx + 2]
mov dword [esp + 0x24], 0
mov byte [0x4103d0], 0
jmp 0x401490
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401490
sub ecx, edx
mov dword [esp + 0x14], 0x4106fc
sar ecx, 1
lea eax, [ecx + ecx]
mov word [esp + 0x10], ax
add eax, 2
mov word [esp + 0x12], ax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x32
push 0
call fcn.00401420
test eax, eax
js 0x40172f
mov esi, dword [esp + 0xc]
test esi, esi
je 0x40172f
mov eax, dword [esi + 0x3c]
add eax, esi
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x40172f
mov ebx, dword [eax + 0x7c]
test ebx, ebx
je 0x40172f
mov eax, dword [ecx + esi + 0x24]
lea edi, [ecx + esi]
mov edx, dword [edi + 0x18]
add eax, esi
push eax
mov eax, dword [edi + 0x20]
mov ecx, 0x3bca0fcb
add eax, esi
push eax
push esi
call fcn.00403220
movzx eax, ax
test ax, ax
je 0x40172f
mov ecx, eax
cmp ecx, dword [edi + 0x14]
jae 0x40172f
mov eax, dword [edi + 0x1c]
add eax, esi
mov edx, dword [eax + ecx*4]
lea ecx, [edx + esi]
cmp ecx, edi
jbe 0x401562
lea eax, [edi + ebx]
cmp ecx, eax
jae 0x401562
mov edx, ecx
mov ecx, 0x4103d8
call fcn.00403340
test eax, eax
js 0x40172f
mov esi, dword [esp + 0xc]
jmp 0x401570
test edx, edx
je 0x40172f
mov dword [0x4103d8], ecx
test esi, esi
je 0x40172f
mov eax, dword [esi + 0x3c]
add eax, esi
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x40172f
mov ebx, dword [eax + 0x7c]
test ebx, ebx
je 0x40172f
mov eax, dword [ecx + esi + 0x24]
lea edi, [ecx + esi]
mov edx, dword [edi + 0x18]
add eax, esi
push eax
mov eax, dword [edi + 0x20]
mov ecx, 0x1b7d2f55
add eax, esi
push eax
push esi
call fcn.00403220
movzx eax, ax
test ax, ax
je 0x40172f
mov ecx, eax
cmp ecx, dword [edi + 0x14]
jae 0x40172f
mov eax, dword [edi + 0x1c]
add eax, esi
mov edx, dword [eax + ecx*4]
lea ecx, [edx + esi]
cmp ecx, edi
jbe 0x4015f8
lea eax, [edi + ebx]
cmp ecx, eax
jae 0x4015f8
mov edx, ecx
mov ecx, 0x410418
call fcn.00403340
test eax, eax
js 0x40172f
mov esi, dword [esp + 0xc]
jmp 0x401606
test edx, edx
je 0x40172f
mov dword [0x410418], ecx
test esi, esi
je 0x40172f
mov eax, dword [esi + 0x3c]
add eax, esi
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x40172f
mov ebx, dword [eax + 0x7c]
test ebx, ebx
je 0x40172f
mov eax, dword [ecx + esi + 0x24]
lea edi, [ecx + esi]
mov edx, dword [edi + 0x18]
add eax, esi
push eax
mov eax, dword [edi + 0x20]
mov ecx, 0xeee6647f
add eax, esi
push eax
push esi
call fcn.00403220
movzx eax, ax
test ax, ax
je 0x40172f
mov ecx, eax
cmp ecx, dword [edi + 0x14]
jae 0x40172f
mov eax, dword [edi + 0x1c]
add eax, esi
mov edx, dword [eax + ecx*4]
lea ecx, [edx + esi]
cmp ecx, edi
jbe 0x40168e
lea eax, [edi + ebx]
cmp ecx, eax
jae 0x40168e
mov edx, ecx
mov ecx, 0x4103e8
call fcn.00403340
test eax, eax
js 0x40172f
mov esi, dword [esp + 0xc]
jmp 0x40169c
test edx, edx
je 0x40172f
mov dword [0x4103e8], ecx
push 0
push 0
push 0x1a68d7e5
mov edx, esi
mov ecx, 0x410414
call fcn.00403580
test eax, eax
js 0x40172f
mov edx, dword [esp + 0xc]
mov ecx, 0x4103e4
push 0
push 0
push 0xf7b1f426
call fcn.00403580
test eax, eax
js 0x40172f
mov edx, dword [esp + 0xc]
mov ecx, 0x4103e0
push 0
push 0
push 0xaf2c1099
call fcn.00403580
test eax, eax
js 0x40172f
mov edx, dword [esp + 0xc]
mov ecx, 0x4103d4
push 0
push 0
push 0x61ae7e43
call fcn.00403580
test eax, eax
js 0x40172f
push 0
lea eax, [esp + 0x1c]
push eax
push 0x4103dc
call dword [0x4103d8]
movzx ecx, byte [0x4103d0]
test eax, eax
mov edx, 1
cmove ecx, edx
mov byte [0x4103d0], cl
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret