Function at 0x1800086a0
Capabilities:
Clear file content
Get common file path
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
xor r12d, r12d
mov r14d, 1
cmp edx, r14d
jne 0x180008880
lea rax, [0x180003800]
add rax, 0x228
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x228
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.18000c370
cmp dword [0x1800ad428], 0x7c60a487
jne 0x180008849
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationByHandleW]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_UpdateResourceA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitOnceInitialize]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1800c2658]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileMUIPath]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenEventA]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WaitForThreadpoolWorkCallbacks]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDateFormatA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateBoundaryDescriptorA]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SearchPathA]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CompareStringA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea rax, [0x180005380]
add rax, 0x1c3
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x1c3
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.18000c370
mov r14d, eax
jmp 0x180008c9d
cmp edx, 3
jne 0x180008c9d
lea r8, [0x1800c2688]
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov r15, rax
lea r8, [0x1800c26a0]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov rsi, rax
test r15, r15
je 0x180008c8f
test rax, rax
je 0x180008c86
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
mov dword [rbp + 0xb8], eax
mov dword [rbp + 0x20], 0x9c
mov dword [rbp + 0x24], 0xa
mov r8b, 3
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 2
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x180008c86
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x25
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x180008c86
cmp byte [rbp + 0x20], 0x43
sete al
test al, al
je 0x180008c86
mov dword [rbp + 0x188], 0x100
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rcx, [rbp - 0x60]
call fcn.180008180
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1800089b2
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.18000c450
nop
mov r9, rdi
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x130]
call fcn.1800122a0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180008a1e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008a18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008cc2
call fcn.180038cc0
nop
lea rcx, [rbp - 0x60]
call fcn.18000af60
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp + 0x20]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180008a40
mov r8, rbx
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.18000c450
mov edi, r12d
lea rdx, [rbp - 0x80]
mov r9, qword [rbp - 0x80]
mov r10, qword [rbp - 0x68]
cmp r10, 0xf
cmova rdx, r9
lea rcx, [rbp - 0x80]
cmova rcx, r9
mov r8, qword [rbp - 0x70]
add r8, rcx
mov rcx, r12
mov rax, r8
sub rax, rdx
cmp rdx, r8
cmova rax, r12
test rax, rax
je 0x180008b02
cmp rax, 8
jb 0x180008b02
and rax, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
movd xmm0, dword [rdx]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm1, xmm0
movd xmm0, dword [rdx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
paddd xmm0, xmm2
movdqa xmm2, xmm0
add rdx, 8
add rcx, 8
cmp rcx, rax
jne 0x180008aa4
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd edi, xmm1
cmp rdx, r8
je 0x180008b1d
nop word [rax + rax]
movsx eax, byte [rdx]
add edi, eax
inc rdx
cmp rdx, r8
jne 0x180008b10
cmp r10, 0xf
jbe 0x180008b54
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x180008b4c
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008cbc
mov rcx, r9
call fcn.180038cc0
lea rcx, [rsp + 0x60]
call fcn.180008180
mov rcx, rax
call fcn.1800080c0
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.18000af60
cmp edi, ebx
jne 0x180008c7a
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [0x180008600]
mov qword [rbp - 0x28], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x18], rax
lea rax, [0x1800c2628]
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassA]
mov qword [rsp + 0x58], r12
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], 0xc8
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, [0x1800c2640]
mov rdx, qword [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rbx, rax
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x180008c7a
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x60]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x180008c50
lea rcx, [rbp + 0x130]
call fcn.18000af60
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x180008c9d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180041fa0
nop
call fcn.180041fa0
int3