joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b940
Capabilities:
Check if file exists
Enumerate processes
Get file attributes
Query environment variable
Terminate process

Disassembly:
push rbp
push r14
lea rbp, [rsp - 0x4b8]
sub rsp, 0x5b8
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.14003aa80
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.14003aa80
mov r8d, 0x104
lea rdx, [rsp + 0x50]
lea rcx, str.COMMONPROGRAMFILES
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x14002bbd1
lea rax, str.ATI_TechnologiesDSEManager.exe
xor r14d, r14d
mov qword [rsp + 0x28], r14
lea r9, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x190]
call fcn.140062828
test eax, eax
jne 0x14002b9e9
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002bbd1
cmp eax, 0x10
je 0x14002bbd1
xor edx, edx
mov qword [rsp + 0x5e0], rsi
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002ba23
lea rcx, str.Unable_to_get_snapshot_of_all_processes._n
call fcn.14002bc40
mov rsi, qword [rsp + 0x5e0]
add rsp, 0x5b8
pop r14
pop rbp
ret
mov qword [rsp + 0x5b0], rdi
mov edi, r14d
mov qword [rsp + 0x5d8], rbx
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x130
call fcn.14003aa80
mov dword [rbp + 0x60], 0x130
test edi, edi
jne 0x14002ba6a
lea rdx, [rbp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32First
jmp 0x14002ba78
jle 0x14002ba80
lea rdx, [rbp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x14002bba5
xor edx, edx
lea rcx, [rbp + 0x2a0]
mov r8d, 0x100
call fcn.14003aa80
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.14003aa80
mov qword [rsp + 0x40], 0x100
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rcx, [rbp + 0x8c]
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call fcn.140063870
test eax, eax
jne 0x14002bb9e
lea rdx, str.DSEManager
lea rcx, [rbp + 0x2a0]
call fcn.1400619c4
test eax, eax
jne 0x14002bb9e
lea rdx, str..exe
lea rcx, [rsp + 0x50]
call fcn.1400619c4
test eax, eax
jne 0x14002bb9e
mov r8d, dword [rbp + 0x68]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14002bb9e
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x104
call fcn.14003aa80
lea r9, [rbp + 0x4d0]
mov dword [rbp + 0x4d0], 0x104
lea r8, [rbp + 0x3a0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameA]
test eax, eax
je 0x14002bb95
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.1400619c4
test eax, eax
jne 0x14002bb95
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
jmp 0x14002ba40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x5b0]
mov rbx, qword [rsp + 0x5d8]
mov rsi, qword [rsp + 0x5e0]
add rsp, 0x5b8
pop r14
pop rbp
ret
lea rcx, str.Unable_to_create_path_for_DSE_Manager._n
call fcn.14002bc40
add rsp, 0x5b8
pop r14
pop rbp
ret
Function at 0x14002d480
Capabilities:
Create thread
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
lea r8, [0x14002d4e0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x14002d4cf
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x14002d4cc
lea rcx, str.RawInputListener:_could_not_elevate_listener_thread_priority...
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14002d700
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
xor eax, eax
movaps xmmword [r11 - 0x58], xmm6
mov r9d, 0xff
movaps xmmword [r11 - 0x68], xmm7
mov r14, rcx
mov qword [rsp + 0x118], rax
mov r8d, r9d
mov qword [rsp + 0x120], rax
xor edx, edx
mov qword [r11 + 0x20], rax
lea rcx, [rsp + 0x68]
xor r12d, r12d
xor r13d, r13d
xor ebx, ebx
xor edi, edi
xor r15d, r15d
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x14002d91d
movss xmm6, dword [0x140096644]
mov esi, 0x400
movss xmm7, dword [0x140096640]
nop dword [rax]
cmp eax, 0xffffffff
je 0x14002d94e
cmp dword [rsp + 0x70], 0xff
jne 0x14002d8ff
mov rcx, qword [rsp + 0x80]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x110], 0x30
mov edx, 0x10000003
mov dword [rsp + 0x20], 0x18
call qword [sym.imp.USER32.dll_GetRawInputData]
dec eax
cmp eax, 0xfffffffd
ja 0x14002d8ff
cmp dword [rsp + 0x38], 0
jne 0x14002d8ff
lea rcx, [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test word [rsp + 0x54], si
je 0x14002d7fc
movsx eax, word [rsp + 0x56]
jmp 0x14002d7fe
xor eax, eax
movsxd rsi, dword [rsp + 0x60]
movsxd rbp, dword [rsp + 0x5c]
add r13, rsi
movsxd rcx, eax
add r12, rbp
cdq
add rbx, rcx
xor eax, edx
mov qword [rsp + 0x110], rbx
sub eax, edx
cdqe
add rdi, rax
mov eax, esi
cdq
mov qword [rsp + 0x30], rdi
mov edi, eax
mov eax, ebp
xor edi, edx
sub edi, edx
cdq
mov ebx, eax
xor ebx, edx
sub ebx, edx
lea ecx, [rbx + rdi]
movsxd rdx, ecx
mov ecx, ebp
add qword [rsp + 0x118], rdx
mov edx, esi
imul edx, esi
imul ecx, ebp
add edx, ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
call fcn.1400639b0
mov rdx, qword [rsp + 0x120]
mov r9d, r15d
mov r8, qword [rsp + 0x128]
and r9d, 0x1f
mulss xmm0, xmm6
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r13
addss xmm0, xmm7
cvttss2si eax, xmm0
movsxd rcx, eax
mov rax, qword [rsp + 0x110]
add rdx, rcx
mov qword [r14 + 0x18], rax
cmp ebx, edi
mov rax, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x110]
cmovle ebp, esi
mov rdi, qword [rsp + 0x30]
mov esi, 0x400
mov qword [r14 + 0x20], rax
mov rax, qword [rsp + 0x118]
mov qword [r14 + 0x28], rax
mov eax, ebp
mov qword [r14 + 0x30], rdx
mov ecx, r15d
mov qword [r14 + 0x38], rcx
lea ecx, [r9 + 0x20]
mov qword [rsp + 0x120], rdx
cdq
xor eax, edx
sub eax, edx
mov qword [r14 + rcx*8], r8
movsxd rdx, eax
inc r15d
lea eax, [r9 + 0x40]
mov qword [r14 + rax*8], rdx
mov qword [r14], r8
mov r9d, 0xff
lea rcx, [rsp + 0x68]
mov r8d, r9d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x14002d780
lea rcx, str.RawInputListener:_quitting_listener_thread...
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xa0]
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.RawInputListener:_Something_went_wrong__quitting_listener_thread...
jmp 0x14002d924
Function at 0x1400302f0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x280], 4
mov r8d, 0x860
mov rdi, rcx
call fcn.14003aa80
xor esi, esi
lea rax, [rsp + 0x280]
lea rbx, [rdi + 0x868]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.DeleteLiveMiniDumps
mov dword [rdi + 0x860], esi
lea rdx, str.SYSTEMCurrentControlSetControlCrashControlLiveKernelReports
mov byte [rdi + 0x864], sil
mov rcx, 0xffffffff80000002
mov dword [rbx], esi
call fcn.140035380
test eax, eax
je 0x14003036a
cmp dword [rsp + 0x280], esi
jne 0x140030370
mov dword [rbx], 1
lea rax, [rsp + 0x290]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetControlCrashControlLiveKernelReportsWATCHDOG
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400304e8
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x290]
lea r9, [rsp + 0x288]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x150]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x288], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1400304da
lea rdx, str..dmp
lea rcx, [rsp + 0x150]
call fcn.14003a868
test rax, rax
je 0x1400303b0
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetControlCrashControlLiveKernelReportsWATCHDOG]
lea rcx, [rsp + 0x40]
movaps xmm1, xmmword [0x140096da0]
dec rcx
movzx eax, byte [0x140096dd8]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [0x140096db0]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x140096dd0]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [0x140096dc0]
movsd qword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x88], al
nop word [rax + rax]
cmp byte [rcx + 1], sil
lea rcx, [rcx + 1]
jne 0x140030470
movzx eax, word [0x14008daac]
mov word [rcx], ax
lea rax, [rsp + 0x40]
dec rax
nop dword [rax]
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x140030490
lea r8, [rsp + 0x150]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400304b0
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x1400303b0
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x140030e00
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x490
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.14003aa80
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.14003aa80
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.14003aa80
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rax, [rsp + 0x20]
dec rax
nop dword [rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140030e60
movups xmm0, xmmword [str.System32AMDACRDumps_]
xor ecx, ecx
movsd xmm1, qword [0x140096eb8]
movups xmmword [rax], xmm0
movsd qword [rax + 0x10], xmm1
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + rcx + 0x130], al
lea rcx, [rcx + 1]
test al, al
jne 0x140030e90
lea rcx, [rsp + 0x130]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140030eb0
movzx eax, word [0x140096ea0]
lea rdx, [rsp + 0x350]
mov word [rcx], ax
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140030f10
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140030fca
lea r8, str.Not_find_any_file_
mov edx, 0x40000000
call fcn.140032710
add rsp, 0x490
pop rbx
ret
test byte [rsp + 0x350], 0x10
jne 0x140030fa8
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + rcx + 0x240], al
lea rcx, [rcx + 1]
test al, al
jne 0x140030f20
lea rax, [rsp + 0x240]
dec rax
nop
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140030f40
lea r8, [rsp + 0x37c]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140030f60
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140030fa8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140030fa8
mov r9d, eax
lea r8, str.DeleteFile_failed_0x_x.
mov edx, 0x40000000
call fcn.140032710
lea rdx, [rsp + 0x350]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140030f10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
add rsp, 0x490
pop rbx
ret
Function at 0x1400312a0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x380
mov rbx, r8
lea rcx, [rsp + 0x270]
mov rsi, rdx
mov r8d, 0x104
xor edx, edx
call fcn.14003aa80
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x104
call fcn.14003aa80
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rsp + 0x160]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140031300
mov eax, dword [0x140096e98]
xor edx, edx
movups xmm0, xmmword [str.LiveKernelReportsWatchdog_]
movsd xmm1, qword [0x140096e90]
movups xmmword [rcx], xmm0
movsd qword [rcx + 0x10], xmm1
mov dword [rcx + 0x18], eax
movzx eax, byte [0x140096e9c]
mov byte [rcx + 0x1c], al
mov ecx, edx
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x160]
mov byte [rsp + rcx + 0x270], al
lea rcx, [rcx + 1]
test al, al
jne 0x140031340
lea rcx, [rsp + 0x270]
dec rcx
cmp byte [rcx + 1], dl
lea rcx, [rcx + 1]
jne 0x140031362
movzx eax, word [0x140096ea0]
mov word [rcx], ax
lea rcx, [rsp + 0x270]
mov qword [rbx], rdx
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140031398
xor al, al
jmp 0x1400313ea
test byte [rsp + 0x20], 0x10
jne 0x1400313cd
lea rdx, [rsp + 0x34]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x1400313cd
mov rax, qword [rsp + 0x34]
lea rdx, [rsp + 0x4c]
mov r8d, 0x104
mov qword [rbx], rax
mov rcx, rsi
call fcn.140061820
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140031398
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140032350
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x130
lea rax, vtable.LogMsg.0
mov rsi, rdx
mov qword [rcx], rax
lea rdx, [r11 + 8]
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x10c], rax
mov rbp, r8
mov qword [rcx + 0x118], rax
lea rcx, str.LogOutputDebug
mov dword [r11 + 8], eax
call fcn.140035280
test eax, eax
je 0x1400323b3
cmp dword [rsp + 0x140], 0
je 0x1400323b3
or dword [rbx + 0x10c], 1
lea rdx, [rsp + 0x140]
lea rcx, str.LogOutputFile
call fcn.140035280
test eax, eax
je 0x1400323dc
cmp dword [rsp + 0x140], 0
je 0x1400323dc
or dword [rbx + 0x10c], 4
lea rdx, [rsp + 0x140]
lea rcx, str.LogMaskLevel
call fcn.140035280
test eax, eax
je 0x140032405
mov eax, dword [rsp + 0x140]
test eax, eax
je 0x140032405
mov dword [rbx + 0x110], eax
mov rdx, rsi
lea rcx, [rbx + 8]
call fcn.140003270
test byte [rbx + 0x10c], 4
je 0x140032463
lea r9, [rbx + 8]
mov r8, rbp
lea rdx, str._s_s.txt
lea rcx, [rsp + 0x20]
call fcn.140003270
lea rdx, [0x140096ffc]
lea rcx, [rsp + 0x20]
call fcn.140060d3c
mov qword [rbx + 0x118], rax
test rax, rax
jne 0x140032463
lea rcx, str.fopen_failed.
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
and dword [rbx + 0x10c], 0xfffffffb
lea r11, [rsp + 0x130]
mov rax, rbx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400325f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x440
test byte [rcx + 0x10c], 5
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
je 0x1400326f5
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x450], rsi
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x3c]
lea rcx, [rsp + 0x240]
movzx eax, word [rsp + 0x3e]
movzx r9d, word [rsp + 0x3a]
movzx r8d, word [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._02d:_02d:_02d:_03d
call fcn.140003270
test ebp, ebp
je 0x14003268f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x240]
lea r8, [rbx + 8]
mov qword [rsp + 0x20], rdi
lea rdx, str._s__t_s__s_GetLastError___x_r_n
lea rcx, [rsp + 0x40]
call fcn.140003270
jmp 0x1400326b1
lea r9, [rsp + 0x240]
mov qword [rsp + 0x20], rdi
lea r8, [rbx + 8]
lea rdx, str._s__t_s__s_r_n
lea rcx, [rsp + 0x40]
call fcn.140003270
mov eax, dword [rbx + 0x10c]
mov rsi, qword [rsp + 0x450]
test al, 1
je 0x1400326d4
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [rbx + 0x10c]
test al, 4
je 0x1400326f5
mov rcx, qword [rbx + 0x118]
lea rdx, [rsp + 0x40]
call fcn.140032790
mov rcx, qword [rbx + 0x118]
call fcn.140064c60
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140033950
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub rsp, 0x2e8
xorps xmm1, xmm1
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rcx, [rsp + 0xe0]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
mov dword [rsp + 0xd4], eax
mov r8d, 0x200
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x74], xmm1
movups xmmword [rsp + 0x84], xmm1
movups xmmword [rsp + 0x94], xmm1
movups xmmword [rsp + 0xa4], xmm1
movups xmmword [rsp + 0xb4], xmm1
movups xmmword [rsp + 0xc4], xmm1
call fcn.14003aa80
mov edx, 0x200
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140033af9
lea rax, [rsp + 0xe0]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400339e4
lea rax, [rcx + 0x2f]
cmp rax, 0x200
jae 0x140033af9
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x2e0], rbx
add rcx, rax
lea r9, str.GlobalAti_VariBrightMonitorEvent
lea r8, str.atibtmon.exe
lea rdx, str._s__s
call fcn.140003270
xor ebx, ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rbx
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140033a9d
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140033a8d
lea r8, str.VBMonitorProcessStart:_Failed_to_create_VariBright_Monitor_Process
mov edx, 0x2000
call fcn.140032570
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2e8
ret
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140033ab2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140033ac7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], rbx
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140033a8d
mov r9d, dword [rsp + 0x60]
lea r8, str.VBMonitorProcessStart:_VariBright_Monitor_Process__ProcessID__lu__created
mov edx, 0x2000
call fcn.140032710
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2e8
ret
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140033a95
lea r9, str.VBMonitorProcessStart:_Failed_to_retreive_VBMonitor_Full_Name
xor r8d, r8d
mov edx, 0x60004004
call fcn.1400324f0
add rsp, 0x2e8
ret
Function at 0x140034e40
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
mov r9d, 0x10000
xor r8d, r8d
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140034e99
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140034e8c
lea r8, str.DeleteRegKey_RegOpenKeyEx_failed.
lea edx, [rbx + 7]
call fcn.140032570
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x140034ecd
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140034ecb
mov r9, rdi
lea r8, str.DeleteRegKey_RegDeleteKey_failed_for_pcPath___s.
mov edx, 8
call fcn.140032570
xor ebx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140034ef0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rdi, r8
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x20006
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rsi, rdx
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x140034f76
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140034f64
mov r9, rsi
lea r8, str.WriteRegKey_RegCreateKeyEx_failed_for_pcPath___s.
lea edx, [rbx + 7]
call fcn.140032570
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x78]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x140034faa
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140034fa8
mov r9, rdi
lea r8, str.WriteRegKey_RegSetValueEx_failed_for_value___s.
mov edx, 8
call fcn.140032570
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140034fd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rbp, r9
mov qword [rsp + 0x48], 0
mov rdi, r8
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x140035091
mov rcx, qword [rsp + 0x48]
mov r9d, 0xffff
mov dword [rsp + 0x44], eax
mov r8, rdi
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov rdx, qword [rsp + 0x80]
mov ebx, eax
mov ecx, dword [rsp + 0x40]
mov dword [rdx], ecx
test eax, eax
je 0x140035084
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140035084
mov r9, rdi
lea r8, str.GetMultiSzRegValue:_RegGetValue_failed_for_lpValueName___s.
mov edx, 8
call fcn.140032570
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400350b1
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400350b1
mov r9, rsi
lea r8, str.GetMultiSzRegValue:_RegOpenKeyEx_failed_for_lpKeyPath___s.
mov edx, 8
call fcn.140032570
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140035110
Capabilities:
Check for sandbox username or hostname
Get session information
Get session user name
Impersonate user

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov rdi, r8
mov ebx, edx
test ecx, ecx
je 0x140035148
mov rdx, r8
mov ecx, 0x2001f
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x140035195
mov eax, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
xorps xmm0, xmm0
mov dword [rsp + 0x80], 0
xor eax, eax
lea r9, [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x30], 0x38
lea r8d, [rcx + 5]
mov qword [rsp + 0x20], rax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
jne 0x1400351c2
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400351b2
lea r8, str.GetProfileRootHandle_RegOpenCurrentUser_failed.
mov edx, 8
call fcn.140032570
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
lea rdx, [rsp + 0x98]
mov ecx, ebx
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x14003520a
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x1400351f0
lea r8, str.GetProfileRootHandle_WTSQueryUserToken_failed.
lea edx, [rax + 8]
call fcn.140032570
mov rcx, qword [rsp + 0x38]
call sub.WTSAPI32.dll_WTSFreeMemory
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x30]
mov ebx, 1
call qword [sym.imp.USERENV.dll_LoadUserProfileA]
test eax, eax
jne 0x140035243
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x140035241
lea r8, str.OpenProfilePathKey_LoadUserProfile_failed.
lea edx, [rbx + 7]
call fcn.140032570
xor ebx, ebx
mov rcx, qword [rsp + 0x60]
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret