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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x190]
cmp eax, dword [ecx + 8]
jbe 0x40154a
sub esp, 0x210
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0044a73c
mov dword [esp], 0x202
lea ebx, [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.0044e5d0
mov dword [esp], 2
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.0044e140
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp], 0x47ab00
call fcn.0040b910
mov edi, dword [esp + 4]
cmp edi, 0
je 0x401543
mov esi, 0x48e8e0
mov edx, edi
cld
call fcn.0044ac74
cmp edx, 0
je 0x40153c
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
mov eax, 0x4c0140
mov dword [esp + 0x4c], eax
mov dword [esp + 4], eax
mov dword [esp + 0x50], edx
mov dword [esp + 8], edx
call fcn.0044e200
xor ebx, ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov eax, 4
mov dword [esp + 0x54], eax
lea ebx, [esp + 0x3c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
lea ebx, [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0044e860
lea ebx, [esp + 0x3c]
cmp ebx, 0
je 0x401535
mov eax, 4
mov edx, 4
mov ecx, ebx
mov dword [esp + 0x64], edx
cmp eax, 3
jbe 0x40152e
add ebx, 3
movzx ebp, byte [ebx]
cmp eax, 0
jbe 0x401527
movzx ebp, byte [ecx]
mov esi, ebp
cmp eax, 1
jbe 0x401520
mov ebx, ecx
inc ebx
movzx ebp, byte [ebx]
mov ebx, ebp
shl ebx, 8
or esi, ebx
cmp eax, 2
jbe 0x401519
mov ebx, ecx
add ebx, 2
movzx ebp, byte [ebx]
mov ebx, ebp
shl ebx, 0x10
mov edx, esi
or edx, ebx
cmp eax, 3
mov dword [esp + 0x60], eax
jbe 0x401512
mov ebx, ecx
mov dword [esp + 0x5c], ecx
add ebx, 3
movzx ebp, byte [ebx]
mov ebx, ebp
shl ebx, 0x18
mov ebp, edx
or ebp, ebx
mov dword [esp], 0x474c20
xor ecx, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0x48], ebp
xor ecx, ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004345b0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x70], ebx
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x54], ebx
cmp ecx, 0
mov dword [esp + 0x6c], ecx
jbe 0x40150b
mov dword [esp + 0x68], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x40], 0
xor eax, eax
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x48]
cmp eax, ebp
jae 0x401409
mov ebx, dword [esp + 0x28]
mov dword [esp], ebx
lea ebx, [esp + 0x54]
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x34]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0044e860
mov edi, dword [esp + 0x7c]
xor esi, esi
mov eax, dword [esp + 0x40]
cmp eax, esi
jle 0x4013f1
mov dword [esp + 0x2c], esi
mov ebp, dword [esp + 0x6c]
cmp esi, ebp
jae 0x401504
mov ebp, dword [esp + 0x68]
add ebp, esi
movzx ebx, byte [ebp]
mov byte [esp + 0x27], bl
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov eax, ebx
inc ebx
cmp ebx, edi
ja 0x4014c4
mov dword [esp + 0x78], ebx
mov ebx, ecx
add ebx, eax
movzx ebp, byte [esp + 0x27]
xchg ebp, eax
mov byte [ebx], al
xchg ebp, eax
inc esi
mov eax, dword [esp + 0x40]
cmp eax, esi
jg 0x4013a6
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov ebp, dword [esp + 0x48]
cmp eax, ebp
jb 0x40135c
mov ebx, dword [esp + 0x48]
add ebx, 5
mov dword [esp], ebx
call fcn.00401040
mov ebx, dword [esp + 4]
mov dword [esp + 0x44], ebx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
mov ecx, 0xbf
mov byte [edx], cl
mov byte [edx + 1], al
xor eax, eax
mov byte [edx + 2], al
xor eax, eax
mov byte [edx + 3], al
xor eax, eax
mov byte [edx + 4], al
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x38]
cmp eax, ebp
jge 0x401486
movzx ebp, byte [ecx]
mov esi, eax
add esi, 5
mov edi, ebp
cmp edx, 0
je 0x4014c0
mov ebp, esi
mov esi, edx
cmp ebp, 0xfa000
jae 0x4014b9
add esi, ebp
xchg edi, eax
mov byte [esi], al
xchg edi, eax
inc ecx
inc eax
mov ebp, dword [esp + 0x38]
cmp eax, ebp
jl 0x40145b
mov ebx, dword [esp + 0x44]
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.0043b480
add esp, 0x210
ret
call fcn.00423330
ud2
mov dword [edx], eax
jmp 0x40146a
mov dword [esp], 0x474c20
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.00434750
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x74], ecx
jmp 0x4013db
call fcn.00423330
ud2
call fcn.00423330
ud2
call fcn.00423330
ud2
call fcn.00423330
ud2
call fcn.00423330
ud2
call fcn.00423330
ud2
call fcn.00423330
ud2
mov dword [ebx], eax
jmp 0x401252
mov dword [edx], eax
jmp 0x4011ab
mov dword [edi], eax
jmp 0x401195
call fcn.00448770
jmp fcn.00401110