Function at 0x18005cca0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x180141040]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea r15, str.Source2Client00
mov rbx, rcx
test rcx, rcx
je 0x18005cd72
mov rax, r15
inc rax
cmp byte [rax], 0
jne 0x18005cce4
mov r11, qword [rbx + 8]
sub rax, r15
mov r8, rax
mov rcx, r11
je 0x18005cd35
mov r10, r15
sub r10, r11
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r10 + rcx]
dec r8
movzx r9d, byte [rcx]
lea rcx, [rcx + 1]
cmp dl, r9b
jne 0x18005cd30
test dl, dl
je 0x18005cd35
test r8, r8
jne 0x18005cd10
jmp 0x18005cd35
sub edx, r9d
jne 0x18005cd65
cmp byte [r11], 0
mov rcx, r11
je 0x18005cd48
nop
inc rcx
cmp byte [rcx], 0
jne 0x18005cd40
sub rcx, r11
cmp rcx, rax
je 0x18005cf66
lea rcx, [r11 + rax]
call fcn.18005d100
test eax, eax
jg 0x18005cf66
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x18005cce1
mov dl, 3
call fcn.180072d40
movabs rax, 0xa298e65bcac4b009
lea r8, [rbp - 9]
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 9]
mov rax, qword [rbp - 0x29]
movabs r14, 0xd6b8823ea6add16f
mov qword [rbp - 9], rax
movabs rsi, 0x95e958374533b2f0
movabs rax, 0xfcc93c592c55929f
mov edx, r8d
mov qword [rbp - 0x29], rax
mov rax, qword [rbp - 0x29]
mov qword [rbp - 1], rax
movabs rax, 0x5c6771463cf806ff
mov qword [rbp - 0x29], rax
mov rax, qword [rbp - 0x29]
mov qword [rbp + 7], rax
movabs rax, 0x374c077972289912
mov qword [rbp - 0x29], rax
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x29], r14
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x29], rsi
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x1f], rax
movabs rax, 0x390410204e9d7291
mov qword [rbp - 0x29], rax
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x27], rax
movabs rax, 0x374c07797228bb32
mov qword [rbp - 0x29], rax
mov rax, qword [rbp - 0x29]
vmovdqu xmm0, xmmword [rbp - 9]
vpxor xmm2, xmm0, xmmword [rbp + 0x17]
mov qword [rbp + 0x2f], rax
vmovdqu xmm0, xmmword [rbp + 0x27]
vpxor xmm1, xmm0, xmmword [rbp + 7]
vmovq rax, xmm2
vmovdqu xmmword [rbp + 7], xmm1
vmovdqu xmmword [rbp - 9], xmm2
test al, al
je 0x18005ce6f
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0
jne 0x18005ce60
mov r8d, ecx
lea rdx, [rbp - 9]
mov rcx, qword [0x180141318]
sub r8d, edx
xor edi, edi
lea rdx, [rbp - 9]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8, r15
inc r8
cmp byte [r8], dil
jne 0x18005ce90
mov rcx, qword [0x180141318]
sub r8d, r15d
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xd6b8823ea6add14d
lea r8, [rbp - 0x19]
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x29]
mov edx, r8d
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x29], rsi
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x29], r14
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x29], rsi
mov rax, qword [rbp - 0x29]
vmovdqu xmm0, xmmword [rbp - 0x19]
mov qword [rbp + 0x1f], rax
vpxor xmm1, xmm0, xmmword [rbp + 0x17]
vmovq rax, xmm1
vmovdqu xmmword [rbp - 0x19], xmm1
test al, al
je 0x18005cf1f
inc rcx
cmp byte [rcx], dil
jne 0x18005cf10
mov r8d, ecx
lea rdx, [rbp - 0x19]
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800d7380
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [rbx]
mov dl, 1
mov r15, rax
call fcn.180072d40
movabs rax, 0xb2ddf04bd2ddb00c
lea r8, [rbp - 9]
mov qword [rbp - 0x29], rax
movabs r14, 0xd6b8823ea6add16f
mov rcx, qword [rbp - 0x29]
movabs rax, 0x95e95837453390d0
mov qword [rbp - 9], rcx
movabs rsi, 0x95e958374533b2f0
mov qword [rbp - 0x29], rax
mov edx, r8d
mov rcx, qword [rbp - 0x29]
mov qword [rbp - 1], rcx
mov qword [rbp - 0x29], r14
mov rcx, qword [rbp - 0x29]
mov qword [rbp + 0x17], rcx
lea rcx, [rbp - 9]
mov qword [rbp - 0x29], rsi
mov rax, qword [rbp - 0x29]
vmovdqu xmm0, xmmword [rbp - 9]
mov qword [rbp + 0x1f], rax
vpxor xmm1, xmm0, xmmword [rbp + 0x17]
vmovq rax, xmm1
vmovdqu xmmword [rbp - 9], xmm1
test al, al
je 0x18005cfff
nop dword [rax]
inc rcx
cmp byte [rcx], 0
jne 0x18005cff0
mov r8d, ecx
lea rdx, [rbp - 9]
mov rcx, qword [0x180141318]
sub r8d, edx
xor edi, edi
lea rdx, [rbp - 9]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 8]
mov rax, rdx
mov r8d, edx
cmp byte [rdx], dil
je 0x18005d03b
nop dword [rax]
inc rax
mov r8, rax
cmp byte [rax], dil
jne 0x18005d030
mov rcx, qword [0x180141318]
sub r8d, edx
xor r9d, r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xb0cae74ac8c4f14d
lea r8, [rbp - 0x19]
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x29]
mov edx, r8d
mov qword [rbp - 0x19], rax
movabs rax, 0x95e958374556d191
mov qword [rbp - 0x29], rax
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x29], r14
mov rax, qword [rbp - 0x29]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x29], rsi
mov rax, qword [rbp - 0x29]
vmovdqu xmm0, xmmword [rbp - 0x19]
mov qword [rbp + 0x1f], rax
vpxor xmm1, xmm0, xmmword [rbp + 0x17]
vmovq rax, xmm1
vmovdqu xmmword [rbp - 0x19], xmm1
test al, al
je 0x18005d0cf
nop word [rax + rax]
inc rcx
cmp byte [rcx], dil
jne 0x18005d0c0
mov r8d, ecx
lea rdx, [rbp - 0x19]
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, r15
jmp 0x18005cf3d