joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400909c4
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x270
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov qword [rsp + 0x20], rax
lea rcx, str.systemroot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140090a2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140090a1a
mov esi, 0x80004005
jmp 0x140090b29
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x140090b29
lea rdx, [rsp + 0x50]
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x140090a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140090a10
movzx esi, ax
lea rdx, [0x14043c8d0]
or esi, 0x80070000
lea rcx, [0x14041f428]
test eax, eax
cmovle esi, eax
call fcn.1400eefd4
jmp 0x140090b29
lea rcx, [rsp + 0x20]
call fcn.140090d88
mov esi, eax
test eax, eax
jns 0x140090a8a
mov ecx, eax
jmp 0x140090b2b
lea rax, str.SPPSvc
xor esi, esi
and qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x28]
and qword [rsp + 0x40], rsi
mov qword [rsp + 0x28], rax
lea rax, [0x140090f60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140090b0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140438d38]
mov ebx, eax
lea rcx, [0x140423b50]
call fcn.1400ee940
test ebx, ebx
jne 0x140090ae3
mov esi, 0x80004005
jmp 0x140090b04
lea rdx, [0x14043ce50]
lea rcx, [0x140417a04]
call fcn.1400eec90
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
test esi, esi
jns 0x140090b30
lea rdx, [0x14043e360]
lea rcx, [0x140420d98]
call fcn.1400ed270
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
cmp dword [rsp + 0x20], 0
je 0x140090b78
cmp qword [0x1404402e8], 0
je 0x140090b78
mov rbx, qword [0x140440580]
test rbx, rbx
je 0x140090b78
mov rax, qword [0x1403c1610]
mov rcx, qword [0x1404402f0]
call rax
mov rax, qword [0x1404402f0]
mov rcx, rbx
call rax
and qword [0x140440580], 0
cmp dword [rsp + 0x24], 0
je 0x140090b98
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
lea rdx, [0x14043bd7c]
lea rcx, [0x14041684c]
call fcn.1400ee5fc
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14037a9a0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rsi
ret
Function at 0x140090bc4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x140436898]
lea r9, [0x1404368b0]
xorps xmm1, xmm1
lea r8, [0x140436890]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [0x1404368b8], xmm1
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
xor edi, edi
test eax, eax
jne 0x140090c52
mov r8, qword [0x140436898]
lea edx, [rdi + 2]
mov rcx, qword [0x1404368b0]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
lea rdx, [0x14043a56c]
lea rcx, [0x14041d2b8]
call fcn.1400edf70
call fcn.1400909c4
lea rdx, [0x140438408]
mov esi, eax
lea rcx, [0x14041b4b8]
call fcn.1400ed5b8
mov rbx, qword [0x1404368b0]
lea rdx, [0x14043a408]
lea rcx, [0x140425094]
call fcn.1400edc30
lea rdx, [0x140439588]
mov dword [0x140436890], edi
lea rcx, [0x140424240]
mov qword [0x1404368b0], rdi
call fcn.1400ed8ec
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
test esi, esi
jns 0x140090cbc
mov ecx, esi
call fcn.140079c40
jmp 0x140090cda
mov eax, dword [0x14043f368]
mov ebx, edi
test eax, eax
sete bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.140079c60
test esi, esi
lea rdx, [0x14043eb74]
lea rcx, [0x1404220e8]
sets dil
call fcn.1400ee2b8
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14037a9a0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c7238
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor esi, esi
xor ebx, ebx
and dword [rbp - 0x24], esi
mov r15, r8
and dword [rbp - 0x28], esi
mov r14, rdx
and qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x40], rbx
test ecx, ecx
je 0x1400c72b4
cmp ecx, 1
je 0x1400c7277
mov edi, 0x80070057
jmp 0x1400c72ef
lea rax, [0x140014d58]
mov qword [rbp - 0x20], 3
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
xor r9d, r9d
lea rax, [rbp + 0x30]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
lea rax, [rbp - 0x38]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x30]
jmp 0x1400c72ef
lea rax, [0x140015098]
mov qword [rbp - 0x20], 3
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
xor r9d, r9d
lea rax, [rbp + 0x48]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
lea rax, [rbp - 0x38]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x48]
test edi, edi
jns 0x1400c72fa
mov ecx, edi
jmp 0x1400c73b3
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.14005216c
mov edi, eax
test eax, eax
jns 0x1400c731c
mov ecx, eax
call fcn.140079c40
mov rbx, qword [rbp - 0x40]
jmp 0x1400c73b8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.1400699a8
mov edi, eax
test eax, eax
jns 0x1400c733c
mov ecx, eax
call fcn.140079c40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c7313
mov rbx, qword [rbp - 0x40]
mov r14d, 0x7fffffff
test rbx, rbx
jne 0x1400c734f
xor edi, edi
jmp 0x1400c7381
mov r8d, r14d
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.140079840
mov edi, eax
test eax, eax
js 0x1400c737a
mov r8d, dword [rbp - 0x40]
lea rcx, [rbp - 0x30]
mov rdx, rbx
call fcn.14006f61c
mov edi, eax
test eax, eax
jns 0x1400c7381
mov ecx, eax
call fcn.140079c40
mov ecx, edi
call fcn.140079c60
test edi, edi
jns 0x1400c7399
mov ecx, edi
call fcn.140079c40
mov rsi, qword [rbp - 0x30]
jmp 0x1400c73b8
mov rsi, qword [rbp - 0x30]
mov r8d, r14d
mov rcx, rsi
mov rdx, r15
call fcn.140069580
mov edi, eax
test eax, eax
jns 0x1400c73b8
mov ecx, eax
call fcn.140079c40
mov ecx, edi
call fcn.140079c60
test rbx, rbx
je 0x1400c73cd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400c73e1
call qword [sym.imp.KERNEL32.dll_LocalFree]
and qword [rbp - 0x38], 0
test rsi, rsi
je 0x1400c73fa
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x98]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ff244
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rsi, rcx
mov dword [rcx + 8], edx
xor ecx, ecx
call fcn.140079c60
lea rcx, [rsi + 0x20]
call fcn.14006f8bc
xor ecx, ecx
call fcn.140079c60
xor ebx, ebx
test byte [rsi + 8], 1
je 0x1400ff394
lea r9, [rbp + 0x38]
xor edx, edx
lea r8, [0x1403d22c0]
mov rcx, rsi
call fcn.140101e1c
mov ebx, eax
test eax, eax
jns 0x1400ff2ad
mov ecx, eax
call fcn.140079c40
mov edi, dword [rbp + 0x30]
jmp 0x1400ff2b1
movzx edi, byte [rbp + 0x38]
mov ecx, ebx
call fcn.140079c60
lea eax, [rbx + 0x3ffb2cff]
cmp eax, 1
ja 0x1400ff2c7
xor edi, edi
xor ebx, ebx
test ebx, ebx
js 0x1400ff38d
test edi, edi
je 0x1400ff394
mov rcx, rsi
call fcn.1401009a0
mov ebx, eax
test eax, eax
jns 0x1400ff2ec
mov ecx, eax
jmp 0x1400ff38f
and qword [rbp + 0x20], 0
cmp dword [0x14043ffa0], 0
mov byte [rbp + 0x38], 0
jne 0x1400ff305
mov ecx, 0xc004d101
jmp 0x1400ff35b
and qword [rbp - 0x20], 0
lea rax, [0x14002d018]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
xor r9d, r9d
mov rax, qword [0x140440188]
mov ecx, 0xb9
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x14], rax
lea r8d, [r9 + 0x34]
mov dword [rbp - 0x18], 0xa0014
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x30]
test ecx, ecx
jns 0x1400ff360
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp + 0x20]
call fcn.140053010
test ebx, ebx
jns 0x1400ff382
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x1400ff394
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x14010b050
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x3c], 0
mov r14, r8
and qword [rbp - 0x38], 0
lea r8, [rbp + 0x20]
mov rcx, rdx
mov dword [rbp - 0x40], 1
lea rdx, [rbp - 0x38]
call fcn.1401a4e88
mov rsi, qword [rbp - 0x38]
mov edi, eax
test eax, eax
jns 0x14010b0a3
mov ecx, eax
call fcn.140079c40
jmp 0x14010b147
cmp dword [0x14043ffa0], 0
jne 0x14010b0b3
mov ebx, 0xc004d101
jmp 0x14010b104
test rsi, rsi
je 0x14010b0ff
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x14010b0ff
lea rcx, [0x14000fc18]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rcx
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov qword [rbp - 0x18], rsi
lea rcx, [rbp + 0x38]
mov dword [rbp - 0x10], eax
mov qword [rbp - 0x20], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x38]
test ebx, ebx
jns 0x14010b10b
jmp 0x14010b104
mov ebx, 0xc004d104
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov ecx, ebx
sub ecx, 0x4004d601
je 0x14010b137
cmp ecx, 1
je 0x14010b12e
mov edi, ebx
test ebx, ebx
jns 0x14010b13b
mov ecx, ebx
jmp 0x14010b099
mov dword [rbp - 0x3c], 1
jmp 0x14010b13b
and dword [rbp - 0x40], 0
test r14, r14
je 0x14010b147
mov rax, qword [rbp - 0x40]
mov qword [r14], rax
mov ecx, edi
call fcn.140079c60
test rsi, rsi
je 0x14010b15c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r11, [rsp + 0x60]
mov eax, edi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140157990
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, dword [rsp + 0x3c]
mov r14, r8
mov rbp, rcx
xor esi, esi
lea rax, [rsp + 0x30]
xor ebx, ebx
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbp
lea r9d, [rbx + 0x24]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140157a0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401579f8
mov ebx, 0x80004005
jmp 0x140157a06
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140079c40
jmp 0x140157a1d
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x38], xmm0
mov edi, dword [rsp + 0x3c]
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
js 0x140157a4d
cmp edi, 4
je 0x140157a86
cmp edi, 1
je 0x140157a86
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x1e
jb 0x1401579c3
mov ebx, 0x800705b4
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14037a9a0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
xor eax, eax
cmp edi, 4
sete al
xor ebx, ebx
mov dword [r14], eax
jmp 0x140157a54
Function at 0x14015eb18
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
movsxd rdi, edx
mov rsi, rcx
mov qword [rbp + 0x20], rbx
cmp dword [rcx], edi
je 0x14015ec2b
mov r14d, dword [rcx + 4]
cmp edi, r14d
cmovl r14d, edi
test edx, edx
jle 0x14015ebf4
mov rcx, rdi
mov r15, rcx
shl r15, 3
mov rax, r15
shr rax, 3
cmp rax, rcx
je 0x14015eb80
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r15, qword [rbp + 0x20]
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x14015eb97
mov ecx, ebx
call fcn.140079c40
jmp 0x14015ec2b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, qword [rbp + 0x20]
mov rbx, rax
test r15, r15
je 0x14015ebcb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x14015ec83
mov qword [rbp + 0x20], rbx
test r14d, r14d
je 0x14015ebf4
mov rdx, qword [rsi + 8]
mov rcx, rbx
movsxd r8, r14d
shl r8, 3
call sub.msvcrt.dll_memcpy
mov rbx, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov r15, qword [rsi + 8]
test r15, r15
je 0x14015ec16
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test rbx, rbx
cmovne rax, rbx
xor ebx, ebx
mov qword [rsi + 8], rax
mov dword [rsi + 4], r14d
mov dword [rsi], edi
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x140021398]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], 3
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov ebx, 0x8007000e
jmp 0x14015eb8b
Function at 0x14015f80c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xa0
mov r14, rcx
xorps xmm0, xmm0
xor eax, eax
lea rcx, [rbp - 0x59]
xor r12d, r12d
mov qword [rbp - 0x49], rax
mov qword [rbp + 0x6f], r12
mov r15, rdx
movups xmmword [rbp - 0x59], xmm0
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xorps xmm0, xmm0
lea rcx, [rbp - 0x41]
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rax, [rbp + 0x6f]
xor edx, edx
lea r9, [0x1403d2f40]
mov qword [rsp + 0x20], rax
lea r8d, [r12 + 1]
lea rcx, [0x1403c73f0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14015f8a2
mov ecx, eax
call fcn.140079c40
jmp 0x14015f9e6
mov rbx, qword [rbp + 0x6f]
or r13d, 0xffffffff
mov rax, qword [rbx]
mov rdi, qword [rax + 0x240]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
movzx edx, r13w
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
mov rbx, qword [rbp + 0x6f]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x1f8]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
movzx edx, r12w
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
cmp dword [0x140440768], 1
lea eax, [r13 + 9]
movsd xmm1, qword [rbp - 0x49]
mov rsi, r12
mov rbx, qword [rbp + 0x6f]
cmove rsi, qword [0x14043ff30]
mov word [rbp - 0x59], ax
mov rax, r12
cmove rax, qword [0x14043ff38]
mov qword [rbp - 0x51], rax
mov rax, qword [rbx]
movups xmm0, xmmword [rbp - 0x59]
movsd qword [rbp - 0x19], xmm1
mov rdi, qword [rax + 0x280]
mov rax, qword [0x1403c1610]
mov rcx, rdi
movaps xmmword [rbp - 0x29], xmm0
call rax
mov rax, rdi
lea r8, [rbp - 0x29]
mov rdx, rsi
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
movups xmm0, xmmword [r15]
mov rbx, qword [rbp + 0x6f]
movsd xmm1, qword [r15 + 0x10]
movaps xmmword [rbp - 0x29], xmm0
movsd qword [rbp - 0x19], xmm1
mov rax, qword [rbx]
mov rdi, qword [rax + 0x1d0]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x29]
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14015f896
cmp word [rbp + 0x67], r13w
je 0x14015f9d7
mov rcx, qword [r14]
test rcx, rcx
je 0x14015f9cb
mov rdx, qword [rbp + 0x6f]
call fcn.14010b454
mov ebx, 0x8004bd01
mov ecx, ebx
jmp 0x14015f898
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x6f], r12
mov qword [rax], rcx
mov ecx, ebx
call fcn.140079c60
xor r9d, r9d
mov qword [rbp - 9], 3
lea rax, [0x14001a858]
mov qword [rbp + 7], r12
mov qword [rbp - 1], rax
lea rdx, [rbp - 9]
lea rax, [rbp + 0x6f]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp + 0xf], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140160158
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
and qword [rsp + 0x68], 0
mov r14, rcx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rbp + 0x18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1401601ac
lea rax, [0x1403a7268]
mov qword [rsi], rax
mov dword [rsi + 0x10], 1
lock inc dword [0x14043f384]
jmp 0x1401601ae
xor esi, esi
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1401601d3
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
mov rcx, rbx
call rax
mov qword [rsp + 0x68], rsi
test rsi, rsi
jne 0x1401601eb
mov ebp, 0x8007000e
mov ecx, ebp
call fcn.140079c40
jmp 0x1401601f3
and qword [rsp + 0x68], rbp
mov qword [r14], rsi
mov ecx, ebp
call fcn.140079c60
and qword [rsp + 0x30], 0
lea rax, [0x1400216d8]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], 3
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rbx, qword [rsp + 0x60]
mov eax, ebp
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140162098
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rcx + 8]
mov rdi, rdx
mov r15d, dword [rcx]
mov rsi, rcx
mov r12d, dword [rcx + 4]
and qword [rcx + 8], 0
mov eax, dword [rdx]
mov dword [rcx], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 4], eax
mov rbp, qword [rdx + 8]
and qword [rdx + 8], 0
mov r14, qword [rcx + 8]
mov qword [rsp + 0x70], rbx
test r14, r14
je 0x1401620fe
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x70]
xor eax, eax
test rbp, rbp
cmovne rax, rbp
and qword [rsp + 0x70], 0
mov qword [rsi + 8], rax
mov dword [rdi], r15d
mov dword [rdi + 4], r12d
mov rsi, qword [rdi + 8]
test rsi, rsi
je 0x140162135
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov qword [rsp + 0x20], 3
test rbx, rbx
lea rdx, [rsp + 0x20]
mov ecx, 0xb9
cmovne rax, rbx
and qword [rsp + 0x30], 0
mov qword [rdi + 8], rax
xor r9d, r9d
lea rax, [0x140026198]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1401621a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor ebx, ebx
mov rdi, rcx
mov qword [rbp + 0x20], rbx
cmp dword [rcx], ebx
je 0x140162255
mov eax, dword [rcx + 4]
xor esi, esi
test eax, eax
cmovle esi, eax
jle 0x140162225
movsxd rdx, ebx
shl rdx, 4
add rdx, qword [rdi + 8]
je 0x14016221a
xor r9d, r9d
mov qword [rbp - 0x18], rdx
lea rax, [0x1400300d8]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x28]
mov dword [rbp - 0x10], 1
lea r8d, [r9 + 0x24]
mov qword [rbp - 0x20], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
inc ebx
cmp ebx, dword [rdi + 4]
jl 0x1401621d2
mov rbx, qword [rbp + 0x20]
mov r14, qword [rdi + 8]
test r14, r14
je 0x140162242
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test rbx, rbx
cmovne rax, rbx
mov qword [rdi + 8], rax
and dword [rdi], 0
mov dword [rdi + 4], esi
xor ecx, ecx
call fcn.140079c60
and qword [rbp - 0x20], 0
lea rax, [0x1400264d8]
xor r9d, r9d
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x30], 3
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x18], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1401633d4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x20], 0
mov rdi, rcx
movsxd rsi, edx
cmp dword [rcx], esi
je 0x14016353b
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x1401634b6
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x140163443
mov r14, rcx
shl r14, 5
mov rax, r14
shr rax, 5
cmp rax, rcx
je 0x140163446
mov ebx, 0x80070216
mov ecx, ebx
call fcn.140079c40
mov r14, qword [rbp + 0x20]
jmp 0x140163446
xor r14d, r14d
mov ecx, ebx
call fcn.140079c60
test ebx, ebx
jns 0x14016345d
mov ecx, ebx
call fcn.140079c40
jmp 0x14016353d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, qword [rbp + 0x20]
mov rbx, rax
test r14, r14
je 0x140163491
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x140163595
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x1401634b6
mov rdx, qword [rdi + 8]
mov rcx, rbx
movsxd r8, r15d
shl r8, 5
call sub.msvcrt.dll_memcpy
cmp esi, dword [rdi + 4]
jge 0x140163502
mov ebx, esi
movsxd rdx, ebx
shl rdx, 5
add rdx, qword [rdi + 8]
je 0x1401634fb
and qword [rbp - 0x10], 0
lea rax, [0x140019198]
xor r9d, r9d
mov qword [rbp - 8], rdx
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], 3
mov ecx, 0xb9
mov qword [rbp - 0x18], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
inc ebx
cmp ebx, dword [rdi + 4]
jl 0x1401634bd
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140163528
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
test r14, r14
cmovne rax, r14
mov qword [rdi + 8], rax
mov dword [rdi + 4], r15d
mov dword [rdi], esi
xor ebx, ebx
mov ecx, ebx
call fcn.140079c60
and qword [rbp - 0x10], 0
lea rax, [0x140022098]
xor r9d, r9d
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], 3
lea rdx, [rbp - 0x20]
mov qword [rbp - 8], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov ebx, 0x8007000e
jmp 0x140163451