joyce8/EMBER2024-capa huggingface dataset:
Function at 0x472050
Capabilities:
Get common file path

Disassembly:
push rbp
mov byte [rsp - 0x60], 0
mov byte [rsp - 0x1060], 0
mov byte [rsp - 0x2060], 0
sub rsp, 0x2060
mov rbp, rsp
mov qword [rbp + 0x30], rcx
mov dword [rbp + 0x3c], edx
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x58], 0
nop
mov eax, 1
movsxd rcx, eax
mov word [rbp + rcx*2 + 0x5e], 0x20
add eax, 1
cmp eax, 0x1001
jne 0x47209e
nop
mov eax, dword [rbp + 0x3c]
sub eax, 1
cmp eax, 0xffffffff
je 0x4720d0
test eax, eax
je 0x472102
sub eax, 1
test eax, eax
jne 0x47215b
jmp 0x472142
mov ecx, 0x1000
lea rdx, [rbp + 0x60]
call sub.kernel32.dll_GetTempPathW
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x60]
mov r8d, 0x1000
call fcn.0040a4e0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x58]
call fcn.0041c6e0
jmp 0x47215b
xor rcx, rcx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x60]
mov r8d, 0x1000
call fcn.0040a4e0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x50]
call fcn.0041c6e0
jmp 0x47215b
lea rcx, [rbp + 0x48]
xor rdx, rdx
call fcn.004058f0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.0041d9d0
lea rcx, [rbp + 0x40]
mov rax, qword [rbp + 0x30]
mov rdx, qword [rax]
call fcn.004277f0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x40]
call fcn.0040a850
nop
lea rcx, [rbp + 0x40]
mov edx, 4
call fcn.0040a350
mov rax, qword [rbp + 0x30]
lea rsp, [rbp + 0x2060]
pop rbp
ret
Function at 0x502920
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov dword [rsp + 8], 0xffffffff
mov dword [rsp + 0xc], 0
jmp 0x502952
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xc], eax
jae 0x5029fa
mov eax, dword [rsp + 0xc]
mov rcx, qword [rsp]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 8]
xor eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 8]
shr eax, 8
mov dword [rsp + 8], eax
mov dword [rsp + 0x14], 0
jmp 0x502996
mov eax, dword [rsp + 0x14]
inc eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
jge 0x5029e5
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x5029b2
mov dword [rsp + 0x1c], 1
jmp 0x5029ba
mov dword [rsp + 0x1c], 0
movzx eax, byte [rsp + 0x1c]
mov byte [rsp + 0x18], al
mov eax, dword [rsp + 0x10]
shr eax, 1
mov dword [rsp + 0x10], eax
movzx eax, byte [rsp + 0x18]
test eax, eax
je 0x5029e3
mov eax, dword [rsp + 0x10]
xor eax, 0xedb88320
mov dword [rsp + 0x10], eax
jmp 0x50298c
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x502948
mov eax, dword [rsp + 8]
not eax
add rsp, 0x28
ret
Function at 0x180004fbf
Capabilities:
Enumerate services

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
xor ecx, ecx
xor edx, edx
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x180005104
mov rsi, rax
lea r14, [rsp + 0x58]
and dword [r14], 0
lea r15, [rsp + 0x5c]
and dword [r15], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r14
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rax
xor edx, edx
mov r8d, 0x30
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1800050c7
mov ecx, dword [rsp + 0x58]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x1800050af
mov rbx, rax
mov eax, dword [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
xor edi, edi
mov rcx, rsi
xor edx, edx
mov r8d, 0x30
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
test eax, eax
je 0x1800050bf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rsp + 0x5c]
imul rcx, rcx, 0x38
xor edi, edi
xor edx, edx
cmp rcx, rdx
je 0x1800050bf
cmp dword [rbx + rdx + 0x2c], eax
je 0x1800050b3
add rdx, 0x38
jmp 0x18000509e
xor edi, edi
jmp 0x1800050c7
mov rcx, qword [rbx + rdx]
call sub.msvcrt.dll__strdup
mov rdi, rax
mov rcx, rbx
call fcn.180006de0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x180005104
lea rdx, [0x180004f82]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov qword [0x180008738], rax
test rax, rax
jne 0x180005109
mov rcx, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.180006de0
call fcn.180003612
lea rsi, [0x180008718]
mov r8d, 0x1c
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
movabs rax, 0x400000020
mov qword [0x180008718], rax
mov dword [0x18000872c], 1
mov rcx, qword [0x180008738]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
call fcn.180003612
Function at 0x18000529c
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1d0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
mov ecx, 0x18000e8
call sub.msvcrt.dll_malloc
mov rsi, rax
xor r15d, r15d
mov r8d, 0x18000e8
mov rcx, rax
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rdi
call sub.msvcrt.dll__strdup
mov qword [rsi], rax
and qword [rsi + 8], 0
mov rcx, r14
call sub.msvcrt.dll__strdup
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x20], rbx
mov word [rsi + 0x28], 0x35
mov rcx, rdi
call fcn.18000542c
mov qword [rsi + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
and qword [rsi + 0x18000d0], 0
mov word [rsi + 0x18000d8], 0x100
mov byte [rsi + 0x18000da], 0
mov qword [rsi + 0x18000c8], 8
mov dword [rsi + 0x18000dc], 0x3e8
lea rcx, [rsi + 0x40]
mov r8d, 0x800000
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsi + 0x800040]
mov r8d, 0x800000
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rsi
add rcx, 0x1000040
mov r8d, 0x800000
xor edx, edx
call sub.msvcrt.dll_memset
cmp r15, 8
je 0x180005388
mov qword [rsi + r15*8 + 0x1800080], r15
inc r15
jmp 0x180005375
xor ebx, ebx
lea rdi, [0x18000549b]
mov r14, qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
cmp rbx, 8
je 0x1800053e2
mov ecx, 0x10
call sub.msvcrt.dll_malloc
mov qword [rax], rsi
mov dword [rax + 8], ebx
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8, rdi
mov r9, rax
call r14
mov qword [rsi + rbx*8 + 0x1800040], rax
mov ecx, 0xa
call r15
inc rbx
jmp 0x18000539f
lea rdx, [rsp + 0x38]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rcx, qword [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
je 0x180005422
mov dword [rsi + 0x18000e0], 1
mov dword [rsi + 0x18000e4], eax
mov rax, rsi
add rsp, 0x1d0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call sub.msvcrt.dll_exit

Function at 0x180005c32
Capabilities:
Terminate thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov edi, 0x300008
mov rbx, qword [sym.imp.KERNEL32.dll_TerminateThread]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
cmp rdi, 0x300010
je 0x180005c76
mov rcx, qword [rsi + rdi*8]
xor edx, edx
call rbx
mov byte [rsi + 0x18000d8], 1
mov ecx, 0x3e8
call r14
inc rdi
jmp 0x180005c51
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov edi, 0x100008
cmp rdi, 0x200008
je 0x180005cbd
mov rcx, qword [rsi + rdi*8 - 0x800000]
test rcx, rcx
je 0x180005ca5
call fcn.180006de0
and qword [rsi + rdi*8 - 0x800000], 0
mov rcx, qword [rsi + rdi*8]
test rcx, rcx
je 0x180005cb8
call fcn.180006de0
and qword [rsi + rdi*8], 0
inc rdi
jmp 0x180005c81
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x180005cd0
call fcn.180006de0
and qword [rsi + 8], 0
mov rcx, qword [rsi]
test rcx, rcx
je 0x180005ce1
call fcn.180006de0
and qword [rsi], 0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180005cf4
call fcn.180006de0
and qword [rsi + 0x10], 0
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.180006de0
Function at 0x180005d05
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
lea rbx, [rcx + 0x18000e0]
mov r14d, 0xfa
mov ebp, 0xa
lea r12, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
xor r15d, r15d
test r15, r15
jne 0x180005ddf
test ebp, ebp
jle 0x180005ddc
cmp byte [rdi + 0x18000d8], 0
jne 0x180005ddc
dec ebp
mov qword [rsp + 0x20], r12
and qword [rsp + 0x28], 0
mov rcx, rsi
mov dx, 5
mov r8d, 0x18c8
mov r9, rbx
call sub.DNSAPI.dll_DnsQuery_A
test eax, eax
je 0x180005d91
cmp byte [rdi + 0x18000d8], 0
mov r15d, 0
jne 0x180005d3c
jmp 0x180005dce
mov rax, r12
mov rax, qword [rax]
test rax, rax
je 0x180005db1
cmp word [rax + 0x10], 5
jne 0x180005d94
mov rcx, qword [rax + 0x20]
call sub.msvcrt.dll__strdup
mov r15, rax
jmp 0x180005db4
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
mov edx, 1
call sub.DNSAPI.dll_DnsFree
test r15, r15
jne 0x180005d3c
jmp 0x180005d80
mov ecx, r14d
call r13
add r14, r14
jmp 0x180005d39
xor r15d, r15d
mov rax, r15
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x100075150
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.API_MS_Win_Core_ProcessThreads_L1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100080558], rdi
je 0x1000751b0
cmp rax, rdi
jne 0x1000751a3
mov r12d, 1
jmp 0x1000751b0
mov ecx, 0x3e8
call qword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x100075189
mov eax, dword [0x100080550]
cmp eax, 1
jne 0x1000751c5
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x10007522c
mov eax, dword [0x100080550]
cmp eax, ebx
jne 0x100075222
mov dword [0x100080550], 1
lea r13, [0x100001b48]
lea rdi, [0x100001b30]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x100075214
cmp eax, ebx
jne 0x100075214
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x100075209
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1000751f2
cmp eax, ebx
je 0x10007522c
mov eax, 0xff
jmp 0x100075374
mov dword [0x10007f924], 1
mov eax, dword [0x100080550]
cmp eax, 1
jne 0x100075254
lea rdx, [0x100001b28]
lea rcx, [0x100001ab8]
call sub.msvcrt.dll__initterm
mov dword [0x100080550], 2
cmp r12d, ebx
jne 0x100075263
mov rax, rbx
xchg qword [0x100080558], rax
cmp qword [0x100080570], rbx
je 0x10007528b
lea rcx, [0x100080570]
call fcn.1000756ac
cmp eax, ebx
je 0x10007528b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100080570]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x1000752a1
mov eax, 0xff
jmp 0x100075374
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x100075326
cmp word [rcx], bx
je 0x1000752bc
cmp edx, ebx
jne 0x100075326
cmp word [rcx], bx
je 0x1000752d2
cmp word [rcx], 0x20
ja 0x1000752d2
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000752bc
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.1000337b8
mov dword [0x10007f920], eax
cmp dword [0x10007f904], ebx
jne 0x100075310
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10007f924], ebx
jne 0x100075324
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10007f920]
jmp 0x100075374
cmp word [rcx], 0x22
jne 0x100075339
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1000752ad
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call 0x1001b3000
add rsp, 0x28
jmp 0x100075150
Function at 0x180002230
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov eax, 0x10050
call fcn.18001b110
sub rsp, rax
mov rax, qword [0x1800300d0]
xor rax, rsp
mov qword [rsp + 0x10040], rax
xor ebx, ebx
mov rdx, r8
mov rbp, rcx
mov rdi, rbx
call fcn.18000cb74
lea r9d, [rbx + 1]
mov rsi, rax
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1800022d9
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x30], 0x7fff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
lea rdi, [rsp + 0x40]
cmp eax, ebx
cmovne rdi, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
call fcn.18000fc44
cmp rdi, rbx
je 0x180002305
mov rcx, rdi
call fcn.18000fc80
mov r9, qword [rbp]
mov rdx, rdi
mov r8d, eax
mov rcx, rbp
call qword [r9 + 0x518]
mov rbx, rax
mov rax, rbx
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.18000fc60
mov rbx, qword [rsp + 0x10078]
add rsp, 0x10050
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000232c
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x10030
call fcn.18001b110
sub rsp, rax
mov rax, qword [0x1800300d0]
xor rax, rsp
mov qword [rsp + 0x10020], rax
mov rbx, rcx
lea rcx, str.Kernel32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1800023a8
lea rdx, str.GetSystemWindowsDirectoryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800023a8
lea rcx, [rsp + 0x20]
mov edx, 0x7fff
call rax
test eax, eax
je 0x1800023a8
lea rcx, [rsp + 0x20]
call fcn.18000fc80
mov r9, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, eax
mov rcx, rbx
call qword [r9 + 0x518]
jmp 0x1800023be
lea rcx, [rsp + 0x20]
mov edx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x180002387
xor eax, eax
mov rcx, qword [rsp + 0x10020]
xor rcx, rsp
call fcn.18000fc60
add rsp, 0x10030
pop rbx
ret

Function at 0x1800023d8
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x10030
call fcn.18001b110
sub rsp, rax
mov rax, qword [0x1800300d0]
xor rax, rsp
mov qword [rsp + 0x10020], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x180002431
lea rcx, [rsp + 0x20]
call fcn.18000fc80
mov r9, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, eax
mov rcx, rbx
call qword [r9 + 0x518]
jmp 0x180002433
xor eax, eax
mov rcx, qword [rsp + 0x10020]
xor rcx, rsp
call fcn.18000fc60
add rsp, 0x10030
pop rbx
ret
Function at 0x18000244c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, r8
call fcn.18000cb74
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ebx, ebx
cmp eax, ebx
je 0x1800024b4
mov ebx, 1
sub eax, ebx
je 0x1800024b4
sub eax, ebx
je 0x1800024af
sub eax, ebx
je 0x1800024a8
sub eax, ebx
je 0x1800024a1
sub eax, ebx
je 0x18000249a
cmp eax, ebx
jne 0x180002494
mov ebx, 6
jmp 0x1800024b4
mov ebx, dword [rsp + 0x48]
jmp 0x1800024b4
mov ebx, 5
jmp 0x1800024b4
mov ebx, 4
jmp 0x1800024b4
mov ebx, 3
jmp 0x1800024b4
mov ebx, 2
mov rcx, rdi
call fcn.18000fc44
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180003c7c
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x28
lea rcx, str.SeShutdownPrivilege
mov dl, 1
call fcn.180003be4
test al, al
je 0x180003c9d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
add rsp, 0x28
ret
Function at 0x18000407c
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0xa0
lea rcx, str.Kernel32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1800040fd
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800040f4
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x40
call rax
test eax, eax
je 0x1800040d2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x68]
jmp 0x18000410d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.error__d_n
mov edx, eax
call fcn.18000f79c
call fcn.180010328
lea rcx, [rax + 0x30]
call fcn.1800102d8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x28]
add rsp, 0xa0
pop rbx
ret

