Function at 0x180061ac0
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 [0x180180040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rax, qword [0x180182890]
lea r8, [0x1801826e8]
lea rdx, [0x180167848]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ebx, ebx
movabs rdi, 0xc537644db01f512c
movabs rsi, 0xaa2c0794d01dd84f
movabs r14, 0x31eec079b84ced78
movabs r15, 0x10e59a46ef166df9
movabs r12, 0xc261ab353849842
movabs r13, 0x2d8cd0684818f713
test eax, eax
jns 0x180061ca8
mov dl, 3
call fcn.1800795c0
movabs rax, 0xde0c63f1bc74b929
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, 0x548ae00ddd2bcd17
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movabs rax, 0x7f97fc668a75048f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x64456ad224f7b82f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x2d8cd06848769e72
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 0x180061c8a
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180061c80
mov rcx, qword [0x180180ed8]
sub r8d, edx
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x180061cbf
mov rcx, qword [0x1801826e8]
lea rdx, [0x1801826f0]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [0x180182890]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [0x180182890]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea r8, [0x180167858]
xor edx, edx
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x180062631
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x180062631
cmp dword [rbp - 0x20], 0x1d
lea r9, [0x180182888]
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 [0x1801826e8]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x44], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x180062626
mov dl, 2
call fcn.1800795c0
movabs rax, 0xde0c63f1bc74b929
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x549aa11cca2fcd17
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x3097ff2281731fd9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x7a066ed634f6f936
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x45f8b91f686f927a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x9768557cf42c150c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xf20db5e395a8dab9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0xc9ed4a08f5b839a5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x8ffaa19e6da3a6a3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x1d47d9f1faceb3ce
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, 0xbc48f8aad1f78ced
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0x91a81e57bbf770f6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0xa1d4e5ac28f1f3f7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x1d47d9f1faceb3e0
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 0x180061f6c
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180061f62
mov rcx, qword [0x180180ed8]
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.1800795c0
movabs rax, 0xcd426eeda269bd3d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x508bb21a98239958
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x7581f4239d36088d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x78437dc132f0b830
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x44fbf01f2d718133
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xf406207ef43f3958
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xf101bcf587a3deb2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0xc5f75018f2a43eb3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0xe5e6a0fe7da5abb2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x1d47d9dfd4e0e0ad
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, 0xbc48f8aad1f78ced
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0x91a81e57bbf770f6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0xa1d4e5ac28f1f3f7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x1d47d9f1faceb3e0
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 0x18006219e
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062194
mov rcx, qword [0x180180ed8]
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 [0x1801826e8]
lea r9, [0x180182888]
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 0x180062626
mov dl, 2
call fcn.1800795c0
movabs rax, 0xde0c63f1bc74b929
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x549aa11cca2fcd17
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x3097ff2281731fd9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x7a066ed634f6f936
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x45f8b91f686f927a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x9768557cf42c150c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xf20db5e395a8dab9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0xc9ed4a08f5b839a5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x8ffaa19e6da3a6a3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x1d47d9f1faceb3ce
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, 0xbc48f8aad1f78ced
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0x91a81e57bbf770f6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0xa1d4e5ac28f1f3f7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x1d47d9f1faceb3e0
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 0x1800623fe
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x1800623f4
mov rcx, qword [0x180180ed8]
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.1800795c0
movabs rax, 0xcd426eeda269bd3d
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, 0x31eec079b862c356
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 0x18006249d
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062493
mov rcx, qword [0x180180ed8]
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 [0x1801826e8]
lea r9, [0x180182888]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x180062626
mov dl, 3
call fcn.1800795c0
movabs rax, 0xde0c63f1bc74b929
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, 0x549aa11cca2fcd17
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movabs rax, 0x3097ff2281731fd9
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x7a066ed634f6f936
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x2d8cd068486f927a
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 0x18006260a
nop
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062600
mov rcx, qword [0x180180ed8]
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.1800dea20
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