Function at 0x18005e140
Capabilities:
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rax, rdx
test rdx, rdx
je 0x18005e3ce
mov qword [0x180177a78], rdx
lea r8, [0x180177a88]
lea rdx, [0x18005cf50]
mov rcx, rax
mov qword [0x180177a80], rdx
call fcn.18004e8d0
test eax, eax
je 0x18005e290
mov dl, 3
call fcn.180071aa0
movabs rcx, 0x44ccc44ab0c6680c
lea r8, [rbp + 7]
movabs rax, 0x3b1121906424e063
mov edx, r8d
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 7], rax
movabs rax, 0xaae0095139bdbad
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0xf], rax
movabs rax, 0x7936508c511b46e7
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, 0x4f3145f5084d8105
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x27], rax
movabs rax, 0x6fda61f061f8fbc2
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
movabs rax, 0x793650e73e742ec7
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]
pxor xmm1, xmmword [rbp + 0x27]
movdqa xmm0, xmmword [rbp + 0x17]
mov qword [rbp + 0x3f], rax
movq rax, xmm1
pxor xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 7], xmm1
movdqa xmmword [rbp + 0x17], xmm0
test al, al
je 0x18005e3ab
nop word [rax + rax]
inc rcx
mov rdx, rcx
cmp byte [rcx], 0
jne 0x18005e280
jmp 0x18005e3ab
mov rcx, qword [0x180177a78]
test rcx, rcx
je 0x18005e3ce
cmp byte [0x180177a70], 0
jne 0x18005e3ce
mov edx, 1
call fcn.18004edc0
test eax, eax
je 0x18005e3e5
mov dl, 3
call fcn.180071aa0
movabs rcx, 0x44ccc44ab0c6680c
lea r8, [rbp + 7]
movabs rax, 0x3b1121906424e063
mov edx, r8d
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 7], rax
movabs rax, 0xab603910f9ddbad
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0xf], rax
movabs rax, 0x7936508c511b46e7
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, 0x4f3145f5084d8105
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x27], rax
movabs rax, 0x6fda61f061f8fbc2
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov qword [rbp + 0x2f], rax
movabs rax, 0x793650e73e742ec7
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]
pxor xmm1, xmmword [rbp + 0x27]
movdqa xmm0, xmmword [rbp + 0x17]
movq rcx, xmm1
mov qword [rbp + 0x3f], rax
lea rax, [rbp + 7]
pxor xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 7], xmm1
movdqa xmmword [rbp + 0x17], xmm0
test cl, cl
je 0x18005e3ab
nop
inc rax
mov rdx, rax
cmp byte [rax], 0
jne 0x18005e3a0
mov rcx, qword [0x180175e68]
sub edx, r8d
mov r8d, edx
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 7]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor al, al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800d6d50
add rsp, 0x90
pop rbp
ret
mov byte [0x180177a70], 1
mov al, 1
jmp 0x18005e3d0