joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140170ff4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
cmp dword [0x14045d4e0], 0
mov rbx, rcx
jne 0x140171014
mov ecx, 0xc004d101
jmp 0x1401710bc
test rbx, rbx
jne 0x140171023
mov ecx, 0x80070057
jmp 0x1401710bc
mov edx, 1
cmp dword [0x14045d6d0], edx
je 0x140171035
xor dil, dil
jmp 0x14017105b
lea rcx, [0x14045cc30]
call fcn.140073644
xor r8d, r8d
mov rdx, rbx
call fcn.140189d10
lea rcx, [0x14045cc30]
mov dil, al
call fcn.1400734c0
xor ecx, ecx
call fcn.14007ace8
test dil, dil
je 0x14017106e
mov ecx, 0xc004d316
jmp 0x1401710bc
mov rax, qword [0x14045d6c8]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [0x14002ff9c]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rax
mov ecx, 0xb9
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rbx
lea r8d, [r9 + 0x28]
mov qword [rsp + 0x30], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rsp + 0x68]
test ecx, ecx
jns 0x1401710c1
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1401710e4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x58], 0
mov ebx, r9d
cmp dword [0x14045d4e0], 0
mov rdi, r8
mov rsi, rdx
jne 0x14017111f
mov ecx, 0xc004d101
jmp 0x1401711b6
mov rdx, rcx
lea r9, [rbp - 0x58]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x1401711b6
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 2
jne 0x14017114f
mov ecx, 0xc004d314
jmp 0x1401711b6
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14002911c]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x40], rax
mov eax, dword [rbp + 0x30]
lea r8d, [r9 + 0x48]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp + 0x38]
mov qword [rbp - 0x30], rcx
lea ecx, [r8 + 0x71]
mov qword [rbp - 0x38], rdx
lea rdx, [rbp - 0x50]
mov dword [rbp - 0xc], eax
mov qword [rbp - 0x50], 3
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], 1
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], ebx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x60]
test ecx, ecx
jns 0x1401711bb
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp - 0x58]
call fcn.14006a9cc
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1401711f4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x58], 0
mov rbx, r9
cmp dword [0x14045d4e0], 0
mov rdi, r8
mov rsi, rdx
jne 0x140171234
mov ecx, 0xc004d101
call fcn.14007ac40
jmp 0x1401712da
mov rdx, rcx
lea r9, [rbp - 0x58]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x14017122a
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 1
jne 0x140171264
mov ecx, 0xc004d314
jmp 0x14017122a
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14002639c]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x5c]
lea r8d, [r9 + 0x4c]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x38], rdx
lea ecx, [r8 + 0x6d]
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x50], 3
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], 1
mov qword [rbp - 0x14], rdi
mov qword [rbp - 0xc], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x60]
test ecx, ecx
js 0x14017122a
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x1401712da
mov eax, dword [rbp - 0x5c]
mov dword [rdx], eax
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp - 0x58]
call fcn.14006a9cc
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140171314
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp + 0x28], 0
mov rbx, rdx
cmp dword [0x14045d4e0], 0
jne 0x14017133c
mov ecx, 0xc004d101
jmp 0x1401713c1
mov rdx, rcx
lea r9, [rbp + 0x28]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x1401713c1
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 2
jne 0x14017136c
mov ecx, 0xc004d314
jmp 0x1401713c1
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14001ce1c]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x20], rcx
mov ecx, 0xb9
mov qword [rbp - 0x28], rdx
lea r8d, [r9 + 0x34]
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x10], 1
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jns 0x1401713c6
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp + 0x28]
call fcn.14006a9cc
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x1401713f4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x58], 0
mov rbx, r9
cmp dword [0x14045d4e0], 0
mov rdi, r8
mov rsi, rdx
jne 0x14017142f
mov ecx, 0xc004d101
jmp 0x1401714bb
mov rdx, rcx
lea r9, [rbp - 0x58]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x1401714bb
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 1
jne 0x14017145f
mov ecx, 0xc004d314
jmp 0x1401714bb
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14003575c]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x30], rcx
lea r8d, [r9 + 0x44]
mov qword [rbp - 0x38], rdx
lea ecx, [r8 + 0x75]
mov qword [rbp - 0x50], 3
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x20], 1
mov qword [rbp - 0x1c], rdi
mov qword [rbp - 0x14], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x60]
test ecx, ecx
jns 0x1401714c0
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp - 0x58]
call fcn.14006a9cc
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x1401714fc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x48], 0
mov ebx, r9d
cmp dword [0x14045d4e0], 0
mov edi, r8d
mov rsi, rdx
jne 0x140171534
mov ecx, 0xc004d101
jmp 0x1401715b8
mov rdx, rcx
lea r9, [rbp - 0x48]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x1401715b8
mov rax, qword [rbp - 0x48]
test byte [rax + 0x18], 2
jne 0x140171564
mov ecx, 0xc004d314
jmp 0x1401715b8
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14001aa5c]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], rcx
mov ecx, 0xb9
mov qword [rbp - 0x28], rdx
lea r8d, [r9 + 0x38]
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], edi
mov dword [rbp - 0xc], ebx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x50]
test ecx, ecx
jns 0x1401715bd
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp - 0x48]
call fcn.14006a9cc
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1401715f4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x40], 0
mov rbx, r8
cmp dword [0x14045d4e0], 0
mov rdi, rdx
jne 0x140171624
mov ecx, 0xc004d101
jmp 0x1401716a6
mov rdx, rcx
lea r9, [rbp - 0x40]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x1401716a6
mov rax, qword [rbp - 0x40]
test byte [rax + 0x18], 1
jne 0x140171654
mov ecx, 0xc004d314
jmp 0x1401716a6
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14002df1c]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x18], rcx
mov ecx, 0xb9
mov qword [rbp - 0x20], rdx
lea r8d, [r9 + 0x38]
lea rdx, [rbp - 0x38]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x38], 3
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
test ecx, ecx
jns 0x1401716ab
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp - 0x40]
call fcn.14006a9cc
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x1401716dc
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x28], 0
mov rbx, rdx
cmp dword [0x14045d4e0], 0
jne 0x140171701
mov ecx, 0xc004d101
jmp 0x14017177f
mov rdx, rcx
lea r9, [rbp + 0x28]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x14017177f
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 2
jne 0x140171731
mov ecx, 0xc004d314
jmp 0x14017177f
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14003201c]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rcx
mov ecx, 0xb9
mov qword [rbp - 0x18], rdx
lea r8d, [r9 + 0x30]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x30], 3
mov qword [rbp - 8], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jns 0x140171784
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp + 0x28]
call fcn.14006a9cc
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x1401717b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x70
and qword [rbp + 0x18], 0
mov rbx, r9
cmp dword [0x14045d4e0], 0
jne 0x1401717e2
mov ecx, 0xc004d101
jmp 0x140171873
mov rdx, rcx
lea r9, [rbp + 0x18]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x140171873
mov rax, qword [rbp + 0x18]
test byte [rax + 0x18], 1
jne 0x140171812
mov ecx, 0xc004d314
jmp 0x140171873
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14003575c]
and qword [rbp - 0x1c], 0
mov qword [rbp - 0x30], rcx
mov ecx, 3
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x40], rax
lea rax, [0x1403dbfac]
mov qword [rbp - 0x50], rcx
lea r8d, [rcx + 0x41]
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x20], ecx
lea rdx, [rbp - 0x50]
lea ecx, [r8 + 0x75]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x14], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jns 0x140171878
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp + 0x18]
call fcn.14006a9cc
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x1401718a8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x48], 0
mov rbx, r8
cmp dword [0x14045d4e0], 0
mov edi, edx
jne 0x1401718d7
mov ecx, 0xc004d101
jmp 0x1401719b4
test rcx, rcx
je 0x140171966
mov rdx, rcx
lea r9, [rbp - 0x48]
mov rcx, qword [0x14045d4d8]
mov r8d, 4
call fcn.14017300c
mov ecx, eax
test eax, eax
js 0x1401719b4
mov rax, qword [rbp - 0x48]
test byte [rax + 0x18], 1
jne 0x140171917
mov ecx, 0xc004d314
jmp 0x1401719b4
mov rcx, qword [rax + 0x10]
xor r9d, r9d
mov rdx, qword [0x14045d6c8]
lea rax, [0x14001bddc]
mov qword [rbp - 0x38], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x20], rcx
mov ecx, 0xb9
mov qword [rbp - 0x28], rdx
lea r8d, [r9 + 0x34]
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], 3
mov dword [rbp - 0x18], edi
mov qword [rbp - 0x14], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
jmp 0x1401719b0
mov rax, qword [0x14045d6c8]
lea rdx, [rbp - 0x40]
and qword [rbp - 0x20], 0
xor r9d, r9d
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
lea rax, [0x14001bddc]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
lea r8d, [r9 + 0x34]
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x18], edi
mov qword [rbp - 0x14], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x50]
test ecx, ecx
jns 0x1401719b9
call fcn.14007ac40
call fcn.14016f308
mov ecx, eax
mov ebx, eax
call fcn.14007ace8
lea rcx, [rbp - 0x48]
call fcn.14006a9cc
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140171ce4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x10
mov rbx, r8
mov r11, rdx
xor r10d, r10d
test r9d, r9d
je 0x140171d66
mov dword [rsp], r10d
cmp r10d, r9d
jae 0x140171d66
mov al, byte [r11 + 0x100]
inc al
movzx r8d, al
mov byte [r11 + 0x100], r8b
mov al, byte [r11 + 0x101]
add al, byte [r8 + r11]
movzx edx, al
mov byte [r11 + 0x101], dl
mov cl, byte [rdx + r11]
mov al, byte [r8 + r11]
mov byte [rdx + r11], al
mov byte [r8 + r11], cl
movzx ecx, byte [r11 + 0x101]
movzx eax, byte [r11 + 0x100]
mov cl, byte [rcx + r11]
add cl, byte [rax + r11]
movzx eax, cl
mov cl, byte [rax + r11]
xor cl, byte [r10 + rbx]
mov byte [r10 + rbx], cl
inc r10d
jmp 0x140171cf8
xor eax, eax
jmp 0x140171d6e
add rsp, 0x10
pop rbx
ret

