Function at 0x180062c00
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 [0x180179040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x180062cae
mov rcx, rdi
call fcn.18005ab40
mov r10, qword [rbx + 8]
mov r11, rax
mov rcx, r10
mov r8, rax
test rax, rax
je 0x180062c75
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 0x180062c6f
test dl, dl
je 0x180062c75
test r8, r8
jne 0x180062c51
jmp 0x180062c75
mov ecx, edx
sub ecx, eax
jne 0x180062ca5
cmp byte [r10], 0
mov rax, r10
je 0x180062c88
nop
inc rax
cmp byte [rax], 0
jne 0x180062c80
sub rax, r10
cmp rax, r11
je 0x180062ea2
lea rcx, [r10 + r11]
call fcn.180063030
test eax, eax
jg 0x180062ea2
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180062c31
mov dl, 3
call fcn.1800755f0
movabs rax, 0xaf5543446da2241b
lea r8, [rbp - 0x19]
mov qword [rbp - 0x79], rax
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x79]
movabs r15, 0xdb75272101cb457d
mov qword [rbp - 0x19], rax
movabs r14, 0x12cf7f50f696ddf2
movabs rax, 0x7bef1b3e9ff0fd9d
mov edx, r8d
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp - 0x11], rax
movabs rax, 0xb8451cbd0fd8a2d1
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp - 9], rax
movabs rax, 0x115589aa4aef6624
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, 0xdd267ddb7dbdd6bf
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
mov qword [rbp + 0x17], rax
movabs rax, 0x115589aa4aef4404
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x79]
movdqa xmm1, xmmword [rbp - 0x19]
xorps xmm1, xmmword [rbp + 7]
movdqa xmm0, xmmword [rbp - 9]
mov qword [rbp + 0x1f], rax
movq rax, xmm1
xorps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmmword [rbp - 9], xmm0
test al, al
je 0x180062da4
inc rcx
cmp byte [rcx], 0
jne 0x180062d95
mov r8d, ecx
lea rdx, [rbp - 0x19]
mov rcx, qword [0x180179ed8]
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 0x180062ddb
nop dword [rax]
inc rax
mov r8, rax
cmp byte [rax], sil
jne 0x180062dd0
mov rcx, qword [0x180179ed8]
sub r8d, edi
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xdb75272101cb455f
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
xorps xmm0, xmmword [rbp - 0x69]
movq rax, xmm0
movdqa xmmword [rbp - 0x29], xmm0
test al, al
je 0x180062e61
inc rcx
cmp byte [rcx], sil
jne 0x180062e52
mov r8d, ecx
lea rdx, [rbp - 0x29]
mov rcx, qword [0x180179ed8]
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.1800da510
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.1800755f0
movabs rax, 0xbf10555475bb241e
lea r8, [rbp - 0x49]
mov qword [rbp - 0x79], rax
movabs r15, 0xdb75272101cb457d
mov rcx, qword [rbp - 0x79]
movabs rax, 0x12cf7f50f696ffd2
mov qword [rbp - 0x49], rcx
movabs r14, 0x12cf7f50f696ddf2
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]
xorps xmm0, xmmword [rbp - 0x49]
movq rax, xmm0
movdqa xmmword [rbp - 0x49], xmm0
test al, al
je 0x180062f37
inc rcx
cmp byte [rcx], 0
jne 0x180062f28
mov r8d, ecx
lea rdx, [rbp - 0x49]
mov rcx, qword [0x180179ed8]
sub r8d, edx
xor esi, esi
lea rdx, [rbp - 0x49]
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 0x180062f6f
inc rax
mov r8, rax
cmp byte [rax], sil
jne 0x180062f64
mov rcx, qword [0x180179ed8]
sub r8d, edx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
movabs rax, 0xbd0742556fa2655f
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, 0x12cf7f50f6f3be93
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
xorps xmm0, xmmword [rbp - 0x69]
movq rax, xmm0
movdqa xmmword [rbp - 0x39], xmm0
test al, al
je 0x180062fff
nop dword [rax]
inc rcx
cmp byte [rcx], sil
jne 0x180062ff0
mov r8d, ecx
lea rdx, [rbp - 0x39]
mov rcx, qword [0x180179ed8]
sub r8d, edx
lea rdx, [rbp - 0x39]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
jmp 0x180062e7f