Function at 0x180061fb0
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 - 0x280]
sub rsp, 0x380
mov rax, qword [0x18017a040]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rax, qword [0x18017c8e8]
lea r8, [0x18017c740]
lea rdx, [0x180162768]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x38]
xor ebx, ebx
movabs rdi, 0x8a0ee29d662c2864
movabs rsi, 0x1d77a96c5f5279e7
movabs r14, 0xda952d7936bc53c0
movabs r15, 0x602ebe69af55459
movabs r12, 0x84c0ea13ef530cc2
movabs r13, 0x487bf0b00dd5d51b
test eax, eax
jns 0x1800621b8
mov dl, 3
call fcn.180075a40
movabs rax, 0x6957cd09333b1881
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x80]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp - 0x80], rax
movabs rax, 0xbff10d0d53db73af
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0x69708dc6ff963d2f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
movabs rax, 0xeca39a7298202caf
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
movabs rax, 0x487bf0b00dbbbc7a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x120], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x128], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x120]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x130], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x138], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x140], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
xorps xmm2, xmmword [rbp - 0x80]
movdqa xmm0, xmmword [rbp - 0x70]
movdqa xmm1, xmmword [rbp - 0x60]
xorps xmm0, xmmword [rbp + 0x130]
mov qword [rbp + 0x148], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x140]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmmword [rbp - 0x80], xmm2
movdqa xmmword [rbp - 0x70], xmm0
test al, al
je 0x18006219a
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062190
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1800621cf
mov rcx, qword [0x18017c740]
lea rdx, [0x18017c748]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov ecx, dword [0x18017b764]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18017ce40], ecx
jle 0x180062213
lea rcx, [0x18017ce40]
call fcn.1800dac90
cmp dword [0x18017ce40], 0xffffffff
jne 0x180062213
lea rcx, [0x18017ce40]
call fcn.1800dac24
mov rax, qword [0x18017c8e8]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [0x18017c8e8]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea r8, [0x180162778]
xor edx, edx
mov rcx, qword [rax + 0x170]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x180062c76
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x180062c76
cmp dword [rbp + 0xe0], 0x1d
lea r9, [0x18017c8e0]
mov ecx, 0x1c
mov qword [rsp + 0x48], rbx
cmovne ecx, dword [rbp + 0xe0]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x18017c740]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x44], 4
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x180062c6b
mov dl, 2
call fcn.180075a40
movabs rax, 0x6957cd09333b1881
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0xbfe14c1c44df73af
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x18], rax
movabs rax, 0x26708e82f4902679
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x10], rax
movabs rax, 0xf2e09e7688216db6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 8], rax
movabs rax, 0x200f99c72da2b072
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp], rax
movabs rax, 0xd851d3ac221f6c44
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 8], rax
movabs rax, 0x795abe3312bea779
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x10], rax
movabs rax, 0x55232258ea0479f5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x18], rax
movabs rax, 0x95803c461f6906bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x20], rax
movabs rax, 0xd3105bc17517b986
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x28], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x180], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x188], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x180]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x190], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x198], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rbp + 0x1a0], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1a8], rax
movabs rax, 0x371ff37a56e1f12d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b0], rax
movabs rax, 0xd667607a44b30a6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rax
movabs rax, 0xbbae78745a3b53ef
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1c0], rax
movabs rax, 0xd3105bc17517b9a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
xorps xmm2, xmmword [rbp - 0x20]
movdqa xmm0, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp - 0x20], xmm2
mov qword [rbp + 0x1c8], rax
movdqa xmm1, xmmword [rbp]
lea rdx, [rbp - 0x20]
xorps xmm1, xmmword [rbp + 0x1a0]
lea rcx, [rbp - 0x20]
movdqa xmmword [rbp], xmm1
movq rax, xmm2
movdqa xmm1, xmmword [rbp + 0x20]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x1c0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x1b0]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmmword [rbp + 0x10], xmm0
test al, al
je 0x1800624f0
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x1800624e6
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180075a40
movabs rax, 0x7a19c0152d261c95
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x30], rax
movabs rax, 0xbbf05f1a16d327e0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x38], rax
movabs rax, 0x63668583e8d5312d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x40], rax
movabs rax, 0xf0a58d618e272cb0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x48], rax
movabs rax, 0x210cd0c768bca33b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x50], rax
movabs rax, 0xbb3fa6ae220c4010
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x58], rax
movabs rax, 0x7a56b72500b5a372
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x60], rax
movabs rax, 0x59393848ed187ee3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x68], rax
movabs rax, 0xff9c3d260f6f0baa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x70], rax
movabs rax, 0xd3105bef5b39eae5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x1d0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x1d8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x1e0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x1e8], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rbp + 0x1f0], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f8], rax
movabs rax, 0x371ff37a56e1f12d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x200], rax
movabs rax, 0xd667607a44b30a6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x208], rax
movabs rax, 0xbbae78745a3b53ef
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x210], rax
movabs rax, 0xd3105bc17517b9a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x40]
lea rdx, [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x1e0]
lea rcx, [rbp + 0x30]
movdqa xmm1, xmmword [rbp + 0x50]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x1f0]
movdqa xmm2, xmmword [rbp + 0x30]
xorps xmm2, xmmword [rbp + 0x1d0]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm1, xmmword [rbp + 0x70]
mov qword [rbp + 0x218], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x210]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmmword [rbp + 0x30], xmm2
test al, al
je 0x18006274a
nop
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062740
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x18017c740]
lea r9, [0x18017c8e0]
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 0x180062c6b
mov dl, 2
call fcn.180075a40
movabs rax, 0x6957cd09333b1881
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x80], rax
movabs rax, 0xbfe14c1c44df73af
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x88], rax
movabs rax, 0x26708e82f4902679
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x90], rax
movabs rax, 0xf2e09e7688216db6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x98], rax
movabs rax, 0x200f99c72da2b072
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa0], rax
movabs rax, 0xd851d3ac221f6c44
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xa8], rax
movabs rax, 0x795abe3312bea779
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb0], rax
movabs rax, 0x55232258ea0479f5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xb8], rax
movabs rax, 0x95803c461f6906bb
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc0], rax
movabs rax, 0xd3105bc17517b986
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0xc8], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x220], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x228], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x230], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov qword [rbp + 0x238], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rdi
mov qword [rbp + 0x240], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x248], rax
movabs rax, 0x371ff37a56e1f12d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x250], rax
movabs rax, 0xd667607a44b30a6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x258], rax
movabs rax, 0xbbae78745a3b53ef
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x260], rax
movabs rax, 0xd3105bc17517b9a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp + 0x80]
xorps xmm2, xmmword [rbp + 0x220]
movdqa xmm0, xmmword [rbp + 0x90]
xorps xmm0, xmmword [rbp + 0x230]
movdqa xmmword [rbp + 0x80], xmm2
mov qword [rbp + 0x268], rax
movdqa xmm1, xmmword [rbp + 0xa0]
lea rdx, [rbp + 0x80]
xorps xmm1, xmmword [rbp + 0x240]
lea rcx, [rbp + 0x80]
movdqa xmmword [rbp + 0xa0], xmm1
movq rax, xmm2
movdqa xmm1, xmmword [rbp + 0xc0]
mov r8d, edx
xorps xmm1, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm0, xmmword [rbp + 0xb0]
xorps xmm0, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmmword [rbp + 0xb0], xmm0
test al, al
je 0x180062a1a
nop dword [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062a10
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rbp + 0x80]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dl, 1
call fcn.180075a40
movabs rax, 0x7a19c0152d261c95
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rsp + 0x70], rax
movabs rax, 0xda952d7936927dee
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], 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 [rsp + 0x70]
mov qword [rsp + 0x68], rax
xorps xmm0, xmmword [rsp + 0x60]
movq rax, xmm0
movdqa xmmword [rsp + 0x70], xmm0
test al, al
je 0x180062aca
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062ac0
mov rcx, qword [0x18017aed8]
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 [0x18017c740]
lea r9, [0x18017c8e0]
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jns 0x180062c6b
mov dl, 3
call fcn.180075a40
movabs rax, 0x6957cd09333b1881
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x50]
mov rax, qword [rsp + 0x30]
mov r8d, edx
mov qword [rbp - 0x50], rax
movabs rax, 0xbfe14c1c44df73af
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x26708e82f4902679
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rax, 0xf2e09e7688216db6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
movabs rax, 0x487bf0b00da2b072
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x30], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x150], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x158], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rbp + 0x160], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x168], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x170], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rbp - 0x50]
xorps xmm2, xmmword [rbp + 0x150]
movdqa xmm0, xmmword [rbp - 0x40]
movdqa xmm1, xmmword [rbp - 0x30]
xorps xmm0, xmmword [rbp + 0x160]
mov qword [rbp + 0x178], rax
movq rax, xmm2
xorps xmm1, xmmword [rbp + 0x170]
movdqa xmmword [rbp - 0x50], xmm2
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x30], xmm1
test al, al
je 0x180062c4f
inc rcx
mov r8, rcx
cmp byte [rcx], bl
jne 0x180062c45
mov rcx, qword [0x18017aed8]
sub r8d, edx
lea rdx, [rbp - 0x50]
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 + 0x270]
xor rcx, rsp
call fcn.1800da960
lea r11, [rsp + 0x380]
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