Function at 0x180062d30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rax, qword [0x18017d9b0]
lea r8, [0x18017d910]
lea rdx, [0x180163a00]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ebx, ebx
movabs rdi, 0x9cdba7ce527ed72a
movabs rsi, 0x269b45a3e8c32755
movabs r14, 0xf94f3fb2099d9a46
movabs r15, 0xdeb9bec1fb4b42a7
movabs r12, 0x1edf16f0e9ca39a8
movabs r13, 0x127712ff39eaa029
test eax, eax
jns 0x180062f18
mov dl, 3
call fcn.180076b10
movabs rax, 0x52bb21c684aa4633
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x20]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp + 0x20], rax
movabs rax, 0x9c2b1fc66cfaba29
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movabs rax, 0xb1cbd8e19e282bd1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x76bc66919eb919c5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x127712ff3984c948
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x20]
xorps xmm2, xmmword [rsp + 0x70]
movdqa xmm0, xmmword [rbp + 0x30]
movdqa xmm1, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x68], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0x20], xmm2
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmmword [rbp + 0x40], xmm1
test al, al
je 0x180062efa
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062ef0
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x180062f2f
mov rcx, qword [0x18017d910]
lea rdx, [0x18017d918]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [0x18017d9b0]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [0x18017d9b0]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea r8, [0x180163a10]
xor edx, edx
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x1800638a1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1800638a1
cmp dword [rbp - 0x20], 0x1d
lea r9, [0x18017d998]
mov ecx, 0x1c
mov qword [rsp + 0x48], rbx
cmovne ecx, dword [rbp - 0x20]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x18017d910]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x44], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x180063896
mov dl, 2
call fcn.180076b10
movabs rax, 0x52bb21c684aa4633
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x9c3b5ed77bfeba29
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0xfecbdba5952e3087
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x68ff62958eb858dc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x7a037b88199dc540
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xce8496ff164d930a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xb2642e244bee84ef
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x988a9e83f4f6315f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x50515ce9f810df49
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0xe4a8592aa07cbe40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0xfc21636d0fb1d2bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0xc0cfcadcbab9780c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x7e7f18dbbd428a1d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0xe4a8592aa07cbe6e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rsp + 0x70]
xorps xmm2, xmmword [rbp + 0x20]
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x70], xmm2
mov qword [rbp + 0x68], rax
movdqa xmm1, xmmword [rbp - 0x70]
lea rdx, [rsp + 0x70]
xorps xmm1, xmmword [rbp + 0x40]
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm1
movq rax, xmm2
movdqa xmm1, xmmword [rbp - 0x50]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x60], xmm0
test al, al
je 0x1800631dc
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x1800631d2
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180076b10
movabs rax, 0x41f52cda9ab74227
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x982a4dd129f2ee66
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0xbbddd0a4896b27d3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x6aba718288be19da
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x7b0032885c83d609
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xadeae3fd165ebf5e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xb168273259e580e4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x94908493f3ea3649
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x3a4d5d89e816d258
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0xe4a859048e52ed23
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0xfc21636d0fb1d2bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0xc0cfcadcbab9780c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x7e7f18dbbd428a1d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0xe4a8592aa07cbe6e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x80]
lea rdx, [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x30]
lea rcx, [rsp + 0x70]
movdqa xmm1, xmmword [rbp - 0x70]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x40]
movdqa xmm2, xmmword [rsp + 0x70]
xorps xmm2, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm1, xmmword [rbp - 0x50]
mov qword [rbp + 0x68], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rsp + 0x70], xmm2
test al, al
je 0x18006340e
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180063404
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x18017d910]
lea r9, [0x18017d998]
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x44], 6
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x180063896
mov dl, 2
call fcn.180076b10
movabs rax, 0x52bb21c684aa4633
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x9c3b5ed77bfeba29
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0xfecbdba5952e3087
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x68ff62958eb858dc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x7a037b88199dc540
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xce8496ff164d930a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xb2642e244bee84ef
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x988a9e83f4f6315f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x50515ce9f810df49
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0xe4a8592aa07cbe40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0xfc21636d0fb1d2bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0xc0cfcadcbab9780c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x7e7f18dbbd428a1d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0xe4a8592aa07cbe6e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rsp + 0x70]
xorps xmm2, xmmword [rbp + 0x20]
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rsp + 0x70], xmm2
mov qword [rbp + 0x68], rax
movdqa xmm1, xmmword [rbp - 0x70]
lea rdx, [rsp + 0x70]
xorps xmm1, xmmword [rbp + 0x40]
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm1
movq rax, xmm2
movdqa xmm1, xmmword [rbp - 0x50]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm0, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmmword [rbp - 0x60], xmm0
test al, al
je 0x18006366e
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180063664
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180076b10
movabs rax, 0x41f52cda9ab74227
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x40]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp - 0x40], rax
movabs rax, 0xf94f3fb209b3b468
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x40]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movq rax, xmm0
movdqa xmmword [rbp - 0x40], xmm0
test al, al
je 0x18006370d
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180063703
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x18017d910]
lea r9, [0x18017d998]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x180063896
mov dl, 3
call fcn.180076b10
movabs rax, 0x52bb21c684aa4633
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x20]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp + 0x20], rax
movabs rax, 0x9c3b5ed77bfeba29
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movabs rax, 0xfecbdba5952e3087
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x68ff62958eb858dc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x127712ff399dc540
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x20]
xorps xmm2, xmmword [rsp + 0x70]
movdqa xmm0, xmmword [rbp + 0x30]
movdqa xmm1, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x68], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp - 0x70]
movdqa xmmword [rbp + 0x20], xmm2
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmmword [rbp + 0x40], xmm1
test al, al
je 0x18006387a
nop
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180063870
mov rcx, qword [0x18017bed8]
sub r8d, edx
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1800dbb40
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret