Function at 0x180063ad0
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, 0xa0
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x180063b92
cmp byte [rdi], 0
mov rax, rdi
je 0x180063b18
nop dword [rax]
inc rax
cmp byte [rax], 0
jne 0x180063b10
mov r11, qword [rbx + 8]
sub rax, rdi
mov r8, rax
mov rcx, r11
je 0x180063b55
mov r10, rdi
sub r10, r11
nop dword [rax]
movzx edx, byte [r10 + rcx]
dec r8
movzx r9d, byte [rcx]
lea rcx, [rcx + 1]
cmp dl, r9b
jne 0x180063b50
test dl, dl
je 0x180063b55
test r8, r8
jne 0x180063b30
jmp 0x180063b55
sub edx, r9d
jne 0x180063b85
cmp byte [r11], 0
mov rcx, r11
je 0x180063b68
nop
inc rcx
cmp byte [rcx], 0
jne 0x180063b60
sub rcx, r11
cmp rcx, rax
je 0x180063d92
lea rcx, [r11 + rax]
call fcn.180063f20
test eax, eax
jg 0x180063d92
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180063b05
mov dl, 3
call fcn.180076590
movabs rax, 0xd9d0a09b3ede2c59
lea r8, [rbp - 0x19]
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x39]
movabs r15, 0xadf0c4fe52b74d3f
mov qword [rbp - 0x19], rax
movabs r14, 0x792321f7c1f9c8c8
movabs rax, 0x10034599a89fe8a7
mov edx, r8d
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x11], rax
movabs rax, 0xf22fb05e3002209f
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 9], rax
movabs rax, 0x8bf433a1c6f47a4a
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 1], rax
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0xf], rax
movabs rax, 0x974cd138426754f1
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x17], rax
movabs rax, 0x8bf433a1c6f4586a
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
movdqa xmm1, xmmword [rbp - 0x19]
xorps xmm1, xmmword [rbp + 7]
mov qword [rbp + 0x1f], rax
movq rax, xmm1
movdqa xmm0, xmmword [rbp + 0x17]
xorps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
movdqa xmmword [rbp - 0x19], xmm1
test al, al
je 0x180063c8f
nop dword [rax]
inc rcx
cmp byte [rcx], 0
jne 0x180063c80
mov r8d, ecx
lea rdx, [rbp - 0x19]
mov rcx, qword [0x18017bed8]
sub r8d, edx
xor esi, esi
lea rdx, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
mov r8d, edi
cmp byte [rdi], sil
je 0x180063ccb
nop dword [rax + rax]
inc rax
mov r8, rax
cmp byte [rax], sil
jne 0x180063cc0
mov rcx, qword [0x18017bed8]
sub r8d, edi
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xadf0c4fe52b74d1d
lea r8, [rbp - 0x29]
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x29]
mov rax, qword [rbp - 0x39]
mov edx, r8d
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
movdqa xmm0, xmmword [rbp - 0x29]
mov qword [rbp + 0xf], rax
xorps xmm0, xmmword [rbp + 7]
movq rax, xmm0
movdqa xmmword [rbp - 0x29], xmm0
test al, al
je 0x180063d51
inc rcx
cmp byte [rcx], sil
jne 0x180063d42
mov r8d, ecx
lea rdx, [rbp - 0x29]
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800db5c0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [rbx]
mov dl, 1
mov rdi, rax
call fcn.180076590
movabs rax, 0xc995b68b26c72c5c
lea r8, [rbp - 0x19]
mov qword [rbp - 0x39], rax
movabs r15, 0xadf0c4fe52b74d3f
mov rcx, qword [rbp - 0x39]
movabs rax, 0x792321f7c1f9eae8
mov qword [rbp - 0x19], rcx
movabs r14, 0x792321f7c1f9c8c8
mov qword [rbp - 0x39], rax
mov edx, r8d
mov rcx, qword [rbp - 0x39]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 0x39], r15
mov rcx, qword [rbp - 0x39]
mov qword [rbp + 7], rcx
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
movdqa xmm0, xmmword [rbp - 0x19]
mov qword [rbp + 0xf], rax
xorps xmm0, xmmword [rbp + 7]
movq rax, xmm0
movdqa xmmword [rbp - 0x19], xmm0
test al, al
je 0x180063e27
inc rcx
cmp byte [rcx], 0
jne 0x180063e18
mov r8d, ecx
lea rdx, [rbp - 0x19]
mov rcx, qword [0x18017bed8]
sub r8d, edx
xor esi, esi
lea rdx, [rbp - 0x19]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 8]
mov rax, rdx
mov r8d, edx
cmp byte [rdx], sil
je 0x180063e5f
inc rax
mov r8, rax
cmp byte [rax], sil
jne 0x180063e54
mov rcx, qword [0x18017bed8]
sub r8d, edx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xcb82a18a3cde6d1d
lea r8, [rbp - 0x29]
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x29]
mov rax, qword [rbp - 0x39]
mov edx, r8d
mov qword [rbp - 0x29], rax
movabs rax, 0x792321f7c19caba9
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r15
mov rax, qword [rbp - 0x39]
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], r14
mov rax, qword [rbp - 0x39]
movdqa xmm0, xmmword [rbp - 0x29]
mov qword [rbp + 0xf], rax
xorps xmm0, xmmword [rbp + 7]
movq rax, xmm0
movdqa xmmword [rbp - 0x29], xmm0
test al, al
je 0x180063eef
nop dword [rax]
inc rcx
cmp byte [rcx], sil
jne 0x180063ee0
mov r8d, ecx
lea rdx, [rbp - 0x29]
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
jmp 0x180063d6f