Function at 0x140032860
Capabilities:
Acquire debug privileges
Enumerate process modules
Get file system object information

Disassembly:
push rbp
push rbx
push rsi
push r13
lea rbp, [rsp - 0x1548]
mov eax, 0x1648
call fcn.14004e560
sub rsp, rax
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x1530], rax
mov rsi, qword [0x14006b738]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor ebx, ebx
test eax, eax
je 0x140032908
lea r8, [rbp + 0x2f4]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x2f0]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rbp + 0x2f0], 1
mov dword [rbp + 0x2fc], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1009
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov edx, 0x10
mov ecx, edx
lea r8d, [r9 + 0x20]
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov edx, 0x1003
mov r8d, 1
mov r9, rax
mov rcx, rsi
mov r13, rax
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rbp + 0x2e0]
mov edx, 0x1000
lea rcx, [rbp + 0x350]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x140032ce1
mov ecx, dword [rbp + 0x2e0]
shr ecx, 2
test ecx, ecx
je 0x140032ce1
mov qword [rsp + 0x1678], r12
mov qword [rsp + 0x1640], r15
lea r15, [rbp + 0x350]
mov qword [rsp + 0x1670], rdi
mov qword [rsp + 0x1680], r14
mov r12d, ecx
nop word [rax + rax]
mov r8d, dword [r15]
test r8d, r8d
je 0x140032cb3
xor edx, edx
mov ecx, 0x411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140032cb3
lea r9, [rbp + 0x2e0]
mov r8d, 8
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140032cb3
mov ecx, 0xa60
call fcn.14004de58
mov r9d, 0x104
mov r14, rax
mov qword [rax], rdi
lea r8, [rax + 0xc]
mov ecx, dword [r15]
mov dword [rax + 8], ecx
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
mov rdx, qword [rsp + 0x58]
lea r8, [r14 + 0x214]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x101
lea r8, [rbp + 0x20]
xor edx, edx
lea rcx, [r14 + 0x214]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140032cb3
mov r8, qword [rbp + 0x20]
mov edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov rcx, qword [rbp + 0x20]
mov ebx, eax
call qword [sym.imp.USER32.dll_DestroyIcon]
mov r9d, dword [r14 + 8]
lea r8, [0x14005a644]
mov edx, 0x20
lea rcx, [rbp + 0x1350]
call fcn.140001de0
xorps xmm0, xmm0
lea r9, [rbp - 0x40]
xor eax, eax
xor r8d, r8d
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x10], rax
mov edx, 0x104d
lea rax, [rbp + 0x1350]
mov dword [rbp - 0x1c], ebx
movups xmmword [rbp - 0x40], xmm0
mov rcx, rsi
mov dword [rbp - 0x40], 7
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x28], rax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x18], r14
movups xmmword [rbp], xmm0
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, 0x48
lea rdx, [rbp + 0x300]
mov rcx, rdi
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x140032b5a
mov r9, qword [rbp + 0x310]
lea r8, str._d_KB
shr r9, 0xa
lea rcx, [rbp + 0x1390]
mov edx, 0x40
call fcn.140001de0
lea rax, [rbp + 0x1390]
mov dword [rsp + 0x68], 3
lea r9, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov r8, rbx
mov edx, 0x1074
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x48]
mov edx, 0x20008
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140032c62
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x40], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9d, dword [rsp + 0x40]
mov edx, 1
mov rcx, qword [rsp + 0x48]
mov rdi, rax
lea rax, [rsp + 0x40]
mov r8, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140032c4e
mov rdx, qword [rdi]
lea rax, [rbp + 0x2ec]
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x2e8]
lea rax, [rbp + 0x2e4]
mov dword [rbp + 0x2e8], 0x64
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x1390]
lea rax, [rbp + 0x1460]
mov dword [rbp + 0x2e4], 0x64
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x140032c4e
lea rax, [rbp + 0x1390]
mov dword [rsp + 0x68], 4
lea r9, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov r8, rbx
mov edx, 0x1074
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [r14 + 0xc]
mov dword [rsp + 0x68], 1
lea r9, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov r8, rbx
mov edx, 0x1074
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [r14 + 0x214]
mov dword [rsp + 0x68], 2
lea r9, [rsp + 0x60]
mov qword [rsp + 0x78], rax
mov r8, rbx
mov edx, 0x1074
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
add r15, 4
sub r12, 1
jne 0x1400329b0
mov r15, qword [rsp + 0x1640]
mov r14, qword [rsp + 0x1680]
mov r12, qword [rsp + 0x1678]
mov rdi, qword [rsp + 0x1670]
mov rcx, qword [rbp + 0x1530]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x1648
pop r13
pop rsi
pop rbx
pop rbp
ret