Function at 0x14021e940
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
sub rsp, 0x68
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x80], rax
jne 0x14021e96e
jmp 0x14021eb97
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
and eax, 0x40000
test eax, eax
je 0x14021e986
mov byte [rsp + 0x20], 1
jmp 0x14021e98b
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x28], al
cmp qword [rsp + 0x88], 0
je 0x14021e9bb
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x30], eax
jmp 0x14021e9cc
mov rcx, qword [rsp + 0x80]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x28]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x70]
cmp eax, dword [rcx + 0x2c]
jl 0x14021ea99
movzx eax, byte [rsp + 0x28]
test eax, eax
jne 0x14021ea00
jmp 0x14021eb97
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x4ee0
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x24]
mov ecx, 0x100
call fcn.140235ff0
mov ecx, dword [rsp + 0x24]
shl ecx, 2
mov r8d, eax
mov edx, 0x20
call fcn.140235720
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x28]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x38]
add rax, 0x28
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x2c]
inc eax
mov edx, eax
mov rcx, qword [rsp + 0x48]
call fcn.1401aa930
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x30]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x4c], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
cmp dword [rax + 0x28], ecx
je 0x14021eafa
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
mov eax, dword [rax + 0x28]
sub eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x20]
movsxd rdx, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov r8, qword [r8 + 0x20]
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.VCRUNTIME140.dll_memmove
nop
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x80]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x28]
add eax, dword [rsp + 0x24]
cdqe
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x20]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x78]
cmp dword [rax + 0x34], ecx
jl 0x14021eb5a
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x34]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x34], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x34]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x3c]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x30], 1
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x28]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x28], eax
add rsp, 0x68
ret