Function at 0x180068960
Capabilities:
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x180195040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, rdx
test rdx, rdx
je 0x180068bdd
mov qword [0x180197b10], rdx
lea r8, [0x180197b20]
lea rdx, [0x1800662b0]
mov rcx, rax
mov qword [0x180197b18], rdx
call fcn.180056850
test eax, eax
je 0x180068aa5
mov dl, 3
call fcn.18008b850
movabs rcx, 0xd7e14f6740ca1b56
lea rdx, [rbp + 7]
movabs rax, 0x49b529c56f5c3689
mov r8d, edx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 7], rax
movabs rax, 0xa62bc7446987e2c3
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0xf], rax
movabs rax, 0xb1cca19dcb0a1611
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x17], rax
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp + 0x1f], rax
movabs rax, 0x3d954da0033557ef
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x27], rax
movabs rax, 0xc35fa6211be4c2ac
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
movabs rax, 0xb1cca1f6a4657e31
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x37], rax
mov qword [rbp - 9], rcx
lea rcx, [rbp + 7]
mov rax, qword [rbp - 9]
movdqa xmm1, xmmword [rbp + 7]
xorps xmm1, xmmword [rbp + 0x27]
movdqa xmm0, xmmword [rbp + 0x17]
mov qword [rbp + 0x3f], rax
movq rax, xmm1
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 7], xmm1
movdqa xmmword [rbp + 0x17], xmm0
test al, al
je 0x180068bbc
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x180068a95
jmp 0x180068bbc
mov rcx, qword [0x180197b10]
test rcx, rcx
je 0x180068bdd
cmp byte [0x180197b08], 0
jne 0x180068bdd
mov edx, 1
call fcn.180056e00
test eax, eax
je 0x180068bf4
mov dl, 3
call fcn.18008b850
movabs rcx, 0xd7e14f6740ca1b56
lea rdx, [rbp + 7]
movabs rax, 0x49b529c56f5c3689
mov r8d, edx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 7], rax
movabs rax, 0xa633c4407581e2c3
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0xf], rax
movabs rax, 0xb1cca19dcb0a1611
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x17], rax
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
mov qword [rbp + 0x1f], rax
movabs rax, 0x3d954da0033557ef
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x27], rax
movabs rax, 0xc35fa6211be4c2ac
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
movabs rax, 0xb1cca1f6a4657e31
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x37], rax
mov qword [rbp - 9], rcx
mov rax, qword [rbp - 9]
movdqa xmm1, xmmword [rbp + 7]
xorps xmm1, xmmword [rbp + 0x27]
movdqa xmm0, xmmword [rbp + 0x17]
movq rcx, xmm1
mov qword [rbp + 0x3f], rax
lea rax, [rbp + 7]
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 7], xmm1
movdqa xmmword [rbp + 0x17], xmm0
test cl, cl
je 0x180068bbc
inc rax
mov r8, rax
cmp byte [rax], 0
jne 0x180068bb1
sub r8d, edx
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 7]
xor r9d, r9d
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_WriteFile]
int3
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800f1520
add rsp, 0x90
pop rbp
ret
mov byte [0x180197b08], 1
mov al, 1
jmp 0x180068bdf