Function at 0x18005a6c0
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 [0x180141040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rax, qword [0x180141f48]
lea r8, [0x180141db8]
lea rdx, [0x18012ffa0]
mov rcx, qword [rax + 0x178]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ebx, ebx
movabs rdi, 0x244a7feb7efe3474
movabs rsi, 0xd6b8823ea6add16f
movabs r14, 0x95e958374533b2f0
movabs r15, 0x390410204e9d7291
movabs r12, 0x374c07797228bb32
movabs r13, 0x202292226898a803
test eax, eax
jns 0x18005a8a8
mov dl, 3
call fcn.180072d40
movabs rax, 0xa298e65bcac4b009
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, 0xf08d78432054929f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movabs rax, 0x567676002bfe1be7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x5f2f7718055b9b5f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x2022922268f6c162
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]
vmovdqu xmm0, xmmword [rbp + 0x20]
vpxor xmm3, xmm0, xmmword [rsp + 0x70]
vmovdqu xmm0, xmmword [rbp + 0x30]
vmovdqu xmm2, xmmword [rbp + 0x40]
vpxor xmm1, xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x68], rax
vpxor xmm0, xmm2, xmmword [rbp - 0x70]
vmovq rax, xmm3
vmovdqu xmmword [rbp + 0x40], xmm0
vmovdqu xmmword [rbp + 0x20], xmm3
vmovdqu xmmword [rbp + 0x30], xmm1
test al, al
je 0x18005a88a
nop
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005a880
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x18005a8bf
mov rcx, qword [0x180141db8]
lea rdx, [0x180141dc0]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [0x180141f48]
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 0x178]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [0x180141f48]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea r8, [0x18012ffb0]
xor edx, edx
mov rcx, qword [rax + 0x178]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x18005b233
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x18005b233
cmp dword [rbp - 0x20], 0x1d
lea r9, [0x180141f40]
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 [0x180141db8]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x44], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18005b228
mov dl, 2
call fcn.180072d40
movabs rax, 0xa298e65bcac4b009
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xf09d39523750929f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x1976754420f800b1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x416c731c155ada46
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x4856fb5548efcd6a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x76154eda3acd7054
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xfcac8b5d0c392ce1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x6ffc2e727de1c315
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x770e3949109dc03
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0xafb429f67ed75d6
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, 0xb2e9c61448667ab5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0x37b97a2d33ae8a46
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x295ea7a6d45b8957
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0xafb429f67ed75f8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x70]
vpxor xmm3, xmm0, xmmword [rbp + 0x20]
vmovups ymm1, ymmword [rbp + 0x30]
vpxor ymm1, ymm1, ymmword [rbp - 0x80]
vmovdqu xmmword [rsp + 0x70], xmm3
mov qword [rbp + 0x68], rax
vmovdqu xmm0, xmmword [rbp - 0x50]
vmovups ymmword [rbp - 0x80], ymm1
vmovdqu xmm1, xmmword [rbp - 0x60]
vpxor xmm2, xmm1, xmmword [rbp + 0x50]
vpxor xmm1, xmm0, xmmword [rbp + 0x60]
vmovq rax, xmm3
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
mov r8d, edx
vmovdqu xmmword [rbp - 0x50], xmm1
vmovdqu xmmword [rbp - 0x60], xmm2
test al, al
je 0x18005ab6a
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005ab60
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
vzeroupper
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180072d40
movabs rax, 0xb1d6eb47d4d9b41d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xf48c2a54655cc6d0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x5c607e453cbd17e5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x4329600b135c9b40
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x4955b2550df1de23
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x157b3bd83ade5c00
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xffa0824b1e3228ea
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x63e634627afdc403
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x6d6ce2f4810fd112
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0xafb42b149c326b5
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, 0xb2e9c61448667ab5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0x37b97a2d33ae8a46
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x295ea7a6d45b8957
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0xafb429f67ed75f8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
vmovdqu xmm0, xmmword [rsp + 0x70]
vpxor xmm3, xmm0, xmmword [rbp + 0x20]
vmovups ymm1, ymmword [rbp - 0x80]
vpxor ymm1, ymm1, ymmword [rbp + 0x30]
vmovdqu xmm0, xmmword [rbp - 0x50]
vmovups ymmword [rbp - 0x80], ymm1
vmovdqu xmm1, xmmword [rbp - 0x60]
vpxor xmm2, xmm1, xmmword [rbp + 0x50]
mov qword [rbp + 0x68], rax
lea rcx, [rsp + 0x70]
vpxor xmm1, xmm0, xmmword [rbp + 0x60]
vmovq rax, xmm3
mov r8d, edx
vmovdqu xmmword [rbp - 0x50], xmm1
vmovdqu xmmword [rsp + 0x70], xmm3
vmovdqu xmmword [rbp - 0x60], xmm2
test al, al
je 0x18005ad9a
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005ad90
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
vzeroupper
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x180141db8]
lea r9, [0x180141f40]
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 0x18005b228
mov dl, 2
call fcn.180072d40
movabs rax, 0xa298e65bcac4b009
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xf09d39523750929f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x1976754420f800b1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x416c731c155ada46
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x4856fb5548efcd6a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0x76154eda3acd7054
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0xfcac8b5d0c392ce1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x6ffc2e727de1c315
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x770e3949109dc03
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0xafb429f67ed75d6
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, 0xb2e9c61448667ab5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0x37b97a2d33ae8a46
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x295ea7a6d45b8957
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0xafb429f67ed75f8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x70]
vpxor xmm3, xmm0, xmmword [rbp + 0x20]
vmovups ymm1, ymmword [rbp - 0x80]
vpxor ymm1, ymm1, ymmword [rbp + 0x30]
vmovdqu xmmword [rsp + 0x70], xmm3
mov qword [rbp + 0x68], rax
vmovdqu xmm0, xmmword [rbp - 0x50]
vmovups ymmword [rbp - 0x80], ymm1
vmovdqu xmm1, xmmword [rbp - 0x60]
vpxor xmm2, xmm1, xmmword [rbp + 0x50]
vpxor xmm1, xmm0, xmmword [rbp + 0x60]
vmovq rax, xmm3
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x70]
mov r8d, edx
vmovdqu xmmword [rbp - 0x50], xmm1
vmovdqu xmmword [rbp - 0x60], xmm2
test al, al
je 0x18005affa
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005aff0
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
vzeroupper
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180072d40
movabs rax, 0xb1d6eb47d4d9b41d
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, 0x95e95837451d9cde
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]
vmovdqu xmm0, xmmword [rbp - 0x40]
mov qword [rsp + 0x68], rax
vpxor xmm1, xmm0, xmmword [rsp + 0x60]
vmovq rax, xmm1
vmovdqu xmmword [rbp - 0x40], xmm1
test al, al
je 0x18005b09d
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005b093
mov rcx, qword [0x180141318]
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 [0x180141db8]
lea r9, [0x180141f40]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x18005b228
mov dl, 3
call fcn.180072d40
movabs rax, 0xa298e65bcac4b009
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, 0xf09d39523750929f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
movabs rax, 0x1976754420f800b1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0x416c731c155ada46
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x2022922268efcd6a
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]
vmovdqu xmm0, xmmword [rbp + 0x20]
vpxor xmm3, xmm0, xmmword [rsp + 0x70]
vmovdqu xmm0, xmmword [rbp + 0x30]
vmovdqu xmm2, xmmword [rbp + 0x40]
vpxor xmm1, xmm0, xmmword [rbp - 0x80]
mov qword [rbp - 0x68], rax
vpxor xmm0, xmm2, xmmword [rbp - 0x70]
vmovq rax, xmm3
vmovdqu xmmword [rbp + 0x40], xmm0
vmovdqu xmmword [rbp + 0x20], xmm3
vmovdqu xmmword [rbp + 0x30], xmm1
test al, al
je 0x18005b20c
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x18005b202
mov rcx, qword [0x180141318]
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.1800d7380
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