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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x60177b
sub esp, 0x7c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
call fcn.00601030
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x18]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x9c]
lea edx, [eax + ecx - 1]
test eax, eax
je 0x601775
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], edx
lea eax, [0x710620]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
lea ecx, [0x718d60]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
cmp ebx, 0xffffffff
je 0x601499
cdq
idiv ebx
jmp 0x60149b
neg eax
mov dword [esp + 0x24], eax
imul eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 8], eax
call fcn.00445e20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
lea ecx, [0x718d60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00445e20
mov eax, dword [esp + 0xc]
mov ecx, 1
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
xor ebp, ebp
mov esi, dword [esp + 0x3c]
mov edi, esi
jmp 0x6015e8
movzx edi, byte [esi + ebx]
xchg edi, eax
mov byte [esp + 0x1f], al
xchg edi, eax
movzx edi, byte [esi + eax]
xchg edi, eax
mov byte [esp + 0x1e], al
xchg edi, eax
movzx edi, byte [esp + 0x1f]
movzx ecx, byte [esp + 0x1e]
xor edi, ecx
xchg edi, eax
mov byte [ebx + esi], al
xchg edi, eax
inc esi
mov ecx, dword [esp + 0x40]
cmp edx, esi
jle 0x601526
cmp ebp, esi
ja 0x6014ef
jmp 0x601765
mov esi, dword [esp + 0x28]
inc esi
mov ebx, edx
mov edx, eax
mov eax, esi
mov ebp, dword [esp + 0x98]
cmp ebp, eax
jl 0x6015cf
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x44]
xor esi, esi
jmp 0x601519
mov eax, dword [esp + 0x34]
inc eax
mov ebp, dword [esp + 0x50]
mov esi, ebx
mov edi, ecx
mov ecx, eax
mov ebx, dword [esp + 0x64]
mov eax, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x24]
cmp edi, ecx
jl 0x60173c
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x94]
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [esp + 0x34]
mov ecx, eax
sar eax, 0x18
mov edx, dword [esp + 0x78]
mov byte [edx], al
mov eax, ecx
sar ecx, 0x10
mov byte [edx + 1], cl
mov ecx, eax
sar eax, 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 0x20]
mov ebp, dword [esp + 0x5c]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
mov ebp, eax
sub eax, ebx
cmp eax, ebp
ja 0x60176e
mov esi, ebp
sub ebp, eax
mov dword [esp + 0x44], ebp
mov edi, edx
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
add eax, ecx
mov edx, ebx
mov ebx, dword [esp + 0x38]
cmp ebp, ebx
jge 0x601738
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x64], ecx
mov esi, dword [esp + 0x68]
cmp eax, esi
je 0x601722
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0045fe20
mov eax, 2
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x38]
jmp 0x601531
mov ebp, ebx
jmp 0x6016fa
mov ecx, dword [esp + 0x9c]
cmp ecx, edx
ja 0x601760
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
add esp, 0x7c
ret
call fcn.0045f530
mov eax, esi
mov ecx, ebp
call fcn.0045f4f0
mov ecx, ebp
call fcn.0045f550
call fcn.004311e0
nop
call fcn.0045df10
jmp fcn.006013e0