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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rcx, [0x140160643]
call fcn.1400f7320
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
and eax, 0x40000
test eax, eax
je 0x1400e06dc
mov byte [rsp + 0x3c], 1
jmp 0x1400e06e1
mov byte [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x20], al
cmp qword [rsp + 0x88], 0
je 0x1400e0711
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
jmp 0x1400e0722
mov rcx, qword [rsp + 0x80]
call sub.ucrtbased.dll_strlen
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x24]
jl 0x1400e07ee
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400e0756
jmp 0x1400e08ec
mov rax, qword [0x14014dfc0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rax, 0x4348
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x24]
mov ecx, 0x100
call fcn.1400bd610
mov ecx, dword [rsp + 0x24]
shl ecx, 2
mov r8d, eax
mov edx, 0x20
call fcn.1400bd0b0
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x20]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x38]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.140055fe0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x28]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x44], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x24], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
cmp dword [rax + 0x20], ecx
je 0x1400e084f
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
mov eax, dword [rax + 0x20]
sub eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x18]
movsxd rdx, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov r8, qword [r8 + 0x18]
add r8, rdx
mov rdx, r8
movsxd r8, dword [rsp + 0x24]
add rdx, r8
mov qword [rsp + 0x50], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x50]
mov rcx, rax
call sub.VCRUNTIME140D.dll_memmove
nop
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x18]
mov r8, rax
mov rdx, qword [rsp + 0x80]
call sub.VCRUNTIME140D.dll_memcpy
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
add eax, dword [rsp + 0x24]
cdqe
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x18]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
cmp dword [rax + 0x2c], ecx
jl 0x1400e08af
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x2c]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x2c]
mov dword [rax + 0x34], ecx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x34]
mov dword [rax + 0x30], ecx
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x28], 1
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x20], eax
add rsp, 0x60
pop rdi
ret