Function at 0x180065080
Capabilities:
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, rdx
test rdx, rdx
je 0x1800652fc
mov qword [0x1801d13a8], rdx
lea r8, [0x1801d13b8]
lea rdx, [0x180063bf0]
mov rcx, rax
mov qword [0x1801d13b0], rdx
call fcn.180054d90
test eax, eax
je 0x1800651c5
mov dl, 3
call fcn.18008d420
movabs rcx, 0x43f7adb5344dc306
lea rdx, [rbp + 7]
movabs rax, 0xbd248dd307919a51
mov r8d, edx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 7], rax
movabs rax, 0x8d544c825f33d513
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0xf], rax
movabs rax, 0xcc487f77e0d64aa9
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, 0xc904e9b66bf8fb37
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x27], rax
movabs rax, 0xe8202de72d50f57c
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
movabs rax, 0xcc487f1c8fb92289
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 0x1800652dc
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x1800651b5
jmp 0x1800652dc
mov rcx, qword [0x1801d13a8]
test rcx, rcx
je 0x1800652fc
cmp byte [0x1801d13a0], 0
jne 0x1800652fc
mov edx, 1
call fcn.180055290
test eax, eax
je 0x180065313
mov dl, 3
call fcn.18008d420
movabs rcx, 0x43f7adb5344dc306
lea rdx, [rbp + 7]
movabs rax, 0xbd248dd307919a51
mov r8d, edx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 7], rax
movabs rax, 0x8d4c4f864335d513
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0xf], rax
movabs rax, 0xcc487f77e0d64aa9
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, 0xc904e9b66bf8fb37
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x27], rax
movabs rax, 0xe8202de72d50f57c
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
movabs rax, 0xcc487f1c8fb92289
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 0x1800652dc
inc rax
mov r8, rax
cmp byte [rax], 0
jne 0x1800652d1
mov rcx, qword [0x1801ceca8]
sub r8d, edx
lea rdx, [rbp + 7]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800f39f0
add rsp, 0x90
pop rbp
ret
mov byte [0x1801d13a0], 1
mov al, 1
jmp 0x1800652fe