Function at 0x140016c28
Capabilities:
Contain obfuscated stackstrings
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xfc0]
mov eax, 0x10c0
call fcn.140022db0
sub rsp, rax
mov rax, qword [0x14002c038]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov eax, dword [rcx + 8]
xor edi, edi
xorps xmm0, xmm0
mov dword [rsp + 0x6c], eax
movups xmmword [rsp + 0x70], xmm0
mov r8, rdx
mov dword [rsp + 0x30], edi
xor eax, eax
mov dword [rsp + 0x34], edi
mov rbx, rcx
mov qword [rbp - 0x60], rax
lea esi, [rdi + 1]
mov dword [rsp + 0x60], 0x30b0005
lea rdx, [rbp - 0x80]
mov byte [rsp + 0x78], sil
mov rcx, r8
mov dword [rsp + 0x64], 0x10
lea r15d, [rdi + 5]
mov dword [rsp + 0x68], 0x48
movups xmmword [rbp - 0x80], xmm0
mov r14d, 0x1000
mov qword [rsp + 0x70], 0x10001000
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x7c], 0x10000
mov dword [rbp - 0x5c], 2
call fcn.140016ae8
test eax, eax
jne 0x140016e96
mov dword [rbp - 0x70], 2
mov ecx, edi
mov byte [rsp + 0x38], 0x41
mov byte [rsp + 0x39], 0x6a
mov byte [rsp + 0x3a], 0x41
mov byte [rsp + 0x3b], 0x41
mov byte [rsp + 0x3c], 0x3e
mov byte [rsp + 0x3d], 0x6d
mov byte [rsp + 0x3e], 0x39
mov byte [rsp + 0x3f], 0x3d
mov byte [rsp + 0x40], 0x36
mov byte [rsp + 0x41], 0x3a
mov byte [rsp + 0x42], 0x6c
mov byte [rsp + 0x43], 0x6e
mov byte [rsp + 0x44], 0x6b
mov byte [rsp + 0x45], 0x36
mov byte [rsp + 0x46], 0x3a
mov byte [rsp + 0x47], 0x3a
mov byte [rsp + 0x48], 0x6c
mov byte [rsp + 0x49], 0x42
mov byte [rsp + 0x4a], 0x36
mov byte [rsp + 0x4b], 0x42
mov byte [rsp + 0x4c], 0x6f
mov byte [rsp + 0x4d], 0x6e
mov byte [rsp + 0x4e], 0x41
mov byte [rsp + 0x4f], 0x36
mov byte [rsp + 0x50], 0x39
mov byte [rsp + 0x51], 0x41
mov byte [rsp + 0x52], 0x39
mov byte [rsp + 0x53], 0x39
mov byte [rsp + 0x54], 0x3b
mov byte [rsp + 0x55], 0x6b
mov byte [rsp + 0x56], 0x3a
mov byte [rsp + 0x57], 0x39
mov byte [rsp + 0x58], 0x3d
mov byte [rsp + 0x59], 0x41
mov byte [rsp + 0x5a], 0x3f
mov byte [rsp + 0x5b], 0x39
mov byte [rsp + 0x5c], dil
mov al, byte [rsp + 0x38]
mov al, byte [rsp + rcx + 0x38]
sub al, 9
mov byte [rsp + rcx + 0x38], al
add rcx, rsi
cmp rcx, 0x24
jb 0x140016da3
lea rdx, [rbp - 0x6c]
lea rcx, [rsp + 0x38]
call fcn.140016ae8
test eax, eax
jne 0x140016e96
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
lea r8d, [rax + 0x10]
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140016e96
mov rcx, qword [rbx]
lea r9, [rsp + 0x30]
mov r8d, 0x38
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140016e96
add dword [rbx + 8], esi
lea rcx, [rbp - 0x50]
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
lea r9, [rsp + 0x34]
mov r8d, r14d
mov qword [rsp + 0x20], rdi
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140016e96
cmp word [rbp - 0x50], r15w
jne 0x140016e96
cmp byte [rbp - 0x4e], 0xc
jne 0x140016e96
cmp byte [rbp - 0x4d], 3
jne 0x140016e96
movzx eax, word [rbp - 0x48]
cmp eax, dword [rsp + 0x34]
jne 0x140016e96
mov eax, 0x100
cmp word [rbp - 0x38], ax
ja 0x140016e96
movzx ecx, word [rbp - 0x38]
lea rdx, [rcx + 5]
and rdx, 0xfffffffffffffffc
sub rdx, rcx
sub rdx, 2
mov edx, edx
add rdx, rcx
cmp dword [rbp + rdx - 0x36], esi
jne 0x140016e96
cmp word [rbp + rdx - 0x32], di
jne 0x140016e96
xor eax, eax
jmp 0x140016e98
mov eax, esi
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.1400226f0
mov rbx, qword [rsp + 0x1100]
add rsp, 0x10c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret