joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001cc8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x140001d5a
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x140001d34
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d53
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001d53
mov rdx, qword [rdi]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rcx, rbx
mov rdx, rsi
call rax
jmp 0x140001d43
cmp dword [rdi + 8], 0
je 0x140001d53
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 1
jmp 0x140001d43
cmp byte [0x1400db298], 0
jne 0x140001da5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d91
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov qword [0x1400db2a0], rax
jmp 0x140001d98
mov r11, qword [0x1400db2a0]
mov eax, 1
mov byte [0x1400db298], al
jmp 0x140001dac
mov r11, qword [0x1400db2a0]
mov rcx, qword [rbx]
mov rdx, rsi
test r11, r11
je 0x140001d3d
mov r8d, dword [rbx + 8]
xor r9d, r9d
call r11
jmp 0x140001d43
Function at 0x14000255c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1400ce148]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1400025d0
call fcn.140001b60
mov ebx, eax
jmp 0x1400026df
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400025f1
call fcn.140001b60
jmp 0x1400026d3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400025e7
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x14000262c
mov ebx, 0x8007000e
jmp 0x1400026d5
mov ecx, eax
test eax, eax
je 0x140002669
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14000265f
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140002669
lea rcx, [rsp + 0x70]
call fcn.140012c88
mov rax, qword [rsp + 0x70]
jmp 0x140002673
mov ecx, 0x80070216
call fcn.140001b44
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14000268a
test rax, rax
je 0x140002622
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x1400025e7
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003368
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400026f6
lea rcx, [rsp + 0x70]
call fcn.1400112a4
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140049cd0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop r12
pop rdi
pop rsi
ret
Function at 0x14000626c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r12, r8
mov rdi, rdx
mov r14, rcx
mov ebx, 0x800
mov ecx, ebx
call fcn.14004b2fc
mov qword [rbp - 0x20], rax
xor ecx, ecx
mov byte [rbp + 0x48], cl
mov r8b, cl
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140017d2c
nop
mov dword [rbp - 0x30], ebx
cmp qword [rdi + 0x18], 8
jb 0x1400062ca
mov rdx, qword [rdi]
jmp 0x1400062cd
mov rdx, rdi
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov rsi, qword [rbp - 0x20]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
or r15, 0xffffffffffffffff
xor ebx, ebx
cmp eax, 0xea
jne 0x1400063af
mov ecx, dword [rbp - 0x30]
inc ecx
lea eax, [rbx + 2]
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.14004b2fc
mov qword [rbp - 0x10], rax
xor ecx, ecx
mov byte [rbp + 0x58], cl
mov r8b, cl
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140017d2c
mov rsi, qword [rbp - 0x10]
mov qword [rbp - 0x20], rsi
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
mov qword [rbp - 0x18], rax
test rbx, rbx
je 0x14000637b
mov eax, r15d
lock xadd dword [rbx + 8], eax
add eax, r15d
jne 0x140006377
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
add eax, r15d
jne 0x140006377
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rsi, qword [rbp - 0x20]
cmp qword [rdi + 0x18], 8
jb 0x140006385
mov rdi, qword [rdi]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r13d, eax
xor ebx, ebx
test r13d, r13d
jne 0x140006414
mov r8d, dword [rbp - 0x30]
shr r8, 1
cmp dword [rbp - 0x2c], 1
je 0x1400063cf
cmp dword [rbp - 0x2c], 2
je 0x1400063cf
mov r13d, 0x3bc6
jmp 0x140006414
cmp word [rsi + r8*2 - 2], bx
jne 0x1400063ef
mov rcx, rsi
call fcn.14004a2f8
mov r8, rax
mov rdx, rsi
mov rcx, r12
call fcn.140073170
jmp 0x140006414
mov qword [r12 + 0x10], rbx
cmp qword [r12 + 0x18], 8
jb 0x140006402
mov rax, qword [r12]
jmp 0x140006405
mov rax, r12
mov word [rax], bx
mov rdx, rsi
mov rcx, r12
call fcn.14000e244
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14000644e
mov eax, r15d
lock xadd dword [rcx + 8], eax
add eax, r15d
jne 0x14000644e
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
add eax, r15d
jne 0x14000644e
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, r13d
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000646c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov rsi, rdx
mov r13, rcx
mov ecx, 0x800
call fcn.14004b2fc
mov rbx, rax
mov qword [rbp - 0x28], rax
mov eax, 0x400
mov dword [rbp + 0x58], eax
xor edi, edi
mov r12d, edi
mov dword [rbp + 0x60], eax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x60]
mov r8, rbx
mov edx, r12d
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
cmp eax, 0xea
jne 0x140006553
mov eax, dword [rbp + 0x60]
mov dword [rbp + 0x58], eax
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14004b2fc
mov rdi, rax
cmp rax, rbx
je 0x14000651d
mov rcx, rbx
call fcn.14004aab0
mov rbx, rdi
mov qword [rbp - 0x28], rbx
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x58]
mov r8, rdi
mov edx, r12d
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
jmp 0x140006556
xor r14d, r14d
test edi, edi
jne 0x14000665a
mov qword [rbp + 0x60], rbx
lea rdx, [rbp + 0x60]
mov rcx, rsi
call fcn.1400206f0
mov r13, rax
mov rsi, qword [rsi + 8]
mov rdi, qword [rsi + 8]
mov r14b, 1
jmp 0x14000659e
mov rsi, rdi
lea rdx, [rdi + 0x18]
lea rcx, [r13 + 0x18]
call fcn.140011fc8
mov r14b, al
test al, al
je 0x14000659a
mov rdi, qword [rdi]
jmp 0x14000659e
mov rdi, qword [rdi + 0x10]
cmp byte [rdi + 0x41], 0
je 0x14000657e
mov rcx, rsi
xor edi, edi
test r14b, r14b
je 0x14000661c
mov rax, qword [rbp + 0x50]
mov rax, qword [rax + 8]
cmp rsi, qword [rax]
jne 0x1400065d8
mov r8b, 1
lea rdx, [rbp - 0x18]
mov r9, rsi
mov qword [rsp + 0x20], r13
mov rsi, qword [rbp + 0x50]
mov rcx, rsi
call fcn.14001c924
jmp 0x14000664b
cmp byte [rsi + 0x41], dil
je 0x1400065e4
mov rcx, qword [rsi + 0x10]
jmp 0x14000661c
mov rax, qword [rsi]
cmp byte [rax + 0x41], dil
jne 0x1400065fc
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x41], dil
je 0x1400065ed
jmp 0x14000661c
mov rax, qword [rsi + 8]
jmp 0x14000660e
cmp rcx, qword [rax]
jne 0x140006614
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x41], dil
je 0x140006602
cmp byte [rcx + 0x41], dil
cmove rcx, rax
add rcx, 0x18
lea rdx, [r13 + 0x18]
call fcn.140011fc8
test al, al
je 0x140006636
mov r8b, r14b
lea rdx, [rbp - 0x10]
jmp 0x1400065c2
lea rcx, [r13 + 0x18]
call fcn.14000fb30
mov rcx, r13
call fcn.14004aab0
mov rsi, qword [rbp + 0x50]
inc r12d
mov eax, dword [rbp + 0x58]
mov r13, qword [rbp + 0x48]
jmp 0x1400064b5
cmp edi, 0x103
cmove edi, r14d
mov rcx, rbx
call fcn.14004aab0
mov eax, edi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400082e0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400ce148]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdx, r8
lea rcx, [rsp + 0x28]
call fcn.14001640c
nop
cmp qword [rax + 0x18], 8
jb 0x140008314
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
cmp qword [rsp + 0x40], 8
jb 0x140008330
mov rcx, qword [rsp + 0x28]
call fcn.14004aab0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140049cd0
add rsp, 0x68
ret

Function at 0x140009088
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400ce148]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x28], rsi
mov dword [rcx + 0x30], esi
mov qword [rcx + 0x38], rsi
lea rax, vtable.Nvidia::Logging::XMLLogPrinter.0
mov qword [rcx], rax
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
lea rcx, str.MaxPrintingDepth
call fcn.14004a2f8
mov r8, rax
lea rdx, str.MaxPrintingDepth
lea rcx, [rbp - 0x30]
call fcn.140073170
nop
mov dword [rbp - 0x48], 4
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4c]
xor r8d, r8d
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009156
mov ecx, 0x3bc6
cmp dword [rbp - 0x4c], 4
cmovne eax, ecx
lea rdx, str.RegQueryValueEx
mov ecx, eax
call fcn.140005f74
lea rax, vtable.Nvidia::Logging::XMLContentsPrinter.0
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
mov ecx, dword [rbp - 0x50]
mov dword [rdi + 0x68], ecx
cmp qword [rbp - 0x18], 8
jb 0x140009192
mov rcx, qword [rbp - 0x30]
call fcn.14004aab0
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140049cd0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009fcc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rsi, rdx
mov r13, rcx
xor edi, edi
cmp qword [rcx], 0xffffffffffffffff
je 0x14000a0ca
mov r12d, edi
mov r14, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14000a011
mov r8, qword [rdx]
jmp 0x14000a014
mov r8, rdx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, r14d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbp, eax
mov rbx, rdi
mov qword [rsp + 0x90], rbx
test eax, eax
jle 0x14000a08e
mov rcx, rbp
call fcn.14004b2fc
mov r12, rax
mov rbx, rax
xor ecx, ecx
call fcn.140048068
cmp qword [rsi + 0x18], 8
jb 0x14000a068
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r12
mov r9d, r14d
mov r8, rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x80], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x80]
mov r8d, ebp
mov rdx, r12
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000a0c2
cmp dword [rsp + 0x80], ebp
jne 0x14000a0c2
mov dil, 1
mov rcx, rbx
call fcn.140048068
mov al, dil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14000e0d4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400ce148]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
xor ebx, ebx
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000e16b
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x238
call fcn.14004a330
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000e162
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.14004ac10
test eax, eax
je 0x14000e15e
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14000e139
mov ebx, dword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140049cd0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002f34c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x1400ce148]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov edi, dword [0x1400d6ab0]
mov ebx, ecx
lea rcx, [rsp + 0x62]
xor r12d, r12d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], r12w
call fcn.14004a330
mov esi, 0x40e
lea rcx, [rbp + 0x172]
mov r8d, esi
xor edx, edx
mov word [rbp + 0x170], r12w
call fcn.14004a330
lea rcx, [rbp + 0x582]
mov r8d, esi
xor edx, edx
mov word [rbp + 0x580], r12w
call fcn.14004a330
lea rcx, [rsp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [rsp + 0x60], r12w
je 0x14002f3f7
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rax, str.nvvsvc.exe
mov esi, 0x208
lea r9, [rsp + 0x60]
lea r8, str._s_s
lea rcx, [rbp + 0x170]
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.14004de88
lea rcx, str.__first
lea rax, [0x14009d580]
test edi, edi
lea r9, [rbp + 0x170]
cmovne rax, rcx
lea r8, str._s__s_s
lea rcx, [rbp + 0x580]
mov qword [rsp + 0x28], rax
lea rax, [0x1400a06f8]
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.14004de88
lea rcx, str.WinSta0Winlogon
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
call fcn.14004a2f8
lea rdx, str.WinSta0Winlogon
lea rcx, [rsp + 0x30]
mov r8, rax
call fcn.140073170
lea r11, [rsp + 0x30]
lea r8, [rbp + 0x580]
lea rdx, [rbp + 0x170]
xor r9d, r9d
mov ecx, ebx
mov qword [rsp + 0x20], r11
call fcn.14002ed8c
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.140049cd0
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x1400429c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x1400da610]
mov rax, qword [0x1400da618]
mov ebx, 1
jmp 0x140042a5e
test ebx, ebx
js 0x140042b68
mov rsi, qword [rdi]
test rsi, rsi
je 0x140042a5a
mov r9, qword [rsi + 0x10]
and qword [rsp + 0x40], 0
test r9, r9
jne 0x140042a07
xor ebx, ebx
jmp 0x140042a5a
mov rcx, qword [rsi + 0x18]
lea r8, [rsp + 0x40]
lea rdx, [0x1400a4698]
call r9
mov ebx, eax
test eax, eax
js 0x140042a43
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsi]
mov r9d, 5
lea rax, [rsi + 0x28]
lea r8d, [r9 - 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoRegisterClassObject]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140042a53
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400da618]
add rdi, 8
cmp rdi, rax
jb 0x1400429e4
test ebx, ebx
js 0x140042b68
jne 0x140042b61
cmp byte [0x1400db0a0], 0
je 0x140042b17
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400db090], rax
test rax, rax
je 0x140042b10
lea rax, [rsp + 0x40]
lea r9, [0x1400db040]
lea r8, [0x140043874]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140042ad6
mov rcx, qword [0x1400db090]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140042b10
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test eax, eax
jns 0x140042b05
mov rcx, qword [0x1400db090]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x1400db098]
mov rcx, rdi
add edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140042b1f
mov ebx, 0x80004005
jmp 0x140042b23
call qword [sym.imp.ole32.dll_CoResumeClassObjects]
mov ebx, eax
test ebx, ebx
jns 0x140042b68
mov rdi, qword [0x1400da610]
mov rcx, qword [0x1400da618]
xor eax, eax
jmp 0x140042b5a
test eax, eax
jne 0x140042b68
mov rdx, qword [rdi]
test rdx, rdx
je 0x140042b56
cmp dword [rdx + 0x28], eax
je 0x140042b56
mov ecx, dword [rdx + 0x28]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rcx, qword [0x1400da618]
add rdi, 8
cmp rdi, rcx
jb 0x140042b35
jmp 0x140042b68
mov byte [0x1400db0a0], 0
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14004e807
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400ce148]
jne 0x140049cea
rol rcx, 0x10
test cx, 0xffff
jne 0x140049ce6
repz ret
ror rcx, 0x10
jmp 0x14004e760
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400d94a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400d9598]
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 0x14004e7e5
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, [0x1400d94a0]
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 0x14004e807
mov rax, qword [rsp + 0x88]
mov qword [0x1400d9598], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400d9538], rax
mov rax, qword [0x1400d9598]
mov qword [0x1400d9410], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400d9520], rax
mov dword [0x1400d9400], 0xc0000409
mov dword [0x1400d9404], 1
mov rax, qword [0x1400ce148]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400ce150]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400d9498], eax
mov ecx, 1
call fcn.140053c08
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140096cb8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400d9498], 0
jne 0x14004e88e
mov ecx, 1
call fcn.140053c08
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 0x14005a394
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 [0x1400ce148]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14004f470
xor ebx, ebx
cmp qword [0x1400da4a0], rbx
mov rdi, rax
jne 0x14005a4a7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14005a57e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005a57e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400da4a0], 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 [0x1400da4a8], 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 [0x1400da4b0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400da4c0], rax
test rax, rax
je 0x14005a49e
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 [0x1400da4b8], rax
jmp 0x14005a4ae
mov rax, qword [0x1400da4b8]
jmp 0x14005a4b5
mov rax, qword [0x1400da4b8]
mov r11, qword [0x1400da4c0]
cmp rax, rdi
je 0x14005a51c
cmp r11, rdi
je 0x14005a51c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400da4c0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14005a51c
test rax, rax
je 0x14005a51c
call rsi
test rax, rax
je 0x14005a516
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 0x14005a516
test byte [rsp + 0x40], 1
jne 0x14005a51c
bts ebp, 0x15
jmp 0x14005a55c
mov rcx, qword [0x1400da4a8]
cmp rcx, rdi
je 0x14005a55c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005a55c
call rax
mov rbx, rax
test rax, rax
je 0x14005a55c
mov rcx, qword [0x1400da4b0]
cmp rcx, rdi
je 0x14005a55c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005a55c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400da4a0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x14005a57e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14005a580
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140049cd0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret