Function at 0x180007d40
Capabilities:
Get common file path
Get session user name
Print debug messages

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 0x180007ed5
lea rax, [0x180003300]
add rax, 0x18a
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x18a
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.18000d620
cmp dword [0x1800ad428], 0x3684830e
jne 0x180007e9e
xor r8d, r8d
xor edx, edx
lea rcx, [0x1800c2560]
call qword [sym.imp.KERNEL32.dll_ResolveLocaleName]
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_GetFileBandwidthReservation]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlCaptureStackBackTrace]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_AddVectoredContinueHandler]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor r8d, r8d
lea rdx, [0x1800c2598]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetNLSVersionEx]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSymbolicLinkA]
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetComputerNameExA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalLock]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ApplicationRecoveryInProgress]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
call qword [sym.imp.KERNEL32.dll_GetMaximumProcessorGroupCount]
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CheckNameLegalDOS8Dot3A]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessMitigationPolicy]
lea rax, [0x180004e60]
add rax, 0x121
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0x121
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call fcn.18000d620
mov r14d, eax
jmp 0x1800082fd
cmp edx, 3
jne 0x1800082fd
lea r8, [0x1800c25b8]
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov r15, rax
lea r8, [0x1800c25c8]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov rsi, rax
test r15, r15
je 0x1800082ef
test rax, rax
je 0x1800082e6
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 0x1800082e6
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 0x1800082e6
cmp byte [rbp + 0x20], 0x43
sete al
test al, al
je 0x1800082e6
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.180007820
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
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180008010
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.18000d700
nop
mov r9, rdi
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x130]
call fcn.180011f10
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18000807c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008076
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008322
call fcn.180038930
nop
lea rcx, [rbp - 0x60]
call fcn.18000a5c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea rax, [rbp + 0x20]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800080a0
mov r8, rbx
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.18000d700
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 0x180008162
cmp rax, 8
jb 0x180008162
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 0x180008104
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 0x18000817d
nop word [rax + rax]
movsx eax, byte [rdx]
add edi, eax
inc rdx
cmp rdx, r8
jne 0x180008170
cmp r10, 0xf
jbe 0x1800081b4
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x1800081ac
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000831c
mov rcx, r9
call fcn.180038930
lea rcx, [rsp + 0x60]
call fcn.180007820
mov rcx, rax
call fcn.180007760
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.18000a5c0
cmp edi, ebx
jne 0x1800082da
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, [0x180007ca0]
mov qword [rbp - 0x28], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp - 0x18], rax
lea rax, [0x1800c2538]
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, [0x1800c2548]
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 0x1800082da
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 0x1800082b0
lea rcx, [rbp + 0x130]
call fcn.18000a5c0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x1800082fd
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.180041c10
nop
call fcn.180041c10
int3