joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400313e0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query environment variable

Disassembly:
push rbx
sub rsp, 0x300
call fcn.1400318a0
xor edx, edx
lea rcx, [rsp + 0xe0]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rsp + 0x1f0]
mov r8d, 0x104
call fcn.1400514f0
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
lea rcx, str.COMMONPROGRAMFILES
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x140031518
lea rax, str.ATI_TechnologiesDSEManager.exe
xor ebx, ebx
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x1f0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0xe0]
call fcn.140079858
test eax, eax
jne 0x14003148f
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140031518
cmp eax, 0x10
je 0x140031518
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1400514f0
lea rax, [0x1400a6c48]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0xe0]
xor eax, eax
mov word [rsp + 0xb0], bx
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
xor edx, edx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
add rsp, 0x300
pop rbx
ret
lea rcx, str.Unable_to_create_path_for_DSE_Manager._n
call fcn.140031ba0
add rsp, 0x300
pop rbx
ret
Function at 0x1400318a0
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.1400514f0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.1400514f0
mov r8d, 0x104
lea rdx, [rsp + 0x50]
lea rcx, str.COMMONPROGRAMFILES
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x140031b31
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.140079858
test eax, eax
jne 0x140031949
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140031b31
cmp eax, 0x10
je 0x140031b31
xor edx, edx
mov qword [rsp + 0x5e0], rsi
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140031983
lea rcx, str.Unable_to_get_snapshot_of_all_processes._n
call fcn.140031ba0
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.1400514f0
mov dword [rbp + 0x60], 0x130
test edi, edi
jne 0x1400319ca
lea rdx, [rbp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32First
jmp 0x1400319d8
jle 0x1400319e0
lea rdx, [rbp + 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140031b05
xor edx, edx
lea rcx, [rbp + 0x2a0]
mov r8d, 0x100
call fcn.1400514f0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.1400514f0
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.14007a8a0
test eax, eax
jne 0x140031afe
lea rdx, str.DSEManager
lea rcx, [rbp + 0x2a0]
call fcn.140078434
test eax, eax
jne 0x140031afe
lea rdx, str..exe
lea rcx, [rsp + 0x50]
call fcn.140078434
test eax, eax
jne 0x140031afe
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 0x140031afe
xor edx, edx
lea rcx, [rbp + 0x3a0]
mov r8d, 0x104
call fcn.1400514f0
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 0x140031af5
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.140078434
test eax, eax
jne 0x140031af5
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 0x1400319a0
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.140031ba0
add rsp, 0x5b8
pop r14
pop rbp
ret
Function at 0x140032370
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov r14, rdx
mov r13, r9
xor edx, edx
mov r15, r8
mov rbx, rcx
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rdx, r14
mov dword [r14], 0x68
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
jne 0x1400323d6
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003257e
lea r8, str.GetFullScreenDetectionInfo__:_GetMonitorInfoFromWindow_HWND_d__failed
jmp 0x140032571
mov rdi, qword [rsp + 0x2e0]
mov rcx, rbx
mov rdx, rdi
mov r12, rbx
xor ebp, ebp
call fcn.140032740
mov esi, eax
test eax, eax
je 0x14003255e
lea rdx, [0x1400b21e8]
mov rcx, rdi
call fcn.140076378
test eax, eax
je 0x1400324da
lea rdx, str.MicrosoftEdgeCP.exe
mov rcx, rdi
call fcn.140076378
test eax, eax
je 0x1400324da
lea rdx, str.LockApp.exe
mov rcx, rdi
call fcn.140076378
test eax, eax
je 0x1400324da
lea rdx, str.ApplicationFrameHost.exe
mov rcx, rdi
call fcn.140076378
test eax, eax
jne 0x1400324be
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x208
call fcn.1400514f0
mov r8d, 0x104
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x1400324be
lea r9, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1400324ad
mov rdx, rdi
mov rcx, rax
mov r12, rax
call fcn.140032740
mov esi, eax
jmp 0x1400324be
xor r8d, r8d
mov edx, 0xbb8
lea ecx, [r8 + 7]
call fcn.1400401c0
movups xmm0, xmmword [r14 + 4]
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, r12
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400329a0
mov ebp, eax
mov dword [r15], ebp
mov dword [r13], esi
cmp dword [r15], 0
je 0x140032542
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x50]
call fcn.1400514f0
movups xmm0, xmmword [r14 + 0x28]
mov rcx, qword [0x1400da4b8]
lea rdx, [rsp + 0x30]
movups xmm1, xmmword [r14 + 0x38]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [r14 + 0x48]
movaps xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [r14 + 0x58]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.140028050
test eax, eax
jne 0x140032549
mov rcx, qword [rsp + 0x2e8]
mov eax, dword [rsp + 0x7c]
mov dword [rcx], eax
mov eax, 1
jmp 0x140032580
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003257e
lea r8, str.GetFullScreenDetectionInfo__:_GetVidPnSourceIdFromMonitorInfo_HWND_d__failed
jmp 0x140032571
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x14003257e
lea r8, str.GetFullScreenDetectionInfo__:_GetFullScreenStatusForWindow_HWND_d__failed
mov r9, rbx
mov edx, 0x20000000
call fcn.140040750
xor eax, eax
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140033670
Capabilities:
Create thread
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
lea r8, [0x1400336d0]
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 0x1400336bf
mov edx, 0xf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x1400336bc
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 0x1400338f0
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 0x140033b0d
movss xmm6, dword [0x1400b2604]
mov esi, 0x400
movss xmm7, dword [0x1400b2600]
nop dword [rax]
cmp eax, 0xffffffff
je 0x140033b3e
cmp dword [rsp + 0x70], 0xff
jne 0x140033aef
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 0x140033aef
cmp dword [rsp + 0x38], 0
jne 0x140033aef
lea rcx, [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test word [rsp + 0x54], si
je 0x1400339ec
movsx eax, word [rsp + 0x56]
jmp 0x1400339ee
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.14007a9e0
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 0x140033970
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 0x140033b14
Function at 0x140037260
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r12
sub rsp, 0xb8
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
lea rdx, str.ShowACRMessage
mov rbp, rax
call fcn.1400512d4
test rax, rax
je 0x140037515
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xa0], r15
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
mov ebx, 2
test rax, rax
je 0x140037436
lea rcx, str.ACR_EVENTEND
mov qword [rsp + 0xa8], r14
call qword [sym.imp.USER32.dll_RegisterWindowMessageA]
cmp dword [rsp + 0x20], 0
mov r14d, eax
jle 0x14003742e
mov qword [rsp + 0xd8], rsi
mov rsi, r15
mov qword [rsp + 0xe0], rdi
lea edi, [rbx - 3]
mov qword [rsp + 0xb0], r13
lea r13, [0x140000000]
nop dword [rax]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
mov r8d, 0x64
call fcn.14007702c
cmp rax, 0xffffffffffffffff
je 0x140037409
cmp edi, 8
ja case.default.0x140037344
movsxd rax, edi
mov ecx, dword [r13 + rax*4 + 0x37520]
add rcx, r13
jmp rcx
xor r9d, r9d
lea r8d, [r9 + 9]
jmp 0x1400373f5
lea rcx, [rsp + 0x30]
call fcn.14005e414
mov r8d, 1
jmp 0x1400373f2
lea rcx, [rsp + 0x30]
call fcn.14005e414
mov r8, rbx
jmp 0x1400373f2
lea rcx, [rsp + 0x30]
call fcn.14005e414
mov r8d, 3
jmp 0x1400373f2
lea rcx, [rsp + 0x30]
call fcn.14005e414
mov r8d, 4
jmp 0x1400373f2
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x10]
call fcn.140078b28
mov r9d, eax
mov r8d, 5
jmp 0x1400373f5
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x10]
call fcn.140078b28
mov r9d, eax
mov r8d, 6
jmp 0x1400373f5
lea rcx, [rsp + 0x30]
call fcn.14005e414
mov r8d, 7
jmp 0x1400373f2
lea rcx, [rsp + 0x30]
call fcn.14005e414
mov r8d, 8
movsxd r9, eax
mov edx, r14d
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageA]
inc edi
add rsi, 8
lea eax, [rdi + 1]
cmp eax, dword [rsp + 0x20]
jl 0x140037310
mov r13, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xa8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, str.ShowACRMessage1
mov qword [0x1400da398], r12
mov rcx, rbp
call fcn.1400512d4
mov r15, qword [rsp + 0xa0]
test rax, rax
je 0x140037469
mov ebx, 1
jmp 0x140037496
lea rdx, str.ShowACRMessage2
mov rcx, rbp
call fcn.1400512d4
test rax, rax
jne 0x140037496
lea rdx, str.ShowACRMessage3
mov rcx, rbp
call fcn.1400512d4
test rax, rax
je 0x1400374fd
mov ebx, 3
mov ecx, ebx
call fcn.140037720
test al, al
jne 0x1400374fd
sub ebx, 1
je 0x1400374f3
sub ebx, 1
je 0x1400374ec
cmp ebx, 1
je 0x1400374e5
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x1400374fd
lea r8, str.There_is_no_result_from_Registry
mov edx, 0x40000000
call fcn.140040750
mov rbx, qword [rsp + 0xd0]
mov eax, 1
add rsp, 0xb8
pop r12
pop rbp
ret
mov ecx, 0xa1
jmp 0x1400374f8
mov ecx, 0xa0
jmp 0x1400374f8
mov ecx, 0x9f
call fcn.140037c20
mov rbx, qword [rsp + 0xd0]
mov eax, 1
add rsp, 0xb8
pop r12
pop rbp
ret
add rsp, 0xb8
pop r12
pop rbp
ret
Function at 0x140037550
Capabilities:
Get session information

Disassembly:
mov r11, rsp
push r14
sub rsp, 0x60
xor r14d, r14d
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 + 0x20], r14
xor edx, edx
mov dword [r11 + 8], r14d
xor ecx, ecx
mov qword [r11 + 0x18], r14
lea r8d, [r14 + 1]
mov qword [r11 - 0x48], rax
call sub.WTSAPI32.dll_WTSEnumerateSessionsA
test eax, eax
je 0x14003763d
mov qword [rsp + 0x40], rdi
mov edi, r14d
cmp dword [rsp + 0x70], r14d
jbe 0x140037626
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rsi
mov esi, r14d
mov qword [rsp + 0x58], rbx
nop
mov rax, qword [rsp + 0x88]
lea r9, [rsp + 0x30]
mov r8d, 8
xor ecx, ecx
mov ebp, dword [rsi + rax]
lea rax, [rsp + 0x78]
mov edx, ebp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x78], r14d
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x1400375f7
mov rcx, qword [rsp + 0x30]
mov ebx, dword [rcx]
call sub.WTSAPI32.dll_WTSFreeMemory
test ebx, ebx
je 0x140037603
inc edi
add rsi, 0x18
cmp edi, dword [rsp + 0x70]
jb 0x1400375b0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
cmp ebp, 0xffffffff
je 0x140037621
lea rdx, [rsp + 0x80]
mov ecx, ebp
call sub.WTSAPI32.dll_WTSQueryUserToken
mov rbp, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x40]
test rcx, rcx
je 0x14003763d
call sub.WTSAPI32.dll_WTSFreeMemory
mov rax, qword [rsp + 0x80]
add rsp, 0x60
pop r14
ret
Function at 0x140037a90
Capabilities:
Get session information

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x60
xor r12d, r12d
lea rax, [r11 + 0x18]
mov r14, rdx
mov qword [r11 - 0x48], r12
mov r15d, ecx
mov dword [r11 + 0x18], r12d
lea r9, [r11 - 0x48]
mov qword [r11 - 0x38], r12
lea r8d, [r12 + 1]
mov qword [r11 - 0x58], rax
xor edx, edx
xor ecx, ecx
call sub.WTSAPI32.dll_WTSEnumerateSessionsA
test eax, eax
je 0x140037ba3
mov qword [rsp + 0x50], rdi
mov edi, r12d
cmp dword [rsp + 0x90], r12d
jbe 0x140037b8f
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x58], rsi
mov esi, r12d
mov qword [rsp + 0x80], rbx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov r8d, 8
xor ecx, ecx
mov ebp, dword [rsi + rax]
lea rax, [rsp + 0x98]
mov edx, ebp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x98], r12d
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x140037b5a
mov rcx, qword [rsp + 0x38]
mov ebx, dword [rcx]
call sub.WTSAPI32.dll_WTSFreeMemory
test ebx, ebx
je 0x140037b69
inc edi
add rsi, 0x18
cmp edi, dword [rsp + 0x90]
jb 0x140037b10
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x80]
cmp ebp, 0xffffffff
je 0x140037b87
lea rdx, [rsp + 0x40]
mov ecx, ebp
call sub.WTSAPI32.dll_WTSQueryUserToken
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x50]
test rcx, rcx
je 0x140037ba3
call sub.WTSAPI32.dll_WTSFreeMemory
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x90]
mov r8, r14
mov qword [rsp + 0x90], rax
mov ecx, r15d
call fcn.140036bb0
add rsp, 0x60
pop r15
pop r14
pop r12
ret
Function at 0x140038a30
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.1400514f0
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x104
call fcn.1400514f0
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x104
call fcn.1400514f0
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 0x140038a90
movups xmm0, xmmword [str.System32AMDACRDumps_]
xor ecx, ecx
movsd xmm1, qword [0x1400b3260]
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 0x140038ac0
lea rcx, [rsp + 0x130]
dec rcx
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140038ae0
movzx eax, word [0x1400b32c8]
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 0x140038b40
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140038bfa
lea r8, str.Not_find_any_file_
mov edx, 0x40000000
call fcn.140040750
add rsp, 0x490
pop rbx
ret
test byte [rsp + 0x350], 0x10
jne 0x140038bd8
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + rcx + 0x240], al
lea rcx, [rcx + 1]
test al, al
jne 0x140038b50
lea rax, [rsp + 0x240]
dec rax
nop
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140038b70
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 0x140038b90
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140038bd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1400da5d8]
test rcx, rcx
je 0x140038bd8
mov r9d, eax
lea r8, str.DeleteFile_failed_0x_x.
mov edx, 0x40000000
call fcn.140040750
lea rdx, [rsp + 0x350]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140038b40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
add rsp, 0x490
pop rbx
ret
Function at 0x140038c10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x260
lea rax, [rsp + 0x288]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140038d60
mov qword [rsp + 0x270], rdi
xor edi, edi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x288]
lea r9, [rsp + 0x280]
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x150]
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x280], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140038d4a
lea rdx, str..dmp
lea rcx, [rsp + 0x150]
call fcn.1400512d4
test rax, rax
je 0x140038c60
lea rdx, [rsp + 0x40]
mov rcx, rbx
sub rdx, rbx
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140038cd0
lea rcx, [rsp + 0x40]
dec rcx
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140038ce6
movzx eax, word [0x1400a709c]
mov word [rcx], ax
lea rax, [rsp + 0x40]
dec rax
cmp byte [rax + 1], dil
lea rax, [rax + 1]
jne 0x140038d02
lea r8, [rsp + 0x150]
xor edx, edx
nop word [rax + rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140038d20
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
je 0x140038c60
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x270]
add rsp, 0x260
pop rbx
ret
Function at 0x1400390e0
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 rdi, r8
lea rcx, [rsp + 0x270]
mov rsi, rdx
mov r8d, 0x104
xor edx, edx
mov rbx, r9
call fcn.1400514f0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.1400514f0
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rsp + 0x20]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140039140
movups xmm0, xmmword [str.LiveKernelReports_]
mov eax, dword [0x1400b3248]
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140039165
xor edx, edx
movzx eax, byte [rdi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140039171
xor edx, edx
mov ecx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + rcx + 0x270], al
lea rcx, [rcx + 1]
test al, al
jne 0x140039190
lea rcx, [rsp + 0x270]
dec rcx
nop
cmp byte [rcx + 1], dl
lea rcx, [rcx + 1]
jne 0x1400391b0
movzx eax, word [0x1400b324c]
mov word [rcx], ax
movzx eax, byte [0x1400b324e]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x270]
mov qword [rbx], rdx
lea rdx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400391f3
xor al, al
jmp 0x140039254
test byte [rsp + 0x130], 0x10
jne 0x140039234
lea rdx, [rsp + 0x144]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x140039234
mov rax, qword [rsp + 0x144]
lea rdx, [rsp + 0x15c]
mov r8d, 0x104
mov qword [rbx], rax
mov rcx, rsi
call fcn.140078290
lea rdx, [rsp + 0x130]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400391f3
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