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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x401989
sub esp, 0xb4
xor eax, eax
lea edi, [esp + 0x98]
call fcn.004522a9
mov ebx, dword [0x6cfccc]
cmp ebx, 1
jl 0x4018de
mov ebx, 0x5efd9f
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xa
mov dword [esp], 0x5d2080
call fcn.0040dd70
mov eax, dword [esp + 4]
xor ebp, ebp
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [esp + 0x44], eax
mov ebp, dword [esp + 0x5c]
mov dword [eax + 0x10], ebp
mov ebp, dword [esp + 0x58]
cmp byte [0x6cfdd8], 0
jne 0x401971
mov dword [eax + 0xc], ebp
mov dword [esp + 0x34], eax
mov ebx, 0x5f153a
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0x10
mov dword [esp], 0x5d4c00
call fcn.0040dd70
mov eax, dword [esp + 4]
xor ebp, ebp
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
cmp byte [0x6cfdd8], 0
jne 0x401959
mov dword [eax + 0x10], ecx
mov ebp, dword [esp + 0x54]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x50]
cmp byte [0x6cfdd8], 0
jne 0x401941
mov dword [eax + 8], ebp
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x20], 5
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x20]
cmp eax, ebp
jge 0x401670
mov dword [esp], 0x5b6700
call fcn.0040dd70
mov eax, dword [esp + 4]
mov ebp, dword [0x611d4c]
mov dword [eax], ebp
mov edx, 1
mov ecx, 1
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 4], eax
mov dword [esp + 0x84], edx
mov dword [esp + 8], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xc], ecx
call fcn.00455070
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp], 0x5b6700
call fcn.0040dd70
mov eax, dword [esp + 4]
mov ebp, dword [0x611d50]
mov dword [eax], ebp
mov edx, 1
mov ecx, 1
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 4], eax
mov dword [esp + 0x84], edx
mov dword [esp + 8], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0xc], ecx
call fcn.00455070
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
and ebx, 1
cmp ebx, 1
jne 0x401651
inc eax
mov ebx, edx
and ebx, 1
cmp ebx, 1
jne 0x401586
inc eax
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x20]
cmp eax, ebp
jl 0x401596
mov dword [esp], 0x5e6ea0
call fcn.0040dd70
mov edi, dword [esp + 4]
mov dword [esp + 0x3c], edi
cmp edi, 0
je 0x40193a
xor eax, eax
call fcn.00452288
mov dword [esp], 0x5e6140
call fcn.0040dd70
mov edi, dword [esp + 4]
mov ecx, edi
cmp edi, 0
je 0x401933
xor eax, eax
call fcn.0045227f
mov eax, 1
mov byte [ecx + 0x40], al
mov ebx, dword [esp + 0x3c]
cmp ebx, 0
je 0x40192c
cmp byte [0x6cfdd8], 0
jne 0x401918
mov dword [ebx + 0x54], ecx
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov eax, 0x6a6ad0
mov dword [esp + 0x68], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x9c], ecx
mov ebx, 0x5f3756
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0x16
mov dword [esp], 0x5c
mov dword [esp + 4], 5
call fcn.00401390
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp], 0
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov dword [esp + 0x70], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x10], eax
call fcn.0043f280
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 + 0x98]
mov dword [esp], ebx
call fcn.004612f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
cmp eax, 0
je 0x401911
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x64], ebp
mov dword [esp + 8], ebp
mov dword [esp + 0x60], ecx
cmp ecx, 0
je 0x40190a
lea ebx, [ecx + 0x14]
mov dword [esp], 0xc
mov dword [esp + 4], ebx
call fcn.00427ed0
cmp eax, 0
jne 0x4018fd
mov dword [esp], 0x5c37a0
mov eax, dword [esp + 0x4c]
cmp eax, 0
je 0x4018f6
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.0040b6e0
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.0045e240
mov ebx, dword [esp + 8]
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], eax
mov dword [esp], eax
call fcn.00401040
mov ebx, dword [esp + 4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x28], ecx
mov ecx, edx
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jge 0x4018b2
movzx ebp, byte [ecx]
mov esi, dword [esp + 0x38]
cmp esi, 0
je 0x4018f2
cmp eax, 0xf1b30
jae 0x4018eb
add esi, eax
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
inc ecx
inc eax
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jl 0x40188f
mov ebx, dword [esp + 0x2c]
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.00442620
nop
call fcn.00428da0
add esp, 0xb4
ret
call fcn.00427bf0
ud2
mov dword [esi], eax
jmp 0x40189b
mov dword [eax], eax
jmp 0x401804
nop
call fcn.00428da0
add esp, 0xb4
ret
mov dword [ecx], eax
jmp 0x4017d4
mov dword [eax], eax
jmp 0x4017b9
lea esi, [ebx + 0x54]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040e740
jmp 0x4016db
mov dword [ebx], eax
jmp 0x4016cb
mov dword [edi], eax
jmp 0x4016af
mov dword [edi], eax
jmp 0x40168d
lea esi, [eax + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e740
mov eax, dword [esp + 0x40]
jmp 0x401578
lea esi, [eax + 0x10]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040e740
mov eax, dword [esp + 0x40]
jmp 0x40155d
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e740
mov eax, dword [esp + 0x44]
jmp 0x40150d
call fcn.004501c0
jmp fcn.00401480