joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cbc90
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x1402f8e94], 0
je 0x1400cbcad
mov eax, dword [0x1402f8e94]
jmp 0x1400cbd73
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x1400cbcc0
xor eax, eax
jmp 0x1400cbd73
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400cd2b0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400cbd2e
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1400cbd13
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x38]
call fcn.1400cd52c
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x1402f8e94], eax
mov qword [0x1402f8e98], 0
mov eax, dword [rsp + 0x20]
jmp 0x1400cbd73
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1400cbd48
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x1400cbce9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1402f8ea0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x1402f8ea0], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400cd13c
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 0x1400cd176
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400cd17b
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 0x1400cd1c4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1400cd1c4
dec r8
sub rdx, 1
jne 0x1400cd1aa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400ce174
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ce1be
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ce1be
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ce1be
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ce1be
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ce1be
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400ce1c0
xor al, al
add rsp, 0x28
ret
Function at 0x140020b78
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14005eb40]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009ec8
mov rcx, qword [0x14005f378]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14005f380]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14005f388]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14005f380], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.140009ec8
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140020ca1
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x14005f378]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14005f378]
jne 0x140020cf6
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140020cf6
mov rcx, qword [0x14005f378]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140020cf6
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140020d04
or eax, 0xffffffff
jmp 0x140020d09
call fcn.140009f04
cmp dword [0x14005d138], eax
je 0x140020d1c
mov dword [0x14005d138], eax
call fcn.140020d44
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004c170
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140041f20
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x14005eb40]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140041f79
cmp dword [rsp + 0x90], 0x7c
jge 0x140041f79
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x14005d7d0]
call fcn.1400420f0
lea rcx, [rsp + 0x50]
call fcn.140038690
nop
cmp qword [rsp + 0x30], 0
jne 0x140041f9f
lea rdx, [0x140056378]
lea rcx, [rsp + 0x50]
call fcn.140039850
jmp 0x140041fae
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140039850
cmp dword [rsp + 0xa0], 1
jne 0x140041fc9
lea rdx, [0x140056388]
lea rcx, [rsp + 0x50]
call fcn.140039850
movss xmm2, dword [0x140053c80]
movss xmm1, dword [0x1400566b0]
lea rcx, [rsp + 0x48]
call fcn.140038e20
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.1400448f8
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.1400260ac
movzx eax, al
test eax, eax
je 0x14004203e
cmp dword [rsp + 0xa0], 0
jne 0x14004203e
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.140039524
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004c170
add rsp, 0x88
ret
Function at 0x140047b44
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x14004a294
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140043088]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x140043540]
mov qword [rsp + 0x78], rax
lea rax, [0x1400540c8]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14004a34c
lea rdx, str._n_n_Bluestacks
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140031eb8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, str.Bluestacks_5
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14005fc28], rax
mov edx, 5
mov rcx, qword [0x14005fc28]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x1400540b8]
mov rcx, qword [0x14005fc28]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x14005fc28]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x14005fc28]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x14004c878
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004c8c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004c8c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004c8c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004c8c2
cmp dword [rcx + 0x84], 0xe
jbe 0x14004c8c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004c8c4
xor al, al
add rsp, 0x28
ret

Function at 0x1400019c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a0a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a0a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a0a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a0a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a0a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a0c
xor al, al
add rsp, 0x28
ret
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, [0x14041cc34]
call fcn.1400ed270
lea rax, [0x14003fe58]
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, [0x1404176a8]
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, [0x1404222ac]
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, [0x14042b968]
call fcn.1400eefd4
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp + 7]
call fcn.14005a810
lea rdx, [0x14043e328]
lea rcx, [0x140420d70]
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, [0x14041f1ac]
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, [0x14041f250]
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, [0x14003d758]
mov qword [rbp + 0x1f], rdi
mov qword [rbp - 0x21], rax
lea rdx, [0x14043a08c]
lea rax, [rbp + 0x7f]
mov qword [rbp + 0x27], rbx
lea rcx, [0x1404147fc]
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, [0x14041fc98]
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, [0x140425ff8]
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, [0x140043598]
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, [0x140041b98]
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, [0x14042345c]
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, [0x140423cf0]
call fcn.1400edc30
jmp 0x140084fa6
lea rax, [0x140041518]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x14043c24c]
lea rax, [rbp - 0x45]
lea rcx, [0x14041ed1c]
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, [0x140417948]
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, [0x14041d0f4]
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, [0x14003ca58]
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, [0x14003ca58]
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