joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140166b64
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 ebx, r8d
cmp dword [0x14043ffa0], 0
mov edi, edx
jne 0x140166b93
mov ecx, 0xc004d101
jmp 0x140166c23
mov rdx, rcx
lea r9, [rbp - 0x40]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140166c23
mov rax, qword [rbp - 0x40]
test byte [rax + 0x18], 1
jne 0x140166bc3
mov ecx, 0xc004d314
jmp 0x140166c23
mov ecx, ebx
and ecx, 2
test cl, cl
je 0x140166bd3
mov ecx, 0x80070057
jmp 0x140166c23
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x38]
lea rax, [0x140030418]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [rbp + 0x28]
mov qword [rbp - 0x38], 3
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x30]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x10], edi
mov dword [rbp - 0xc], ebx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
test ecx, ecx
jns 0x140166c28
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x40]
call fcn.140053010
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x140166c58
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x60
cmp dword [0x14043ffa0], 0
jne 0x140166c6e
mov ecx, 0xc004d101
jmp 0x140166ccc
lea rax, [0x140032158]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x20]
mov rax, qword [0x140440188]
mov ecx, 0xb9
mov qword [rsp + 0x50], r8
lea r8d, [r9 + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rsp + 0x88]
test ecx, ecx
jns 0x140166cd1
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
mov eax, ebx
add rsp, 0x60
pop rbx
ret
Function at 0x140166cf0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x50], 0
mov esi, r8d
and qword [rbp - 0x58], 0
mov r14, rdx
cmp dword [0x14043ffa0], 0
mov r12, rcx
jne 0x140166d39
mov edx, 0xc004d101
mov ecx, edx
call fcn.140079c40
jmp 0x140166ee4
test r12, r12
jne 0x140166d45
mov edx, 0x80070057
jmp 0x140166d2d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140166d7a
and qword [rbx + 0x10], 0
mov dword [rax + 8], 1
lea rax, [0x1403ab318]
mov qword [rbx], rax
jmp 0x140166d7c
xor ebx, ebx
mov qword [rbp - 0x50], rbx
test rbx, rbx
jne 0x140166d8c
mov edx, 0x8007000e
jmp 0x140166d2d
test r14, r14
jne 0x140166d9c
mov edx, 0x80070057
mov edi, edx
mov ecx, edx
jmp 0x140166dd8
test sil, 3
je 0x140166d91
test esi, 0xfffffff8
jne 0x140166d91
mov eax, esi
and al, 6
cmp al, 4
je 0x140166d91
lea rdx, [rbx + 0x10]
mov dword [rbx + 0x18], esi
mov rcx, r14
call fcn.140079b08
mov edi, eax
test eax, eax
js 0x140166dd6
mov rcx, qword [rbx + 0x10]
call fcn.14017f6dc
mov edi, eax
test eax, eax
jns 0x140166ddd
mov ecx, eax
call fcn.140079c40
mov ecx, edi
call fcn.140079c60
mov edx, edi
test edi, edi
jns 0x140166df1
mov ecx, edi
jmp 0x140166d2f
lea rax, [0x140039318]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
lea rax, [rbp + 0x48]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x30], rax
xor r9d, r9d
mov rax, qword [0x140440188]
mov ecx, 0xb9
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x14], rax
lea r8d, [r9 + 0x34]
mov dword [rbp - 0x18], 0xa0000
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x48]
xor edx, edx
mov r15d, 0xc004d315
cmp edi, r15d
cmovne edx, edi
test edx, edx
js 0x140166d2d
mov rcx, qword [0x14043ff98]
lea r9, [rbp - 0x58]
mov r8d, 4
mov rdx, rbx
call fcn.140168278
mov edx, eax
test eax, eax
jns 0x140166e7e
mov ecx, eax
jmp 0x140166d2f
cmp edi, r15d
jne 0x140166ed7
test sil, 4
je 0x140166f25
lea rax, [0x140036258]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x20], r14
lea rax, [rbp - 0x60]
mov ecx, 0xb9
mov qword [rbp - 0x30], rax
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x34]
mov qword [rbp - 0x28], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov edx, dword [rbp - 0x60]
test edx, edx
js 0x140166d2d
mov rax, qword [rbp - 0x58]
and qword [rbp - 0x58], 0
mov qword [r12], rax
mov ecx, edx
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x58]
call fcn.140055d08
lea rcx, [rbp - 0x50]
call fcn.140053010
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov edx, r15d
mov ecx, r15d
jmp 0x140166d2f
Function at 0x14016706c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
cmp dword [0x14043ffa0], 0
mov rbx, rcx
jne 0x14016708c
mov ecx, 0xc004d101
jmp 0x140167134
test rbx, rbx
jne 0x14016709b
mov ecx, 0x80070057
jmp 0x140167134
mov edx, 1
cmp dword [0x140440190], edx
je 0x1401670ad
xor dil, dil
jmp 0x1401670d3
lea rcx, [0x14043f7d0]
call fcn.140072570
xor r8d, r8d
mov rdx, rbx
call fcn.14017fbe4
lea rcx, [0x14043f7d0]
mov dil, al
call fcn.14007240c
xor ecx, ecx
call fcn.140079c60
test dil, dil
je 0x1401670e6
mov ecx, 0xc004d316
jmp 0x140167134
lea rax, [0x140025498]
mov qword [rsp + 0x20], 3
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x68]
mov ecx, 0xb9
mov qword [rsp + 0x30], rax
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x28]
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rsp + 0x68]
test ecx, ecx
jns 0x140167139
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x14016715c
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 [0x14043ffa0], 0
mov rdi, r8
mov rsi, rdx
jne 0x140167197
mov ecx, 0xc004d101
jmp 0x14016722e
mov rdx, rcx
lea r9, [rbp - 0x58]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x14016722e
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 2
jne 0x1401671c7
mov ecx, 0xc004d314
jmp 0x14016722e
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
lea rax, [0x140034858]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], 3
mov qword [rbp - 0x40], rax
mov rax, qword [0x140440188]
mov qword [rbp - 0x38], rax
lea r8d, [r9 + 0x48]
mov eax, dword [rbp + 0x30]
lea ecx, [r8 + 0x71]
mov dword [rbp - 0x1c], eax
mov eax, dword [rbp + 0x38]
mov dword [rbp - 0xc], eax
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 0x140167233
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x58]
call fcn.140053010
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 0x14016726c
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 [0x14043ffa0], 0
mov rdi, r8
mov rsi, rdx
jne 0x1401672ac
mov ecx, 0xc004d101
call fcn.140079c40
jmp 0x140167352
mov rdx, rcx
lea r9, [rbp - 0x58]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x1401672a2
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 1
jne 0x1401672dc
mov ecx, 0xc004d314
jmp 0x1401672a2
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
lea rax, [0x14003a358]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], 3
mov qword [rbp - 0x40], rax
mov rax, qword [0x140440188]
mov qword [rbp - 0x38], rax
lea r8d, [r9 + 0x4c]
lea rax, [rbp - 0x5c]
mov qword [rbp - 0x28], rsi
lea ecx, [r8 + 0x6d]
mov qword [rbp - 0x1c], rax
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 0x1401672a2
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x140167352
mov eax, dword [rbp - 0x5c]
mov dword [rdx], eax
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x58]
call fcn.140053010
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 0x14016738c
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 [0x14043ffa0], 0
jne 0x1401673b4
mov ecx, 0xc004d101
jmp 0x140167439
mov rdx, rcx
lea r9, [rbp + 0x28]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140167439
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 2
jne 0x1401673e4
mov ecx, 0xc004d314
jmp 0x140167439
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x14002af98]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x20]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x34]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x10], 1
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jns 0x14016743e
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp + 0x28]
call fcn.140053010
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x14016746c
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 [0x14043ffa0], 0
mov rdi, r8
mov rsi, rdx
jne 0x1401674a7
mov ecx, 0xc004d101
jmp 0x140167533
mov rdx, rcx
lea r9, [rbp - 0x58]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140167533
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 1
jne 0x1401674d7
mov ecx, 0xc004d314
jmp 0x140167533
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
lea rax, [0x14002ed58]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], 3
mov qword [rbp - 0x40], rax
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x44]
mov qword [rbp - 0x38], rax
lea ecx, [r8 + 0x75]
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 0x140167538
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x58]
call fcn.140053010
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 0x140167574
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 [0x14043ffa0], 0
mov edi, r8d
mov rsi, rdx
jne 0x1401675ac
mov ecx, 0xc004d101
jmp 0x140167630
mov rdx, rcx
lea r9, [rbp - 0x48]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140167630
mov rax, qword [rbp - 0x48]
test byte [rax + 0x18], 2
jne 0x1401675dc
mov ecx, 0xc004d314
jmp 0x140167630
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x140033e98]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x38], rax
xor r9d, r9d
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x28], rax
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 0x140167635
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x48]
call fcn.140053010
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 0x14016766c
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 [0x14043ffa0], 0
mov rdi, rdx
jne 0x14016769c
mov ecx, 0xc004d101
jmp 0x14016771e
mov rdx, rcx
lea r9, [rbp - 0x40]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x14016771e
mov rax, qword [rbp - 0x40]
test byte [rax + 0x18], 1
jne 0x1401676cc
mov ecx, 0xc004d314
jmp 0x14016771e
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x38]
lea rax, [0x140035218]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x30], rax
xor r9d, r9d
lea rax, [rbp + 0x28]
mov qword [rbp - 0x38], 3
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x38]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
test ecx, ecx
jns 0x140167723
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x40]
call fcn.140053010
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x140167754
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 [0x14043ffa0], 0
jne 0x140167779
mov ecx, 0xc004d101
jmp 0x1401677f7
mov rdx, rcx
lea r9, [rbp + 0x28]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x1401677f7
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 2
jne 0x1401677a9
mov ecx, 0xc004d314
jmp 0x1401677f7
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x30]
lea rax, [0x140027b98]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x28], rax
xor r9d, r9d
lea rax, [rbp + 0x20]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x20], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x30]
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x20]
test ecx, ecx
jns 0x1401677fc
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp + 0x28]
call fcn.140053010
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140167828
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 [0x14043ffa0], 0
jne 0x14016785a
mov ecx, 0xc004d101
jmp 0x1401678eb
mov rdx, rcx
lea r9, [rbp + 0x18]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x1401678eb
mov rax, qword [rbp + 0x18]
test byte [rax + 0x18], 1
jne 0x14016788a
mov ecx, 0xc004d314
jmp 0x1401678eb
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
and qword [rbp - 0x1c], 0
lea rax, [0x14002ed58]
mov qword [rbp - 0x48], rax
xor r9d, r9d
mov qword [rbp - 0x30], rcx
lea rax, [rbp + 0x20]
mov ecx, 3
mov qword [rbp - 0x40], rax
mov rax, qword [0x140440188]
mov qword [rbp - 0x38], rax
lea rax, [0x1403c9630]
mov qword [rbp - 0x50], rcx
lea r8d, [rcx + 0x41]
mov dword [rbp - 0x20], ecx
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 0x1401678f0
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp + 0x18]
call fcn.140053010
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x140167920
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 [0x14043ffa0], 0
mov edi, edx
jne 0x14016794f
mov ecx, 0xc004d101
jmp 0x140167a2c
test rcx, rcx
je 0x1401679de
mov rdx, rcx
lea r9, [rbp - 0x48]
mov rcx, qword [0x14043ff98]
mov r8d, 4
call fcn.140168c00
mov ecx, eax
test eax, eax
js 0x140167a2c
mov rax, qword [rbp - 0x48]
test byte [rax + 0x18], 1
jne 0x14016798f
mov ecx, 0xc004d314
jmp 0x140167a2c
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x140039318]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x28]
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x34]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x18], edi
mov qword [rbp - 0x14], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp + 0x28]
jmp 0x140167a28
and qword [rbp - 0x20], 0
lea rax, [0x140039318]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rbp - 0x40], 3
lea rax, [rbp - 0x50]
mov dword [rbp - 0x18], edi
mov qword [rbp - 0x30], rax
mov ecx, 0xb9
mov rax, qword [0x140440188]
lea r8d, [r9 + 0x34]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x14], rbx
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x50]
test ecx, ecx
jns 0x140167a31
call fcn.140079c40
call fcn.1401652e4
mov ecx, eax
mov ebx, eax
call fcn.140079c60
lea rcx, [rbp - 0x48]
call fcn.140053010
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 0x140167cf4
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 0x140167d6b
mov dword [rsp], r10d
cmp r10d, r9d
jae 0x140167d6b
inc byte [r11 + 0x100]
movzx r8d, byte [r11 + 0x100]
mov al, byte [r8 + r11]
add byte [r11 + 0x101], al
movzx edx, byte [r11 + 0x101]
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 byte [r10 + rbx], cl
inc r10d
jmp 0x140167d08
xor eax, eax
jmp 0x140167d73
add rsp, 0x10
pop rbx
ret

