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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1d4]
cmp eax, dword [ecx + 8]
jbe 0x40178f
sub esp, 0x254
mov ebx, 0x486ba3
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], 0x18
mov ebx, 0x489536
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 0x2e
mov ebx, 0x484aee
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0xa
mov dword [esp], 0x47ad60
call fcn.0040bb50
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 + 0x5c], eax
mov ebp, dword [esp + 0x78]
mov dword [eax + 0x10], ebp
mov ebp, dword [esp + 0x74]
cmp byte [0x4d1078], 0
jne 0x401777
mov dword [eax + 0xc], ebp
mov dword [esp + 0x4c], eax
mov ebx, 0x484be9
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0xb
mov dword [esp], 0x47bd00
call fcn.0040bb50
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 + 0x4c]
mov dword [esp + 0x58], eax
cmp byte [0x4d1078], 0
jne 0x40175f
mov dword [eax + 0x10], ecx
mov ebp, dword [esp + 0x70]
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x6c]
cmp byte [0x4d1078], 0
jne 0x401747
mov dword [eax + 8], ebp
mov dword [esp + 0x60], eax
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.0044df30
mov ebx, dword [esp + 8]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
call fcn.0044df30
mov ebx, dword [esp + 8]
mov dword [esp + 0x50], ebx
mov dword [esp], 0x4733e0
call fcn.0040bb50
mov eax, dword [esp + 4]
mov ebp, dword [0x48eca0]
mov dword [eax], ebp
mov ebp, dword [0x48eca4]
mov dword [eax + 4], ebp
mov ebp, dword [0x48eca8]
mov dword [eax + 8], ebp
mov ebp, dword [0x48ecac]
mov dword [eax + 0xc], ebp
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov edx, 4
mov ecx, 4
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 0xac], eax
mov dword [esp + 4], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 8], edx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xc], ecx
call fcn.0044d850
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.0044a97c
mov dword [esp], 0x202
lea ebx, [esp + 0xc4]
mov dword [esp + 4], ebx
call fcn.0044e930
mov dword [esp], 2
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.0044e4a0
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x38], ebx
mov dword [esp], 0x47ae60
call fcn.0040bb50
mov edi, dword [esp + 4]
cmp edi, 0
je 0x401740
mov esi, 0x48ed90
mov edx, edi
cld
call fcn.0044aeb4
cmp edx, 0
je 0x401739
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
mov eax, 0x4c0140
mov dword [esp + 0x7c], eax
mov dword [esp + 4], eax
mov dword [esp + 0x80], edx
mov dword [esp + 8], edx
call fcn.0044e560
xor ebx, ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov eax, 4
mov dword [esp + 0x84], eax
lea ebx, [esp + 0x28]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], 0
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
lea ebx, [esp + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
lea ebx, [esp + 0x48]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0044ebc0
lea ebx, [esp + 0x28]
cmp ebx, 0
je 0x401732
mov eax, 4
mov edx, 4
mov ecx, ebx
mov dword [esp + 0xa8], edx
cmp eax, 3
jbe 0x40172b
add ebx, 3
movzx ebp, byte [ebx]
cmp eax, 0
jbe 0x401724
movzx ebp, byte [ecx]
mov esi, ebp
cmp eax, 1
jbe 0x40171d
mov ebx, ecx
inc ebx
movzx ebp, byte [ebx]
mov ebx, ebp
shl ebx, 8
or esi, ebx
cmp eax, 2
jbe 0x401716
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 + 0xa4], eax
jbe 0x40170f
mov ebx, ecx
mov dword [esp + 0xa0], ecx
add ebx, 3
movzx ebp, byte [ebx]
mov ebx, ebp
shl ebx, 0x18
mov ebp, edx
or ebp, ebx
mov dword [esp], 0x474f80
xor ecx, ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0x44], ebp
xor ecx, ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.004347f0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x9c], ebx
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x84], ebx
cmp ecx, 0
mov dword [esp + 0x98], ecx
jbe 0x401708
mov dword [esp + 0x94], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x44]
cmp eax, ebp
jae 0x4015f4
mov ebx, dword [esp + 0x38]
mov dword [esp], ebx
lea ebx, [esp + 0x84]
mov dword [esp + 4], ebx
mov dword [esp + 8], 1
lea ebx, [esp + 0x48]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0044ebc0
mov edi, dword [esp + 0xc0]
xor esi, esi
mov eax, dword [esp + 0x48]
cmp eax, esi
jle 0x4015dc
mov dword [esp + 0x30], esi
mov ebp, dword [esp + 0x98]
cmp esi, ebp
jae 0x401701
mov ebp, dword [esp + 0x94]
add ebp, esi
movzx ebx, byte [ebp]
mov byte [esp + 0x27], bl
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov eax, ebx
inc ebx
cmp ebx, edi
ja 0x4016b8
mov dword [esp + 0xbc], 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 + 0x48]
cmp eax, esi
jg 0x401582
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov ebp, dword [esp + 0x44]
cmp eax, ebp
jb 0x401532
mov ebx, dword [esp + 0x44]
add ebx, 5
mov dword [esp], ebx
call fcn.00401040
mov ebx, dword [esp + 4]
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
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 + 0xb8]
mov ebp, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc0]
xor eax, eax
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x40]
cmp eax, ebp
jge 0x40167a
movzx ebp, byte [ecx]
mov esi, eax
add esi, 5
mov edi, ebp
cmp edx, 0
je 0x4016b4
mov ebp, esi
mov esi, edx
cmp ebp, 0xfa000
jae 0x4016ad
add esi, ebp
xchg edi, eax
mov byte [esi], al
xchg edi, eax
inc ecx
inc eax
mov ebp, dword [esp + 0x40]
cmp eax, ebp
jl 0x40164f
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.0043b6c0
add esp, 0x254
ret
call fcn.00423570
ud2
mov dword [edx], eax
jmp 0x40165e
mov dword [esp], 0x474f80
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
call fcn.00434990
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], edi
mov dword [esp + 0xb8], ecx
jmp 0x4015c6
call fcn.00423570
ud2
call fcn.00423570
ud2
call fcn.00423570
ud2
call fcn.00423570
ud2
call fcn.00423570
ud2
call fcn.00423570
ud2
call fcn.00423570
ud2
mov dword [ebx], eax
jmp 0x401401
mov dword [edx], eax
jmp 0x401348
mov dword [edi], eax
jmp 0x401332
lea esi, [eax + 8]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040c4e0
mov eax, dword [esp + 0x58]
jmp 0x401216
lea esi, [eax + 0x10]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0040c4e0
mov eax, dword [esp + 0x58]
jmp 0x4011fb
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040c4e0
mov eax, dword [esp + 0x5c]
jmp 0x4011ab
call fcn.004489b0
jmp fcn.00401110