joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008f760
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800da280]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18008f88a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x18008f881
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18008f864
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18008f864
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18008f864
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18008f822
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1800db250]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18008f881
jmp 0x18008f857
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18008f857
mov rcx, qword [0x1800db250]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18008f881
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x18008f7d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18008f8e3
cmp dword [rbx + 0xc], esi
jbe 0x18008f8e3
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18008f8dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18008fe80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18008f8a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180091830
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18008fc60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov r14d, r15d
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x1800db248], esi
je 0x18008fcb1
cmp rbx, 0x20
jae 0x18008fc9a
xor ecx, ecx
jmp 0x18008fc9c
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800db248], esi
jne 0x18008fc90
cmp qword [0x1800db250], r14
mov qword [rsp + 0x58], r13
je 0x18008fe4d
mov ecx, dword [0x1800df5cc]
mov ebx, r15d
test ecx, ecx
je 0x18008fcef
mov rdx, qword [0x1800df5c0]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18008fcfa
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18008fce0
mov r14d, 4
jmp 0x18008fe53
cmp ebx, 0xffffffff
je 0x18008fcef
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18008fdab
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18008f760
xor edx, edx
mov ecx, ebx
call fcn.18008f650
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x18008fd9b
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x18008fd87
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, ecx
nop word [rax + rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18008fd78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x18008fd50
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800db250]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x18008fe53
mov rdx, qword [0x1800df5c0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.1800900e0
mov ecx, dword [0x1800df5cc]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x18008fdff
imul rcx, rax, 0x38
mov rax, qword [0x1800df5c0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x1800df5cc]
mov edx, dword [0x1800df5c8]
dec ecx
mov eax, edx
mov dword [0x1800df5cc], ecx
shr eax, 1
cmp eax, 0x20
jb 0x18008fe53
cmp eax, ecx
jb 0x18008fe53
mov r8, qword [0x1800df5c0]
mov eax, edx
mov rcx, qword [0x1800db250]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18008fe53
shr dword [0x1800df5c8], 1
mov qword [0x1800df5c0], rax
jmp 0x18008fe53
mov r14d, 2
xchg dword [0x1800db248], r15d
mov r13, qword [rsp + 0x58]
mov eax, r14d
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180090030
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x18009009f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180090088
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18009007c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180090050
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x1800db250]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180090160
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800901a0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800df5b8]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800901de
cmp rsi, r14
jb 0x1800901d6
cmp rsi, r15
jae 0x1800901d6
cmp qword [rsi + 8], 0
jne 0x1800903a7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800901c1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180090272
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180090269
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180090269
cmp dword [rsp + 0x70], 0x10000
je 0x1800902eb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180090269
sub rbx, rbp
cmp rbx, r14
jae 0x180090230
test rsi, rsi
jne 0x180090350
cmp rdi, r15
ja 0x18009038f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18009038f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18009038f
cmp dword [rsp + 0x70], 0x10000
je 0x180090321
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800902a2
jmp 0x18009038f
test rbx, rbx
je 0x180090269
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180090350
cmp rbx, r14
jae 0x180090210
jmp 0x180090272
test rdi, rdi
je 0x18009038f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180090350
cmp rdi, r15
jbe 0x180090280
jmp 0x18009038f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x180090360
mov rax, qword [0x1800df5b8]
mov qword [rsi], rax
mov qword [0x1800df5b8], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x180090f90
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180090fca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x180090fcf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180091018
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800a8430]
cmp byte [rcx + rax], 0
je 0x180091018
dec r8
sub rdx, 1
jne 0x180090ffe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1406f28e0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1406f28ea
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1406f2913
pop rbp
sub rbp, 0x33
sub rbp, 0x6f28e0
sub rsp, 0x20
jmp 0x1406f2932
mov rax, 0x6f28e0
add rax, rbp
add rax, 0x84
mov rcx, 0x60e
mov rdx, 0x3599d96b
xor byte [rax], dl
inc rax
dec rcx
jne 0x1406f2951
jmp 0x1406f2968
and esp, edx
invalid
Function at 0x140003db8
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbp, rdx
xor r14d, r14d
mov esi, r14d
or rcx, 0xffffffffffffffff
mov rbx, rcx
inc rbx
cmp word [rdx + rbx*2], r14w
jne 0x140003de9
add rbx, 0xe
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.14000aa28
mov rdi, rax
test rax, rax
je 0x140003f57
mov word [rax], r14w
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call fcn.140004110
test eax, eax
js 0x140003f57
lea rax, [rbx - 1]
mov ecx, r14d
mov edx, 0x80070057
cmp rax, 0x7ffffffe
cmova ecx, edx
test ecx, ecx
js 0x14001bf54
mov r8, rbx
mov rax, rdi
test rbx, rbx
je 0x140003e69
cmp word [rax], r14w
je 0x140003e69
add rax, 2
sub r8, 1
jne 0x140003e59
mov rax, r8
neg rax
sbb ecx, ecx
not ecx
and ecx, edx
test r8, r8
je 0x14001bf54
mov rdx, rbx
sub rdx, r8
test ecx, ecx
js 0x140003f57
mov rcx, rbx
sub rcx, rdx
lea r8, [rdi + rdx*2]
je 0x140003ed2
mov rax, rcx
sub rax, rbx
lea r9, [rdx + 0x7ffffffe]
add r9, rax
lea rdx, str.Tabtip_MainUI
sub rdx, r8
test r9, r9
je 0x140003ed2
movzx eax, word [rdx + r8]
test ax, ax
je 0x140003ed2
mov word [r8], ax
add r8, 2
dec r9
sub rcx, 1
jne 0x140003eb2
lea rax, [r8 - 2]
test rcx, rcx
cmovne rax, r8
mov word [rax], r14w
je 0x140003f57
mov dword [rsp + 0x38], 0x18
lea rbx, section..rdata
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x28]
call fcn.140004f38
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], r14d
mov r8, rdi
mov edx, 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov rsi, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xb7
je 0x14001bf5c
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x28]
call fcn.140009b60
mov rcx, rdi
call fcn.14000aa1c
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
mov rdx, r14
jmp 0x140003e84
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rsi, r14
jmp 0x140003f48
Function at 0x1400041ec
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14005b3e8]
xor rax, rsp
mov qword [rbp + 0x47], rax
and qword [rbp - 0x41], 0
and dword [rbp - 0x49], 0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r8, [rbp - 0x41]
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
je 0x14001bfc0
mov r9d, dword [rbp - 0x49]
lea rax, [rbp - 0x49]
mov rcx, qword [rbp - 0x41]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea ebx, [r8 + 1]
mov edx, ebx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
nop dword [rax + rax]
mov ecx, dword [rbp - 0x49]
call fcn.14000aa28
mov rcx, qword [rbp - 0x41]
mov rdi, rax
test rax, rax
je 0x14001bfb4
mov r9d, dword [rbp - 0x49]
lea rax, [rbp - 0x49]
mov r8, rdi
mov qword [rsp + 0x20], rax
mov edx, ebx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
nop dword [rax + rax]
test eax, eax
je 0x14001bfa8
lea rcx, [rbp - 0x39]
call fcn.14000445c
mov rcx, qword [rdi]
lea rdx, [rax + 8]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
nop dword [rax + rax]
lea rcx, [rbp - 0x39]
mov ebx, eax
call fcn.140005690
mov rcx, rdi
call fcn.14000aa1c
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000ae10
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov rcx, rdi
call fcn.14000aa1c
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400042db
Function at 0x140006de0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1388]
mov eax, 0x1470
call fcn.14000d7c0
sub rsp, rax
mov rax, qword [0x14005b3e8]
xor rax, rsp
mov qword [rbp + 0x1360], rax
xor edi, edi
cmp byte [0x14005be9b], dil
jne 0x140006fcb
lea rcx, [rbp + 0xf40]
call fcn.140007008
test eax, eax
jns 0x140006e4c
mov rcx, qword [rbp + 0x1388]
mov r9d, eax
call fcn.14003ff98
jmp 0x140006f8f
lea rdx, str.explorer.exe
lea rcx, [rbp + 0xf40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140006f8f
lea rdx, str.customshellhost.exe
lea rcx, [rbp + 0xf40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140006f8f
lea rdx, str.ppishell.exe
lea rcx, [rbp + 0xf40]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140006f8f
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32EnumProcesses]
nop dword [rax + rax]
test eax, eax
je 0x140006f8c
mov esi, dword [rsp + 0x20]
mov r14d, edi
shr esi, 2
test esi, esi
je 0x140006f8c
lea r15, [rsp + 0x40]
mov r8d, dword [r15]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
nop dword [rax + rax]
mov r8d, 0x104
lea rdx, [rbp + 0x1150]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessImageFileNameW]
nop dword [rax + rax]
test eax, eax
je 0x140006f52
lea rcx, [rbp + 0x1150]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFindFileNameW]
nop dword [rax + rax]
mov rcx, rax
lea rdx, str.explorer.exe
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140006f9f
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006f7c
mov rax, qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
call fcn.14000be90
inc r14d
add r15, 4
cmp r14d, esi
jb 0x140006eec
mov dil, 1
mov byte [0x14005be9a], dil
mov byte [0x14005be9b], 1
jmp 0x140006fd2
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006f8f
mov rax, qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
call fcn.14000be90
jmp 0x140006f8f
mov dil, byte [0x14005be9a]
mov al, dil
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.14000ae10
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140007008
Capabilities:
Persist via winlogon helper dll registry key
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x40
lea rax, [r11 + 0x10]
mov dword [rsp + 0x58], 0x208
mov qword [r11 - 0x18], rax
lea r8, str.Shell
mov qword [r11 - 0x20], rcx
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
and qword [r11 - 0x28], 0
mov rbx, rcx
mov rcx, 0xffffffff80000001
mov r9d, 0x20000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140029862
cmp eax, 2
jne 0x14002984a
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], 0x208
mov qword [rsp + 0x30], rax
lea r8, str.Shell
mov qword [rsp + 0x28], rbx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
and qword [rsp + 0x20], 0
mov r9d, 0x20000002
mov rcx, 0xffffffff80000001
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140007119
cmp eax, 2
jne 0x140029872
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], 0x208
mov qword [rsp + 0x30], rax
lea r8, str.Shell
mov qword [rsp + 0x28], rbx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
and qword [rsp + 0x20], 0
mov r9d, 0x20000002
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14002988a
cmp dword [rsp + 0x58], 2
jbe 0x14002989d
xor eax, eax
add rsp, 0x40
pop rbx
ret
cmp dword [rsp + 0x58], 2
ja 0x140007110
jmp 0x1400070b9
mov rcx, qword [rsp + 0x48]
mov r9d, eax
mov edx, 0x191
call fcn.14003ffdc
nop
jmp 0x140007068
cmp dword [rsp + 0x58], 2
ja 0x140007110
jmp 0x140007068
mov rcx, qword [rsp + 0x48]
mov r9d, eax
mov edx, 0x19d
call fcn.14003ffdc
nop
jmp 0x1400070b9
mov rcx, qword [rsp + 0x48]
mov r9d, eax
call fcn.14003fd1c
nop
jmp 0x140007112
mov rcx, qword [rsp + 0x48]
lea r8, [0x14004d748]
mov ebx, 0x80004005
mov edx, 0x1a7
mov r9d, ebx
call fcn.14003120c
mov eax, ebx
jmp 0x140007112
Function at 0x140007128
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14005b3e8]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x28]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionTouchKeyboard
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, 0x80070000
test eax, eax
jg 0x1400298c2
js 0x1400071d9
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x2c]
and dword [rbp - 0x30], 0
lea rdx, str.DelayStart
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rbp - 0x30]
mov dword [rbp - 0x2c], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jle 0x1400071c3
movzx eax, ax
or eax, ebx
test eax, eax
jns 0x1400298ce
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
call fcn.140007250
test byte [0x14005c540], 1
jne 0x1400298fd
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapSetInformation]
nop dword [rax + rax]
cmp byte [0x14005bc38], 0
jne 0x140007238
and dword [rbp - 0x30], 0
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov rdx, rax
lea r8, [rbp - 0x30]
call fcn.1400034ac
cmp al, 1
jne 0x140007240
call fcn.140004710
mov ebx, eax
jmp 0x140029918
or ebx, 0xffffffff
jmp 0x140029918
mov ebx, dword [rbp - 0x30]
jmp 0x140029918
movzx eax, ax
or eax, ebx
test eax, eax
jmp 0x14000717c
cmp dword [rbp - 0x30], 1
jne 0x1400071c9
xor r9d, r9d
lea r8, str.TabTip_MessageBox__
lea rdx, str.TabTip_is_at_WinMain.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
nop
jmp 0x1400071c9
lea rax, [rbp - 0x20]
lea rdx, [0x140050df0]
mov qword [rsp + 0x20], rax
call fcn.1400336a0
nop
jmp 0x1400071eb
mov rcx, qword [0x14005bc40]
test rcx, rcx
je 0x140029938
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
and qword [0x14005bc40], 0
test byte [0x14005c540], 1
je 0x140029956
lea rax, [rbp - 0x20]
lea rdx, [0x140050e10]
mov qword [rsp + 0x20], rax
call fcn.1400336a0
call fcn.14003366c
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000ae10
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140008598
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, qword [0x14005bd00]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x88], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x78], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
nop dword [rax + rax]
and dword [rsp + 0x40], 0
lea r8, [0x140009ec0]
mov qword [rbx + 0x80], rax
mov r9, rbx
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
and dword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbx + 0x70], rax
add rsp, 0x30
pop rbx
ret