Function at 0x140180d90
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r14d, dword [rcx + 4]
mov r12, rdx
mov rdx, qword [rcx + 8]
mov rbx, r8
mov qword [rbp - 0x38], rdx
mov dword [rbp + 0x58], r14d
test r14d, r14d
je 0x140180ea8
xor edi, edi
lea rcx, [0x14003095c]
test r14d, r14d
jle 0x140180e56
mov esi, r14d
mov rbx, rdx
lea r14, [0x14003095c]
xor r9d, r9d
mov qword [rbp - 0x30], 3
mov r15d, esi
mov qword [rbp - 0x28], r14
shr r15d, 1
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x10], r12
lea r8d, [r9 + 0x28]
lea r13d, [r15 + rdi]
movsxd rax, r13d
lea rcx, [rbx + rax*8]
mov qword [rbp - 0x18], rcx
lea rax, [rbp + 0x40]
mov ecx, 0xb9
mov qword [rbp - 0x20], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x40], 0
jge 0x140180e3c
or eax, 0xffffffff
lea edi, [r13 + 1]
sub eax, r15d
add esi, eax
jmp 0x140180e3f
mov esi, r15d
test esi, esi
jg 0x140180de6
mov rbx, qword [rbp + 0x50]
lea rcx, [0x14003095c]
mov r14d, dword [rbp + 0x58]
mov rdx, qword [rbp - 0x38]
cmp edi, r14d
jge 0x140180e9d
movsxd rax, edi
xor r9d, r9d
mov qword [rbp - 0x28], rcx
mov ecx, 0xb9
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x18], r12
lea rdx, [rdx + rax*8]
mov qword [rbp - 0x10], rdx
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rax
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp - 0x40], 0
jl 0x140180e9d
mov al, 1
jmp 0x140180e9f
xor al, al
test rbx, rbx
je 0x140180eb3
mov dword [rbx], edi
jmp 0x140180eb3
xor al, al
test rbx, rbx
je 0x140180eb3
and dword [r8], 0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140181d08
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, 0x50
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x140181e37
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x140181da3
lea rbx, [rbp*8]
mov ecx, r12d
call fcn.14007ace8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x140181d72
mov ebx, r12d
jmp 0x140181d7d
mov rcx, rdi
mov rbx, rdi
test rdi, rdi
jne 0x140181d8e
mov edi, 0x8007000e
mov ecx, edi
call fcn.14007ac40
jmp 0x140181e3a
test r14d, r14d
je 0x140181da3
mov rdx, qword [rsi + 8]
movsxd r8, r14d
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x140181e06
mov edi, ebp
mov rcx, qword [rsi + 8]
movsxd rax, edi
lea rdx, [rcx + rax*8]
test rdx, rdx
je 0x140181dff
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x14003235c]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x80]
mov dword [rsp + 0x40], 1
lea r8d, [r9 + 0x24]
mov qword [rsp + 0x30], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x140181daa
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x140181e2d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x140181e5a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x50]
mov eax, edi
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 0x140181e7c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rsi, rcx
movsxd r15, edx
mov ecx, dword [rcx + 4]
mov r12, r8
test ecx, ecx
jns 0x140181ea6
mov edi, 0x8000ffff
mov ecx, edi
jmp 0x140181ec0
lea r8, [rsp + 0x80]
mov edx, 1
call fcn.14007a2f8
mov edi, eax
test eax, eax
jns 0x140181eca
mov ecx, eax
call fcn.14007ac40
jmp 0x140182052
mov edi, dword [rsi]
test edi, edi
jns 0x140181ede
mov edi, 0x8000ffff
mov ebx, edi
mov ecx, edi
jmp 0x140181f83
cmp dword [rsp + 0x80], edi
jg 0x140181eee
xor ebx, ebx
jmp 0x140181f88
mov r14d, dword [rsp + 0x80]
test edi, edi
jne 0x140181f03
mov edi, 0x20
xor ebx, ebx
jmp 0x140181f5d
js 0x140181f3f
lea ecx, [rdi + rdi]
xor ebx, ebx
mov eax, ecx
shr eax, 1
cmp eax, edi
je 0x140181f20
mov ebx, 0x80070216
mov ecx, ebx
call fcn.14007ac40
jmp 0x140181f23
mov r14d, ecx
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x140181f44
test r14d, r14d
jns 0x140181f3a
mov ebx, 0x80070216
jmp 0x140181f44
mov edi, r14d
jmp 0x140181f4b
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
jns 0x140181f5d
mov ecx, ebx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x140181f9c
cmp edi, dword [rsp + 0x80]
jl 0x140181ef6
mov edx, edi
mov rcx, rsi
call fcn.140182078
mov ebx, eax
test eax, eax
jns 0x140181f88
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov edi, ebx
test ebx, ebx
jns 0x140181fa0
mov ecx, ebx
jmp 0x140181ec0
mov ecx, ebx
jmp 0x140181f83
mov ecx, dword [rsi + 4]
cmp r15d, ecx
jge 0x140181fd9
mov rax, qword [rsi + 8]
test rax, rax
jne 0x140181fb6
xor r9d, r9d
jmp 0x140181fb9
mov r9, rax
sub ecx, r15d
lea rdx, [rax + r15*8]
movsxd r8, ecx
mov rbx, r15
lea rcx, [r15 + 1]
shl r8, 3
lea rcx, [r9 + rcx*8]
call sub.msvcrt.dll_memmove
jmp 0x140181fdc
mov rbx, r15
mov rax, qword [rsi + 8]
xor ecx, ecx
mov qword [rax + rbx*8], rcx
mov r14, qword [rsi + 8]
mov rdi, qword [r12]
and qword [r12], rcx
mov rax, qword [r14 + rbx*8]
test rax, rax
je 0x140182040
lea rcx, [0x14002e25c]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x98]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x30], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
xor eax, eax
test rdi, rdi
cmovne rax, rdi
mov qword [r14 + rbx*8], rax
inc dword [rsi + 4]
xor edi, edi
mov ecx, edi
call fcn.14007ace8
mov rbx, qword [rsp + 0x88]
mov eax, edi
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140182078
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, 0x50
xor r12d, r12d
movsxd rbp, edx
mov rsi, rcx
mov ebx, r12d
cmp dword [rcx], ebp
je 0x1401821a7
mov r14d, dword [rcx + 4]
cmp ebp, r14d
cmovl r14d, ebp
test edx, edx
jle 0x140182113
lea rbx, [rbp*8]
mov ecx, r12d
call fcn.14007ace8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x1401820e2
mov ebx, r12d
jmp 0x1401820ed
mov rcx, rdi
mov rbx, rdi
test rdi, rdi
jne 0x1401820fe
mov edi, 0x8007000e
mov ecx, edi
call fcn.14007ac40
jmp 0x1401821aa
test r14d, r14d
je 0x140182113
mov rdx, qword [rsi + 8]
movsxd r8, r14d
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp ebp, dword [rsi + 4]
jge 0x140182176
mov edi, ebp
mov rcx, qword [rsi + 8]
movsxd rax, edi
lea rdx, [rcx + rax*8]
test rdx, rdx
je 0x14018216f
xor r9d, r9d
mov qword [rsp + 0x38], rdx
lea rax, [0x140031cdc]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x80]
mov dword [rsp + 0x40], 1
lea r8d, [r9 + 0x24]
mov qword [rsp + 0x30], rax
mov ecx, 0xb9
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rsi + 4]
jl 0x14018211a
mov rdi, qword [rsi + 8]
mov r15, rbx
mov rbx, r12
test rdi, rdi
je 0x14018219d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi + 8], r12
mov qword [rsi + 8], r15
mov dword [rsi + 4], r14d
mov dword [rsi], ebp
mov edi, r12d
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x1401821ca
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret