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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
cmp dword [0x140438460], 0
mov rbx, rcx
jne 0x14016796c
mov ecx, 0xc004d101
jmp 0x140167a14
test rbx, rbx
jne 0x14016797b
mov ecx, 0x80070057
jmp 0x140167a14
mov edx, 1
cmp dword [0x140438650], edx
je 0x14016798d
xor dil, dil
jmp 0x1401679b3
lea rcx, [0x140437c50]
call fcn.140073400
xor r8d, r8d
mov rdx, rbx
call fcn.1401800d8
lea rcx, [0x140437c50]
movzx edi, al
call fcn.14007329c
xor ecx, ecx
call fcn.14007ab44
test dil, dil
je 0x1401679c6
mov ecx, 0xc004d316
jmp 0x140167a14
lea rax, [0x140024d78]
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 [0x140438648]
lea r8d, [r9 + 0x28]
mov qword [rsp + 0x38], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rsp + 0x68]
test ecx, ecx
jns 0x140167a19
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140167a3c
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 [0x140438460], 0
mov rdi, r8
mov rsi, rdx
jne 0x140167a77
mov ecx, 0xc004d101
jmp 0x140167b07
lea r9, [rbp - 0x58]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140167b07
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 2
jne 0x140167aa0
mov ecx, 0xc004d314
jmp 0x140167b07
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
lea rax, [0x1400277b8]
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 [0x140438648]
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 0x140167b0c
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp - 0x58]
call fcn.140054198
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 0x140167b44
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 [0x140438460], 0
mov rdi, r8
mov rsi, rdx
jne 0x140167b84
mov ecx, 0xc004d101
call fcn.14007ab24
jmp 0x140167c23
lea r9, [rbp - 0x58]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140167b7a
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 1
jne 0x140167bad
mov ecx, 0xc004d314
jmp 0x140167b7a
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
lea rax, [0x140039f78]
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 [0x140438648]
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 0x140167b7a
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x140167c23
mov eax, dword [rbp - 0x5c]
mov dword [rdx], eax
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp - 0x58]
call fcn.140054198
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 0x140167c5c
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 [0x140438460], 0
jne 0x140167c81
mov ecx, 0xc004d101
jmp 0x140167cff
lea r9, [rbp + 0x28]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140167cff
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 2
jne 0x140167caa
mov ecx, 0xc004d314
jmp 0x140167cff
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x140022338]
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 [0x140438648]
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 0x140167d04
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp + 0x28]
call fcn.140054198
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x140167d30
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 [0x140438460], 0
mov rdi, r8
mov rsi, rdx
jne 0x140167d6b
mov ecx, 0xc004d101
jmp 0x140167df0
lea r9, [rbp - 0x58]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140167df0
mov rax, qword [rbp - 0x58]
test byte [rax + 0x18], 1
jne 0x140167d94
mov ecx, 0xc004d314
jmp 0x140167df0
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
lea rax, [0x1400388b8]
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 [0x140438648]
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 0x140167df5
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp - 0x58]
call fcn.140054198
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 0x140167e30
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 [0x140438460], 0
mov edi, r8d
mov rsi, rdx
jne 0x140167e65
mov ecx, 0xc004d101
jmp 0x140167ee2
lea r9, [rbp - 0x48]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140167ee2
mov rax, qword [rbp - 0x48]
test byte [rax + 0x18], 2
jne 0x140167e8e
mov ecx, 0xc004d314
jmp 0x140167ee2
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x140038238]
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 [0x140438648]
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 0x140167ee7
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp - 0x48]
call fcn.140054198
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 0x140167f1c
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 [0x140438460], 0
mov rdi, rdx
jne 0x140167f49
mov ecx, 0xc004d101
jmp 0x140167fc4
lea r9, [rbp - 0x40]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140167fc4
mov rax, qword [rbp - 0x40]
test byte [rax + 0x18], 1
jne 0x140167f72
mov ecx, 0xc004d314
jmp 0x140167fc4
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x38]
lea rax, [0x140030d38]
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 [0x140438648]
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 0x140167fc9
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp - 0x40]
call fcn.140054198
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x140167ff8
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 [0x140438460], 0
jne 0x14016801d
mov ecx, 0xc004d101
jmp 0x140168094
lea r9, [rbp + 0x28]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140168094
mov rax, qword [rbp + 0x28]
test byte [rax + 0x18], 2
jne 0x140168046
mov ecx, 0xc004d314
jmp 0x140168094
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x30]
lea rax, [0x140038f38]
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 [0x140438648]
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 0x140168099
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp + 0x28]
call fcn.140054198
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x1401680c4
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 [0x140438460], 0
jne 0x1401680f6
mov ecx, 0xc004d101
jmp 0x140168180
lea r9, [rbp + 0x18]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x140168180
mov rax, qword [rbp + 0x18]
test byte [rax + 0x18], 1
jne 0x14016811f
mov ecx, 0xc004d314
jmp 0x140168180
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x50]
and qword [rbp - 0x1c], 0
lea rax, [0x1400388b8]
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 [0x140438648]
mov qword [rbp - 0x38], rax
lea rax, [0x1403c0610]
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 0x140168185
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp + 0x18]
call fcn.140054198
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x1401681b4
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 [0x140438460], 0
mov edi, edx
jne 0x1401681e3
mov ecx, 0xc004d101
jmp 0x1401682b5
test rcx, rcx
je 0x140168267
lea r9, [rbp - 0x48]
mov r8d, 4
mov rdx, rcx
call fcn.140169448
mov ecx, eax
test eax, eax
js 0x1401682b5
mov rax, qword [rbp - 0x48]
test byte [rax + 0x18], 1
jne 0x140168218
mov ecx, 0xc004d314
jmp 0x1401682b5
mov rcx, qword [rax + 0x10]
lea rdx, [rbp - 0x40]
lea rax, [0x14002dfb8]
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 [0x140438648]
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 0x1401682b1
and qword [rbp - 0x20], 0
lea rax, [0x14002dfb8]
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 [0x140438648]
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 0x1401682ba
call fcn.14007ab24
call fcn.140165ac4
mov ecx, eax
mov ebx, eax
call fcn.14007ab44
lea rcx, [rbp - 0x48]
call fcn.140054198
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 0x140168544
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 0x1401685bb
mov dword [rsp], r10d
cmp r10d, r9d
jae 0x1401685bb
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 0x140168558
xor eax, eax
jmp 0x1401685c3
add rsp, 0x10
pop rbx
ret