Function at 0x1401760d4
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 0x1401761e9
xor edi, edi
test r14d, r14d
jle 0x1401761de
mov esi, r14d
mov rbx, rdx
lea r14, [0x140037918]
mov eax, esi
mov qword [rbp - 0x30], 3
cdq
mov qword [rbp - 0x28], r14
sub eax, edx
mov qword [rbp - 0x10], r12
sar eax, 1
xor r9d, r9d
mov r15d, eax
lea r13d, [rax + rdi]
movsxd rcx, r13d
lea rax, [rbp + 0x40]
lea r8d, [r9 + 0x28]
mov qword [rbp - 0x20], rax
lea rdx, [rbx + rcx*8]
mov ecx, 0xb9
mov qword [rbp - 0x18], rdx
lea rdx, [rbp - 0x30]
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp + 0x40], 0
jge 0x140176181
or eax, 0xffffffff
lea edi, [r13 + 1]
sub eax, r15d
add esi, eax
jmp 0x140176184
mov esi, r15d
test esi, esi
jg 0x140176127
mov rbx, qword [rbp + 0x50]
cmp edi, dword [rbp + 0x58]
jge 0x1401761de
mov rdx, qword [rbp - 0x38]
xor r9d, r9d
movsxd rax, edi
mov ecx, 0xb9
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x18], r12
lea r8d, [r9 + 0x28]
lea rdx, [rdx + rax*8]
lea rax, [0x140037918]
mov qword [rbp - 0x10], rdx
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x20], rax
call sub.ntdll.dll_NtQuerySystemInformation
cmp dword [rbp - 0x40], 0
jl 0x1401761de
mov al, 1
jmp 0x1401761e0
xor al, al
test rbx, rbx
je 0x1401761f4
mov dword [rbx], edi
jmp 0x1401761f4
xor al, al
test rbx, rbx
je 0x1401761f4
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 0x1401775d0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rsi, rcx
xorps xmm0, xmm0
xor eax, eax
lea rcx, [rbp - 0x21]
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
mov r15, r8
mov r14, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xorps xmm0, xmm0
lea rcx, [rbp - 0x39]
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rax
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov r12d, 3
movsd xmm1, qword [rbp - 0x29]
xor edi, edi
and qword [rbp + 0x67], 0
cmp dword [0x140440768], 1
mov rbx, qword [rax + 0x1c0]
lea r13d, [r12 + 5]
mov rax, qword [0x1403c1610]
mov rcx, rbx
cmove rdi, qword [0x14043ff58]
mov dword [rbp - 0x31], r13d
mov word [rbp - 0x39], r12w
movups xmm0, xmmword [rbp - 0x39]
movsd qword [rbp + 7], xmm1
movaps xmmword [rbp - 9], xmm0
call rax
lea rcx, [rbp + 0x67]
mov rax, rbx
mov qword [rsp + 0x20], rcx
lea rdx, [rbp - 9]
mov rcx, rsi
xor r9d, r9d
mov r8, rdi
call rax
mov ebx, eax
test eax, eax
js 0x14017770c
movsd xmm1, qword [rbp - 0x11]
mov rbx, qword [rbp + 0x67]
mov qword [rbp - 0x19], r15
mov word [rbp - 0x21], r13w
movups xmm0, xmmword [rbp - 0x21]
mov rax, qword [rbx]
movsd qword [rbp + 7], xmm1
movaps xmmword [rbp - 9], xmm0
mov rdi, qword [rax + 0x48]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea rdx, [rbp - 9]
mov rcx, rbx
call rax
mov ebx, eax
test eax, eax
js 0x14017770c
mov rax, qword [r14]
mov rbx, qword [rax + 0xa8]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rdx, qword [rbp + 0x67]
mov rax, rbx
xor r8d, r8d
mov rcx, r14
call rax
mov ebx, eax
test eax, eax
jns 0x140177713
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
and qword [rbp + 0x27], 0
lea rax, [0x1400271d8]
xor r9d, r9d
mov qword [rbp + 0x1f], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0x17], r12
lea rdx, [rbp + 0x17]
mov qword [rbp + 0x2f], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret