Function at 0x180061c60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x180061d0e
mov rcx, rdi
call fcn.1800588f0
mov r10, qword [rbx + 8]
mov r11, rax
mov rcx, r10
mov r8, rax
test rax, rax
je 0x180061cd5
mov r9, rdi
sub r9, r10
movzx edx, byte [r9 + rcx]
dec r8
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
cmp dl, al
jne 0x180061ccf
test dl, dl
je 0x180061cd5
test r8, r8
jne 0x180061cb1
jmp 0x180061cd5
mov ecx, edx
sub ecx, eax
jne 0x180061d05
cmp byte [r10], 0
mov rax, r10
je 0x180061ce8
nop
inc rax
cmp byte [rax], 0
jne 0x180061ce0
sub rax, r10
cmp rax, r11
je 0x180061f14
lea rcx, [r10 + r11]
call fcn.1800620b0
test eax, eax
jg 0x180061f14
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180061c91
mov dl, 3
call fcn.180071aa0
movabs rax, 0x3b1121906424e063
lea r8, [rbp - 0x19]
mov qword [rbp - 0x79], rax
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x79]
movabs r15, 0x4f3145f5084d8105
mov qword [rbp - 0x19], rax
movabs r14, 0x6fda61f061f8fbc2
movabs rax, 0x6fa059e089edbad
mov edx, r8d
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x11], rax
movabs rax, 0x1c5531814c115aa9
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp - 9], rax
movabs rax, 0x44ccc44ab0c64a2c
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp - 1], rax
mov qword [rbp - 0x79], r15
mov rax, qword [rbp - 0x79]
mov qword [rbp + 7], rax
mov qword [rbp - 0x79], r14
mov rax, qword [rbp - 0x79]
mov qword [rbp + 0xf], rax
movabs rax, 0x793650e73e742ec7
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp + 0x17], rax
movabs rax, 0x44ccc44ab0c6680c
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
movdqa xmm1, xmmword [rbp - 0x19]
pxor xmm1, xmmword [rbp + 7]
movdqa xmm0, xmmword [rbp - 9]
mov qword [rbp + 0x1f], rax
movq rax, xmm1
pxor xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmmword [rbp - 9], xmm0
test al, al
je 0x180061e0b
nop word [rax + rax]
inc rcx
mov rdx, rcx
cmp byte [rcx], 0
jne 0x180061e00
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
xor esi, esi
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
mov ecx, edi
cmp byte [rdi], sil
je 0x180061e4b
nop word [rax + rax]
inc rax
mov rcx, rax
cmp byte [rax], sil
jne 0x180061e40
sub ecx, edi
mov qword [rsp + 0x20], rsi
mov r8d, ecx
xor r9d, r9d
mov rcx, qword [0x180175e68]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0x4f3145f5084d8127
lea r8, [rbp - 0x29]
mov qword [rbp - 0x79], rax
lea rcx, [rbp - 0x29]
mov rax, qword [rbp - 0x79]
mov edx, r8d
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x79], r14
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x79], r15
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x79], r14
mov rax, qword [rbp - 0x79]
movdqa xmm0, xmmword [rbp - 0x29]
mov qword [rbp - 0x61], rax
pxor xmm0, xmmword [rbp - 0x69]
movq rax, xmm0
movdqa xmmword [rbp - 0x29], xmm0
test al, al
je 0x180061ed0
inc rcx
mov rdx, rcx
cmp byte [rcx], sil
jne 0x180061ec5
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x29]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800d6d50
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [rbx]
mov dl, 1
mov rdi, rax
call fcn.180071aa0
movabs rax, 0x2b5437807c3de066
lea r8, [rbp - 0x49]
mov qword [rbp - 0x79], rax
movabs r15, 0x4f3145f5084d8105
mov rcx, qword [rbp - 0x79]
movabs rax, 0x6fda61f061f8d9e2
mov qword [rbp - 0x49], rcx
movabs r14, 0x6fda61f061f8fbc2
mov qword [rbp - 0x79], rax
mov edx, r8d
mov rcx, qword [rbp - 0x79]
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x79], r15
mov rcx, qword [rbp - 0x79]
mov qword [rbp - 0x59], rcx
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x79], r14
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x51], rax
movdqa xmm0, xmmword [rbp - 0x59]
pxor xmm0, xmmword [rbp - 0x49]
movq rax, xmm0
movdqa xmmword [rbp - 0x49], xmm0
test al, al
je 0x180061fab
nop dword [rax + rax]
inc rcx
mov rdx, rcx
cmp byte [rcx], 0
jne 0x180061fa0
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
xor esi, esi
lea rdx, [rbp - 0x49]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 8]
mov rax, rdx
mov ecx, edx
cmp byte [rdx], sil
je 0x180061feb
nop word [rax + rax]
inc rax
mov rcx, rax
cmp byte [rax], sil
jne 0x180061fe0
sub ecx, edx
mov qword [rsp + 0x20], rsi
mov r8d, ecx
xor r9d, r9d
mov rcx, qword [0x180175e68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0x294320816624a127
lea r8, [rbp - 0x39]
mov qword [rbp - 0x79], rax
lea rcx, [rbp - 0x39]
mov rax, qword [rbp - 0x79]
mov edx, r8d
mov qword [rbp - 0x39], rax
movabs rax, 0x6fda61f0619d98a3
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x79], r15
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x79], r14
mov rax, qword [rbp - 0x79]
movdqa xmm0, xmmword [rbp - 0x39]
mov qword [rbp - 0x61], rax
pxor xmm0, xmmword [rbp - 0x69]
movq rax, xmm0
movdqa xmmword [rbp - 0x39], xmm0
test al, al
je 0x18006207b
nop dword [rax]
inc rcx
mov rdx, rcx
cmp byte [rcx], sil
jne 0x180062070
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x39]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
jmp 0x180061ef1