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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x401734
sub esp, 0x7c
mov dword [esp], 0x5e6c00
call fcn.0040db10
mov edi, dword [esp + 4]
mov dword [esp + 0x2c], edi
cmp edi, 0
je 0x40172d
xor eax, eax
call fcn.00452028
mov dword [esp], 0x5e5ea0
call fcn.0040db10
mov edi, dword [esp + 4]
mov ecx, edi
cmp edi, 0
je 0x401726
xor eax, eax
call fcn.0045201f
mov eax, 1
mov byte [ecx + 0x40], al
mov ebx, dword [esp + 0x2c]
cmp ebx, 0
je 0x40171f
cmp byte [0x6cfdd8], 0
jne 0x40170b
mov dword [ebx + 0x54], ecx
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov eax, 0x6a6ad0
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x64], ecx
mov ebx, 0x5f45f2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x19
mov dword [esp], 0x5c
mov dword [esp + 4], 0x7b
call fcn.00401390
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp], 0
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x10], eax
call fcn.0043f020
lea ebx, [esp + 0x14]
lea edi, [esp + 4]
cld
mov ecx, dword [ebx]
mov dword [edi], ecx
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
lea ebx, [esp + 0x60]
mov dword [esp], ebx
call fcn.00461090
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], eax
cmp eax, 0
je 0x401704
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x40], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x3c], ecx
cmp ecx, 0
je 0x4016fd
lea ebx, [ecx + 0x14]
mov dword [esp], 0xc
mov dword [esp + 4], ebx
call fcn.00427c70
cmp eax, 0
jne 0x4016f3
mov dword [esp], 0x5c3500
mov eax, dword [esp + 0x30]
cmp eax, 0
je 0x4016ec
add eax, 0x20
lea edi, [esp + 4]
cld
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
call fcn.0040b480
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.0045dfe0
mov ebx, dword [esp + 8]
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], eax
mov dword [esp], eax
call fcn.00401040
mov ebx, dword [esp + 4]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x20], ecx
mov ecx, edx
mov ebp, dword [esp + 0x20]
cmp eax, ebp
jge 0x4016ab
movzx ebp, byte [ecx]
mov esi, dword [esp + 0x28]
cmp esi, 0
je 0x4016e8
cmp eax, 0xf1b30
jae 0x4016e1
add esi, eax
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
inc ecx
inc eax
mov ebp, dword [esp + 0x20]
cmp eax, ebp
jl 0x401688
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004423c0
nop
call fcn.00428b40
add esp, 0x7c
ret
call fcn.00427990
ud2
mov dword [esi], eax
jmp 0x401694
mov dword [eax], eax
jmp 0x40160f
nop
call fcn.00428b40
add esp, 0x7c
ret
mov dword [ecx], eax
jmp 0x4015df
mov dword [eax], eax
jmp 0x4015c4
lea esi, [ebx + 0x54]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040e4e0
jmp 0x401504
mov dword [ebx], eax
jmp 0x4014f4
mov dword [edi], eax
jmp 0x4014d8
mov dword [edi], eax
jmp 0x4014b6
call fcn.0044ff60
jmp fcn.00401480