Function at 0x14017663c
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 0x140176751
xor edi, edi
test r14d, r14d
jle 0x140176746
mov esi, r14d
mov rbx, rdx
lea r14, [0x140029838]
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 0x1401766e9
or eax, 0xffffffff
lea edi, [r13 + 1]
sub eax, r15d
add esi, eax
jmp 0x1401766ec
mov esi, r15d
test esi, esi
jg 0x14017668f
mov rbx, qword [rbp + 0x50]
cmp edi, dword [rbp + 0x58]
jge 0x140176746
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, [0x140029838]
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 0x140176746
mov al, 1
jmp 0x140176748
xor al, al
test rbx, rbx
je 0x14017675c
mov dword [rbx], edi
jmp 0x14017675c
xor al, al
test rbx, rbx
je 0x14017675c
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 0x140177b00
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
xor eax, eax
mov rsi, rcx
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov r15, r8
mov qword [rbp - 0x11], rax
mov r14, rdx
call qword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
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 [0x140438c38], 1
mov rbx, qword [rax + 0x1c0]
lea r13d, [r12 + 5]
cmove rdi, qword [0x140438418]
mov rcx, rbx
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 qword [0x1403b8660]
lea rax, [rbp + 0x67]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 9]
mov rcx, rsi
call rbx
mov ebx, eax
test eax, eax
js 0x140177c2c
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 rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 9]
mov rcx, rbx
call rdi
mov ebx, eax
test eax, eax
js 0x140177c2c
mov rax, qword [r14]
mov rbx, qword [rax + 0xa8]
mov rcx, rbx
call qword [0x1403b8660]
mov rdx, qword [rbp + 0x67]
xor r8d, r8d
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
jns 0x140177c33
mov ecx, eax
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
and qword [rbp + 0x27], 0
lea rax, [0x1400294f8]
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
Function at 0x140177dc0
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 0x140177f36
mov r15d, dword [rcx + 4]
cmp esi, r15d
cmovl r15d, esi
test edx, edx
jle 0x140177ea9
xor ebx, ebx
mov rcx, rsi
test edx, edx
je 0x140177e2f
mov r14, rcx
shl r14, 3
mov rax, r14
shr rax, 3
cmp rax, rcx
je 0x140177e32
mov ebx, 0x80070216
mov ecx, ebx
call fcn.14007ab24
mov r14, qword [rbp + 0x20]
jmp 0x140177e32
xor r14d, r14d
mov ecx, ebx
call fcn.14007ab44
test ebx, ebx
jns 0x140177e49
mov ecx, ebx
call fcn.14007ab24
jmp 0x140177f38
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 0x140177e7d
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
jne 0x140177e8d
and qword [rbp + 0x20], rbx
mov ebx, 0x8007000e
jmp 0x140177e3d
mov qword [rbp + 0x20], rbx
test r15d, r15d
je 0x140177ea9
mov rdx, qword [rdi + 8]
mov rcx, rbx
movsxd r8, r15d
shl r8, 3
call sub.msvcrt.dll_memcpy
cmp esi, dword [rdi + 4]
jge 0x140177ef8
mov ebx, esi
mov rcx, qword [rdi + 8]
movsxd rax, ebx
lea rdx, [rcx + rax*8]
test rdx, rdx
je 0x140177ef1
and qword [rbp - 0x10], 0
lea rax, [0x14002aef8]
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 0x140177eb0
mov r14, qword [rbp + 0x20]
and qword [rbp + 0x20], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140177f23
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
and qword [rdi + 8], 0
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.14007ab44
and qword [rbp - 0x10], 0
lea rax, [0x1400313b8]
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
Function at 0x140177f98
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rdi, rcx
movsxd rsi, edx
mov ecx, dword [rcx + 4]
mov r14, r8
test ecx, ecx
jns 0x140177fc3
mov ebx, 0x8000ffff
mov ecx, ebx
jmp 0x140177fda
lea r8, [rsp + 0x70]
mov edx, 1
call fcn.14007a14c
mov ebx, eax
test eax, eax
jns 0x140177fe4
mov ecx, eax
call fcn.14007ab24
jmp 0x14017809e
mov edx, dword [rsp + 0x70]
mov rcx, rdi
call fcn.1401792c4
mov ebx, eax
test eax, eax
js 0x140177fd8
mov ecx, dword [rdi + 4]
mov rbx, rsi
cmp esi, ecx
jge 0x14017801a
mov rax, qword [rdi + 8]
sub ecx, esi
movsxd r8, ecx
shl r8, 3
lea rdx, [rax + rsi*8]
lea rcx, [rdx + 8]
call sub.msvcrt.dll_memmove
mov rax, qword [rdi + 8]
lea rcx, [rax + rbx*8]
xor eax, eax
mov qword [rcx], rax
test rcx, rcx
je 0x14017802f
and qword [rcx], rax
mov rsi, qword [rdi + 8]
mov rbp, qword [r14]
and qword [r14], rax
mov rax, qword [rsi + rbx*8]
test rax, rax
je 0x14017808c
lea rcx, [0x1400309f8]
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 + 0x88]
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x30], rcx
mov ecx, 0xb9
lea r8d, [r9 + 0x24]
call sub.ntdll.dll_NtQuerySystemInformation
and qword [rsi + rbx*8], 0
xor eax, eax
test rbp, rbp
cmovne rax, rbp
mov qword [rsi + rbx*8], rax
inc dword [rdi + 4]
xor ebx, ebx
mov ecx, ebx
call fcn.14007ab44
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret