joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b850
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xfb8]
mov eax, 0x1090
call fcn.140024290
sub rsp, rax
mov rdi, r8
mov r15, rcx
mov r14, rdx
lea r8, [rbp + 0xfd8]
lea rcx, [rbp + 0x790]
mov edx, 0x800
call qword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x14003b9aa
mov esi, dword [rbp + 0xfd8]
mov rcx, r15
mov byte [rdi], 0
shr esi, 2
call fcn.14003b7f0
xor r12d, r12d
mov r13d, eax
test esi, esi
je 0x14003b9a8
lea rbx, [rbp + 0x790]
cmp byte [rdi], 0
jne 0x14003b9a8
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r9, [rbp + 0xfd8]
lea rdx, [rsp + 0x38]
mov rcx, rax
mov r8d, 8
mov qword [rsp + 0x30], rax
call qword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea r8, [rbp + 0x160]
mov r9d, 0x104
call qword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x14003b98d
lea rax, [rbp + 0x370]
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x580]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x160]
mov qword [rsp + 0x20], rax
call fcn.140015f9c
lea rdx, [rbp + 0x370]
lea rcx, [rsp + 0x50]
call fcn.140014c00
lea rcx, [rsp + 0x50]
mov rdx, r15
call fcn.140014b78
test eax, eax
jne 0x14003b97b
mov eax, dword [rbx]
mov dword [r14], eax
jmp 0x14003b98a
test r13d, r13d
je 0x14003b98d
mov ecx, dword [rbx]
cmp r13d, ecx
jne 0x14003b98d
mov dword [r14], ecx
mov byte [rdi], 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r12d
add rbx, 4
cmp r12d, esi
jb 0x14003b8cf
mov al, 1
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14003b9d0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x7b8]
sub rsp, 0x8a0
mov r12, rdx
xor edx, edx
mov r13, rcx
lea ecx, [rdx + 2]
mov rbx, r8
mov dword [rsp + 0x30], 0x238
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rcx, r13
mov byte [rbx], 0
call fcn.14003b7f0
mov esi, eax
jmp 0x14003bab2
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x14003babb
lea rax, [rbp + 0x380]
lea r9, [rbp + 0x170]
lea r8, [rbp + 0x590]
lea rdx, [rbp + 0x7d0]
lea rcx, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
call fcn.140015f9c
lea rdx, [rbp + 0x380]
lea rcx, [rbp + 0x170]
call fcn.140014c00
lea rcx, [rbp + 0x170]
mov rdx, r13
call fcn.140014b78
test eax, eax
jne 0x14003ba9f
mov eax, dword [rsp + 0x38]
mov dword [r12], eax
jmp 0x14003baaf
test esi, esi
je 0x14003bab2
mov ecx, dword [rsp + 0x38]
cmp esi, ecx
jne 0x14003bab2
mov dword [r12], ecx
mov byte [rbx], 1
cmp byte [rbx], 0
je 0x14003ba31
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x8a0]
mov al, 1
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret

Function at 0x14003baf0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
xor r9d, r9d
xor r8d, r8d
mov rbx, rcx
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
lea r11, [rsp + 0x60]
mov qword [rsp + 0x30], r11
lea edx, [r9 + 0x10]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 0x1f4
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
jne 0x14003bb72
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1f0fff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x40
pop rbx
ret
Function at 0x14003bfb0
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp rdi, rax
jne 0x14003bfe3
mov eax, 1
jmp 0x14003c148
xor ebx, ebx
test rax, rax
jne 0x14003bffc
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14003c017
mov edx, 9
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14003c141
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, rdi
mov r12d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 1
mov ecx, r12d
mov edx, eax
mov r8d, esi
mov r13d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, ebp
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, r13d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14003c10f
lea esi, [rax + 0x12]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x14003c114
lea ebx, [rsi - 0xe]
jmp 0x14003c114
mov ebx, 3
xor r8d, r8d
mov edx, r13d
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, ebp
mov ecx, r12d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, r13d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x14003c146
mov ebx, 2
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x14003c1a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x14003c228
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ebx, ecx
movaps xmmword [rsp + 0x20], xmm7
test ecx, ecx
je 0x14003c213
cmp ebx, 0xf
jae 0x14003c211
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003c211
pxor xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x58]
pxor xmm6, xmm6
sub r11, qword [rsp + 0x60]
cvtsi2sd xmm6, r11
call fcn.140010670
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x14003c1da
jmp 0x14003c219
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x14003c230
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r13b, r8b
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14003c25f
cmp byte [rcx + 9], dl
je 0x14003c359
xor r12d, r12d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r13b, r13b
je 0x14003c310
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8d, [r12 + 1]
mov ecx, ebx
mov edx, eax
mov dword [0x1400c4ca8], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r13d, eax
test rdi, rdi
je 0x14003c2e9
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400c4ca8]
mov dword [0x1400c4ca4], eax
cmp ecx, eax
je 0x14003c2d7
lea r8d, [r12 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r12d, eax
mov eax, dword [0x1400c4ca4]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r13d, r13d
jne 0x14003c359
test r12d, r12d
jne 0x14003c359
test ebp, ebp
jne 0x14003c359
mov eax, dword [0x1400c4ca8]
cmp ebx, eax
jne 0x14003c359
cmp eax, dword [0x1400c4ca4]
jne 0x14003c359
and qword [rsi + 0x28], 0
jmp 0x14003c359
test rdi, rdi
je 0x14003c344
mov edx, dword [0x1400c4ca4]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r11d, dword [0x1400c4ca8]
mov edx, dword [0x1400c4ca4]
cmp r11d, edx
je 0x14003c34b
xor r8d, r8d
mov ecx, r11d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r11d, dword [0x1400c4ca8]
xor r8d, r8d
mov edx, r11d
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14003c3f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
mov ecx, dword [rcx + 4]
lea edx, [rax + 2]
cmovne eax, edx
cmp ecx, eax
jge 0x14003c405
mov ecx, eax
jmp fcn.14003c1a0
Function at 0x14003c410
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
mov ecx, dword [rcx]
lea edx, [rax + 2]
cmovne eax, edx
cmp ecx, eax
jge 0x14003c424
mov ecx, eax
jmp fcn.14003c1a0

Function at 0x14003c430
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
movzx esi, dl
mov r12, rcx
mov bl, r8b
mov ecx, esi
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and dil, 1
cmp bl, dil
je 0x14003c4b1
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov dl, sil
mov r8d, eax
mov rcx, r12
call fcn.14003c380
mov rcx, r12
call fcn.14003c3f0
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, 2
mov dl, sil
mov r8d, eax
mov rcx, r12
call fcn.14003c380
mov rcx, r12
call fcn.14003c410
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov al, dil
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14003e590
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp dl, 1
jne 0x14003e5e6
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], 0x1388
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14003e603
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x14003e5f9
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x40
pop rbx
ret

Function at 0x14003eea0
Capabilities:
Get token privileges

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
xor r9d, r9d
mov rdi, r8
mov qword [rax - 0x18], r8
mov r8, qword [rdx]
mov rsi, rdx
lea edx, [r9 + 3]
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
xor ebx, ebx
test eax, eax
jne 0x14003ef0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14003ef11
mov ecx, dword [rdi]
call fcn.14003ed80
mov qword [rsi], rax
test rax, rax
je 0x14003ef11
mov r9d, dword [rdi]
lea edx, [rbx + 3]
mov r8, rax
mov rcx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14003ef11
mov ebx, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov al, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14003ef80
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x40
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
call fcn.14003edb0
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rcx, rax
mov r9, r12
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsi]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [r12 + 0x10]
mov rcx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov r11, qword [rbp]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x14003ef30]
mov r9, r12
xor edx, edx
xor ecx, ecx
mov qword [r12 + 8], r11
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x14003f060
Capabilities:
Impersonate user

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x60]
movsx r9d, r9b
xor ebx, ebx
and r9d, 2
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
or r9d, 4
shr r9d, 1
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
test eax, eax
setne al
add rsp, 0x30
pop rbx
ret
Function at 0x14003f290
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x70
xor r10d, r10d
mov rbp, r8
mov r12, rdx
lea ebx, [r10 + 1]
mov r13, rcx
mov qword [rax - 0x20], r10
test bl, r9b
je 0x14003f2c5
mov edi, ebx
jmp 0x14003f2d3
mov eax, 2
mov edi, r10d
test al, r9b
cmovne edi, eax
xor sil, sil
test r9b, 4
je 0x14003f323
and qword [rsp + 0x60], r10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov rcx, rax
mov edx, 0xa
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov r8d, ebx
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14003f389
mov r10, qword [rsp + 0x68]
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0xb8]
mov r9d, edi
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
bts ecx, 0xa
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov r8, rbp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov rdx, r12
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne sil
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003f399
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
lea r11, [rsp + 0x70]
mov al, sil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x14004a2a0
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x20
mov ebx, ecx
test rdx, rdx
je 0x14004a2ca
lea rcx, [0x1400c2e50]
call fcn.140037f70
mov dword [0x1400c2f08], eax
jmp 0x14004a2d0
mov eax, dword [0x1400c2f08]
cmp eax, 0xffffffff
je 0x14004a431
movsxd rcx, eax
mov rax, qword [0x1400c2ef0]
mov rcx, qword [rax + rcx*8]
mov rdi, qword [rcx]
cmp byte [rdi + 0x6a], 0
mov rbp, qword [rdi]
je 0x14004a326
cmp dword [rdi + 0x2b8], 0
mov byte [rdi + 0x6a], 0
jl 0x14004a326
cmp byte [rdi + 0x2c4], 0
je 0x14004a326
mov r8d, dword [rdi + 0x2c0]
lea rcx, [0x1400c2e50]
mov rdx, rdi
call fcn.1400498d0
mov byte [rdi + 0x2c4], 0
cmp ebx, 8
jg 0x14004a3b9
je 0x14004a38c
test ebx, ebx
je 0x14004a373
cmp ebx, 1
je 0x14004a38c
mov edx, 6
cmp ebx, 2
je 0x14004a35a
cmp ebx, 3
je 0x14004a413
jle 0x14004a382
cmp ebx, 5
jle 0x14004a38c
cmp ebx, edx
je 0x14004a35e
jmp 0x14004a382
mov byte [rdi + 0x68], 1
cmp byte [rdi + 0x68], 0
je 0x14004a431
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14004a382
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov byte [rdi + 0x68], 0
mov eax, 1
jmp 0x14004a433
cmp byte [rdi + 0x68], 0
jne 0x14004a431
mov edx, ebx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
cmp ebx, 8
je 0x14004a3b3
cmp ebx, 4
je 0x14004a3b3
mov rcx, rbp
call fcn.14003bfb0
mov byte [rdi + 0x68], 1
jmp 0x14004a382
mov edx, ebx
sub edx, 9
je 0x14004a413
sub edx, 0x37
je 0x14004a40c
dec edx
je 0x14004a3fc
dec edx
je 0x14004a3ed
dec edx
jne 0x14004a382
xor ecx, ecx
mov byte [rdi + 0x69], dl
call qword [sym.imp.USER32.dll_LockWindowUpdate]
mov rcx, qword [rdi]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14004a382
mov rcx, rbp
mov byte [rdi + 0x69], 1
call qword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x14004a382
xor edx, edx
mov rcx, rbp
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x14004a382
mov edx, 1
jmp 0x14004a3fe
cmp byte [rdi + 0x68], 0
je 0x14004a431
mov edx, ebx
mov rcx, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbp
call fcn.14003bfb0
jmp 0x14004a382
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14004aee0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x160]
sub rsp, 0x260
lea rax, [rsp + 0x58]
mov ebx, edx
lea r9, [rbp + 0x190]
mov qword [rsp + 0x38], rax
xor eax, eax
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rax
mov rsi, rcx
mov dword [rbp + 0x190], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14004b03e
mov edi, ebx
or edi, 0x20019
lea rax, [rbp + 0x198]
lea rdx, [rsp + 0x60]
mov r9d, edi
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004b058
mov rcx, qword [rbp + 0x198]
mov edx, ebx
call fcn.14004aee0
mov rcx, qword [rbp + 0x198]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14004b058
and qword [rsp + 0x40], 0
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140038040
test al, al
je 0x14004afd5
lea rcx, [rsp + 0x40]
call fcn.14004aeb0
mov ebx, dword [rbp + 0x188]
lea rdx, [rsp + 0x60]
mov r8d, ebx
xor r9d, r9d
mov rcx, rsi
call rax
jmp 0x14004afe9
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, dword [rbp + 0x188]
lea rcx, [rsp + 0x40]
test eax, eax
jne 0x14004b053
call fcn.14003d700
lea rax, [rsp + 0x58]
lea r9, [rbp + 0x190]
mov qword [rsp + 0x38], rax
xor eax, eax
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x190], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14004af4c
mov al, 1
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
call fcn.14003d700
xor al, al
jmp 0x14004b040
Function at 0x14004b700
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
lea rdx, [rax + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov dword [rax + 0x18], 1
mov qword [rax + 0x20], 1
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov rcx, qword [rsp + 0x48]
mov eax, 0x400
test rcx, rcx
cmove rcx, rax
cmp dword [rsp + 0x40], 0
mov qword [rsp + 0x48], rcx
je 0x14004b7a9
call fcn.140038f20
mov r8d, dword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14004b7b7
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x14004b7a1
mov r8d, ecx
lea rcx, [rbx + 0x70]
mov rdx, rdi
call fcn.140038ea0
mov ecx, dword [rsp + 0x40]
add qword [rbx + 0x10], rcx
test ecx, ecx
je 0x14004b7a9
mov rcx, qword [rsp + 0x48]
jmp 0x14004b755
mov rcx, rdi
call fcn.140014860
cmp qword [rbx + 0x10], 0
jne 0x14004b7cf
mov edx, SafeArrayAllocDescriptor
jmp 0x14004b7c4
mov rcx, rdi
call fcn.140014860
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
xor r9d, r9d
mov r8d, 0xdeadbeef
jmp 0x14004b7d7
xor r8d, r8d
mov r9b, 1
xor edx, edx
mov rcx, rbx
call fcn.14004b6c0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x430
mov rbx, rcx
mov rcx, qword [rcx + 0x50]
mov rsi, rdx
lea rax, [fcn.14001720c]
lea rdx, [0x14009a734]
mov qword [rsp + 0x28], rax
call fcn.140017184
mov rdi, rax
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x14004b836
lea edx, [rax + 0x1f]
jmp 0x14004b8b0
mov dword [rsp + 0x440], 1
lea r9, [rsp + 0x440]
lea rdx, [rsp + 0x30]
mov r8d, 0x400
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14004b8ab
mov eax, dword [rsp + 0x440]
test eax, eax
je 0x14004b890
lea rcx, [rsp + 0x30]
mov edx, eax
mov r9, rdi
mov r8d, 1
call fcn.140016974
mov ecx, dword [rsp + 0x440]
add qword [rbx + 0x10], rcx
test ecx, ecx
jne 0x14004b841
cmp qword [rbx + 0x10], 0
mov rcx, rbx
jne 0x14004b8a1
mov edx, SafeArrayAllocDescriptor
jmp 0x14004b8b3
xor r8d, r8d
mov r9b, 1
xor edx, edx
jmp 0x14004b8bc
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
mov rcx, rbx
xor r9d, r9d
mov r8d, 0xdeadbeef
call fcn.14004b6c0
lea rcx, [rsp + 0x20]
mov bl, al
call fcn.140038db0
lea r11, [rsp + 0x430]
mov rsi, qword [r11 + 0x20]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
cmp byte [rcx + 0x48], 0
je 0x14004b8fb
jmp 0x14004b700
jmp 0x14004b7f0