Function at 0x1400154c0
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.140023d00
sub rsp, rax
mov rax, qword [0x140051af8]
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.140015380
test eax, eax
jne 0x14001572e
mov dword [rbp - 0x70], 2
mov ecx, edi
mov byte [rsp + 0x38], 0x43
mov byte [rsp + 0x39], 0x6c
mov byte [rsp + 0x3a], 0x43
mov byte [rsp + 0x3b], 0x43
mov byte [rsp + 0x3c], 0x40
mov byte [rsp + 0x3d], WSAStartup
mov byte [rsp + 0x3e], 0x3b
mov byte [rsp + 0x3f], 0x3f
mov byte [rsp + 0x40], 0x38
mov byte [rsp + 0x41], 0x3c
mov byte [rsp + 0x42], 0x6e
mov byte [rsp + 0x43], WSACleanup
mov byte [rsp + 0x44], 0x6d
mov byte [rsp + 0x45], 0x38
mov byte [rsp + 0x46], 0x3c
mov byte [rsp + 0x47], 0x3c
mov byte [rsp + 0x48], 0x6e
mov byte [rsp + 0x49], 0x44
mov byte [rsp + 0x4a], 0x38
mov byte [rsp + 0x4b], 0x44
mov byte [rsp + 0x4c], WSACleanup
mov byte [rsp + 0x4d], WSACleanup
mov byte [rsp + 0x4e], 0x43
mov byte [rsp + 0x4f], 0x38
mov byte [rsp + 0x50], 0x3b
mov byte [rsp + 0x51], 0x43
mov byte [rsp + 0x52], 0x3b
mov byte [rsp + 0x53], 0x3b
mov byte [rsp + 0x54], 0x3d
mov byte [rsp + 0x55], 0x6d
mov byte [rsp + 0x56], 0x3c
mov byte [rsp + 0x57], 0x3b
mov byte [rsp + 0x58], 0x3f
mov byte [rsp + 0x59], 0x43
mov byte [rsp + 0x5a], 0x41
mov byte [rsp + 0x5b], 0x3b
mov byte [rsp + 0x5c], dil
mov al, byte [rsp + 0x38]
mov al, byte [rsp + rcx + 0x38]
sub al, 0xb
mov byte [rsp + rcx + 0x38], al
add rcx, rsi
cmp rcx, 0x24
jb 0x14001563b
lea rdx, [rbp - 0x6c]
lea rcx, [rsp + 0x38]
call fcn.140015380
test eax, eax
jne 0x14001572e
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 0x14001572e
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 0x14001572e
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 0x14001572e
cmp word [rbp - 0x50], r15w
jne 0x14001572e
cmp byte [rbp - 0x4e], 0xc
jne 0x14001572e
cmp byte [rbp - 0x4d], 3
jne 0x14001572e
movzx eax, word [rbp - 0x48]
cmp eax, dword [rsp + 0x34]
jne 0x14001572e
mov eax, 0x100
cmp word [rbp - 0x38], ax
ja 0x14001572e
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 0x14001572e
cmp word [rbp + rdx - 0x32], di
jne 0x14001572e
xor eax, eax
jmp 0x140015730
mov eax, esi
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.140023640
mov rbx, qword [rsp + 0x1100]
add rsp, 0x10c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret