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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xe74]
and eax, 0x40000
test eax, eax
je 0x140060355
mov byte [rsp + 0x20], 1
jmp 0x14006035a
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax*2]
mov rdx, rax
mov rcx, qword [rsp + 0x90]
call fcn.140017230
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400603ca
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
mov ecx, dword [rsp + 0x40]
lea eax, [rcx + rax + 1]
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x40]
jle 0x1400603ca
xor al, al
jmp 0x140060591
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx + 1]
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 8]
jle 0x140060488
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400603fa
xor al, al
jmp 0x140060591
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x98], 0x100
jg 0x140060422
mov dword [rsp + 0x28], 0x100
jmp 0x14006042d
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x98]
shl eax, 2
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x20
jge 0x14006044c
mov dword [rsp + 0x3c], 0x20
jmp 0x140060470
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x30], eax
jle 0x140060460
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
jmp 0x140060468
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx + 1]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.140028490
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x88], eax
je 0x140060500
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cdqe
shl rax, 1
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*2]
movsxd rdx, dword [rsp + 0x88]
mov r8, qword [rsp + 0x48]
lea rdx, [r8 + rdx*2]
movsxd r8, dword [rsp + 0x98]
lea rdx, [rdx + r8*2]
mov qword [rsp + 0x58], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x58]
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
movsxd rax, dword [rsp + 0x98]
shl rax, 1
movsxd rcx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
lea rcx, [rdx + rcx*2]
mov r8, rax
mov rdx, qword [rsp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x3c]
add eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x38]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x38], eax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
xor edx, edx
mov word [rcx + rax*2], dx
mov al, 1
add rsp, 0x78
ret