Function at 0x180004118
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdx, r8
or rdi, 0xffffffffffffffff
call fcn.18000cb74
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x58]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rcx, rbx
test eax, eax
cmovne rdi, qword [rsp + 0x58]
call fcn.18000fc44
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x180004318
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x18001ccb4]
lea rcx, [0x1800315e0]
mov dword [0x1800315d8], r8d
call fcn.18000fd64
lea rcx, [0x180004280]
xor edx, edx
call qword [sym.imp.USER32.dll_EnumWindows]
lea rcx, [0x1800315e0]
call fcn.18000fc80
mov r9, qword [rbx]
lea rdx, [0x1800315e0]
mov r8d, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [r9 + 0x518]

Function at 0x180004374
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov rdx, r8
mov rdi, r9
mov rbx, rcx
call fcn.18000cb74
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.18000cb74
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x50]
mov rdi, rax
call fcn.18000f6b0
mov ebx, 0x68
lea rcx, [rsp + 0x70]
mov r8, rbx
xor edx, edx
call fcn.18000f6b0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x180004417
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.18000fc44
mov rcx, rdi
call fcn.18000fc44
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180005398
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x50
mov rbx, rcx
xor r12d, r12d
lea rcx, str.SeDebugPrivilege
cmp r8b, r12b
sete dl
call fcn.180003be4
lea ecx, [r12 + 8]
call fcn.18000fc9c
cmp rax, r12
je 0x1800053e2
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x1800053e5
mov rax, r12
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.180004ce0
mov r11, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov rax, r11
sub rax, rcx
test rax, 0xfffffffffffffff8
jne 0x180005435
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.180004ad0
mov r11, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
sub r11, rcx
test r11, 0xfffffffffffffff8
jne 0x18000546b
cmp rcx, r12
je 0x18000544b
call fcn.18000fc44
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.18000fc44
xor eax, eax
jmp 0x18000554b
mov rax, qword [rbx]
lea rdx, str.java_lang_String
mov rcx, rbx
call qword [rax + 0x30]
mov r8, rax
cmp rax, r12
jne 0x18000548a
mov rcx, qword [rsp + 0x38]
jmp 0x180005441
mov rdx, qword [rsp + 0x40]
mov rax, qword [rbx]
xor r9d, r9d
sub rdx, qword [rsp + 0x38]
mov rcx, rbx
sar rdx, 3
call qword [rax + 0x560]
mov rdi, rax
cmp rax, r12
jne 0x1800054c3
mov rcx, qword [rsp + 0x38]
cmp rcx, r12
je 0x1800054be
call fcn.18000fc44
mov rdi, r12
jmp 0x18000552f
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov ebp, r12d
sub rcx, rdx
mov rsi, r12
sar rcx, 3
cmp rcx, r12
jbe 0x180005522
cmp rsi, rcx
jb 0x1800054ee
call fcn.18001070c
mov rdx, qword [rsp + 0x38]
mov r9, qword [rdx + rsi*8]
mov rax, qword [rbx]
mov r8d, ebp
mov rdx, rdi
mov rcx, rbx
call qword [rax + 0x570]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
sub rcx, rdx
inc ebp
inc rsi
sar rcx, 3
movsxd rax, ebp
cmp rax, rcx
jb 0x1800054df
cmp rdx, r12
je 0x18000552f
mov rcx, rdx
call fcn.18000fc44
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.18000fc44
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
Function at 0x180005568
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov rdi, rcx
mov ecx, 8
call fcn.18000fc9c
xor r12d, r12d
cmp rax, r12
je 0x180005599
lea rcx, [rsp + 0x20]
mov qword [rax], rcx
jmp 0x18000559c
mov rax, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rsi, rax
mov rbx, rax
cmp word [rax], r12w
je 0x180005615
mov rcx, rbx
call fcn.18000fc80
cmp eax, r12d
mov rbp, rax
jle 0x18000560b
mov r9, qword [rdi]
mov r8d, eax
mov rdx, rbx
mov rcx, rdi
call qword [r9 + 0x518]
mov qword [rsp + 0x80], rax
cmp rax, r12
je 0x180005604
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x20]
call fcn.180004a38
movsxd rax, ebp
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], r12w
jne 0x1800055c2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r11, qword [rdi]
lea rdx, str.java_lang_String
mov rcx, rdi
call qword [r11 + 0x30]
mov r8, rax
cmp rax, r12
jne 0x180005666
mov rcx, qword [rsp + 0x38]
cmp rcx, r12
je 0x180005646
call fcn.18000fc44
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.18000fc44
xor eax, eax
jmp 0x180005727
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdi]
xor r9d, r9d
sub rdx, qword [rsp + 0x38]
mov rcx, rdi
sar rdx, 3
call qword [rax + 0x560]
mov rbx, rax
cmp rax, r12
jne 0x18000569f
mov rcx, qword [rsp + 0x38]
cmp rcx, r12
je 0x18000569a
call fcn.18000fc44
mov rbx, r12
jmp 0x18000570b
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov ebp, r12d
sub rcx, rdx
mov rsi, r12
sar rcx, 3
cmp rcx, r12
jbe 0x1800056fe
cmp rsi, rcx
jb 0x1800056ca
call fcn.18001070c
mov rdx, qword [rsp + 0x38]
mov r9, qword [rdx + rsi*8]
mov rax, qword [rdi]
mov r8d, ebp
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x570]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
sub rcx, rdx
inc ebp
inc rsi
sar rcx, 3
movsxd rax, ebp
cmp rax, rcx
jb 0x1800056bb
cmp rdx, r12
je 0x18000570b
mov rcx, rdx
call fcn.18000fc44
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
call fcn.18000fc44
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r12
pop rdi
pop rsi
ret