joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400757a8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r12d, r12d
mov r14, r9
mov qword [rbp - 0x18], r12
mov ebx, r12d
mov qword [rbp - 0x10], rbx
mov r15, r8
mov qword [rbp - 0x20], r12
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400757f3
mov qword [rbp - 0x18], r12
xor ecx, ecx
call fcn.14007ab44
lea rax, [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007587b
mov edi, r12d
mov rbx, qword [rbp + 0x30]
mov qword [rbp - 0x10], rbx
mov rsi, rbx
mov qword [rbp + 0x30], r12
mov ecx, edi
call fcn.14007ab44
lea rcx, [rbp + 0x30]
call fcn.14006aedc
test edi, edi
js 0x1400758ab
mov qword [rbp - 0x20], r12
xor ecx, ecx
call fcn.14007ab44
mov eax, dword [rbp + 0x50]
test rbx, rbx
mov dword [rsp + 0x28], eax
mov r9d, 1
cmove rsi, r12
mov qword [rsp + 0x20], r14
mov rcx, rsi
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140075899
mov edi, r12d
jmp 0x1400758b2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14007581c
mov ecx, edi
call fcn.14007ab24
mov rsi, r12
jmp 0x14007582b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1400758b2
mov ecx, edi
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
lea rcx, [rbp - 0x20]
call fcn.140070b48
lea rcx, [rbp - 0x18]
call fcn.14006aedc
lea rcx, [rbp - 0x10]
call fcn.14006aedc
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x1400777dc
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x114
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140077851
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14007783a
mov ebx, 0x80004005
jmp 0x140077848
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.14007ab24
jmp 0x140077868
cmp dword [rsp + 0x30], 2
jne 0x140077864
cmp dword [rsp + 0x24], 6
mov eax, 1
jae 0x140077866
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.14007ab44
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14036e5e0
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x1400791a8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rdx
mov edi, 0x104
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, edi
mov qword [rsp + 0x20], rbx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
jne 0x140079220
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140079206
mov edi, 0x80004005
jmp 0x140079214
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ab24
jmp 0x1400792bd
cmp esi, edi
ja 0x14007926a
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14007a728
mov edi, eax
test eax, eax
js 0x140079256
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8, r14
call fcn.14007a880
mov edi, eax
test eax, eax
jns 0x14007925d
mov ecx, eax
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
test edi, edi
jns 0x1400792bd
jmp 0x140079214
mov rdx, rsi
lea r8, [rsp + 0x20]
call fcn.140079558
mov edi, eax
test eax, eax
jns 0x14007928b
mov ecx, eax
call fcn.14007ab24
mov rbx, qword [rsp + 0x20]
jmp 0x1400792bd
mov rbx, qword [rsp + 0x20]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400791f5
cmp eax, esi
je 0x1400792b5
mov edi, 0x8007007a
jmp 0x140079214
mov rax, rbx
xor ebx, ebx
mov qword [r14], rax
mov ecx, edi
call fcn.14007ab44
test rbx, rbx
je 0x1400792e5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ab44
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14036e5e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140085b60
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 [0x14042eb28]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, [0x140006938]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
mov r12, rdx
lea rax, [rbp - 0x49]
mov rbx, rcx
lea rdx, [0x1404307b8]
mov qword [rbp - 0x29], rax
lea rcx, [0x14041ad9c]
mov r15, r9
mov r14, r8
call fcn.1400ed188
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 0x140085c18
mov ecx, esi
call fcn.14007ab24
lea rdx, [0x140431098]
lea rcx, [0x14041b690]
call fcn.1400ed82c
jmp 0x140085cfe
lea rax, [0x1400062b8]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x1404345cc]
lea rax, [rbp - 0x45]
lea rcx, [0x14041637c]
mov qword [rbp - 0x29], rax
call fcn.1400edb90
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 0x140085cfb
mov esi, ecx
test ecx, ecx
jns 0x140085c9c
call fcn.14007ab24
jmp 0x140085cfe
mov ebx, dword [rbp - 0x41]
mov r12d, 0xfff
mov r14d, ebx
and r14d, 0xf000
cmp r14d, 0xc000
jne 0x140085cc9
mov eax, ebx
and eax, r12d
sub eax, 0x401
cmp eax, 0x95
jbe 0x140085cf6
lea rdx, [0x140435128]
lea rcx, [0x14040eab8]
call fcn.1400ed4d4
cmp r14d, 0xc000
jne 0x140085cfb
and ebx, r12d
sub ebx, 0x497
cmp ebx, 0x169
ja 0x140085cfb
mov edi, 1
mov dword [r15], edi
mov ecx, esi
call fcn.14007ab44
lea rdx, [0x140432650]
lea rcx, [0x140414654]
call fcn.1400ebd6c
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14036e5e0
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 0x14008897c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x14042eb28]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov dword [rsp + 0x40], 0x370035
mov r14d, r8d
mov dword [rsp + 0x44], 0x390042
xor r8d, r8d
mov dword [rsp + 0x48], 0x320044
mov dword [rsp + 0x4c], 0x370035
mov esi, r9d
mov dword [rsp + 0x50], 0x34002d
mov dword [rsp + 0x54], 0x360035
mov dword [rsp + 0x58], 0x2d0030
mov dword [rbp - 0x7d], 0x460034
mov dword [rbp - 0x79], 0x420044
mov dword [rbp - 0x75], 0x39002d
mov dword [rbp - 0x71], 0x430030
mov dword [rbp - 0x6d], 0x2d0036
mov dword [rbp - 0x69], 0x410042
mov dword [rbp - 0x65], 0x330034
mov dword [rbp - 0x61], 0x360046
mov dword [rbp - 0x5d], 0x440043
mov dword [rbp - 0x59], 0x440046
mov dword [rbp - 0x55], 0x450045
mov word [rbp - 0x51], r8w
mov dword [rbp - 0x49], 0x340038
mov dword [rbp - 0x45], 0x300039
mov dword [rbp - 0x41], 0x350045
mov dword [rbp - 0x3d], 0x350041
mov dword [rbp - 0x39], 0x34002d
mov dword [rbp - 0x35], 0x360044
mov dword [rbp - 0x31], 0x2d0030
mov dword [rbp - 0x2d], 0x390034
mov dword [rbp - 0x29], 0x410043
mov dword [rbp - 0x25], 0x42002d
mov dword [rbp - 0x21], 0x310042
mov dword [rbp - 0x1d], 0x2d0030
mov dword [rbp - 0x19], 0x440046
mov dword [rbp - 0x15], 0x450033
mov dword [rbp - 0x11], 0x450041
mov dword [rbp - 0xd], 0x380044
mov dword [rbp - 9], 0x390044
mov dword [rbp - 5], 0x320030
mov word [rbp - 1], r13w
test rcx, rcx
jne 0x140088acd
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x140088b54
mov rdi, qword [0x1404379c0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403b8660]
mov r15d, 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], r15d
lea rdx, [rsp + 0x30]
mov r9d, r14d
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rbx
mov ebx, eax
test eax, eax
js 0x140088b52
mov rdi, qword [0x1404379c0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403b8660]
mov r9d, esi
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x49]
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
jns 0x140088b59
mov ecx, eax
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14036e5e0
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140090184
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r12d, r12d
mov r14, r9
mov qword [rbp - 0x18], r12
mov ebx, r12d
mov qword [rbp - 0x10], rbx
mov r15, r8
mov qword [rbp - 0x20], r12
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400901cf
mov qword [rbp - 0x18], r12
xor ecx, ecx
call fcn.14007ab44
lea rax, [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140090257
mov edi, r12d
mov rbx, qword [rbp + 0x30]
mov qword [rbp - 0x10], rbx
mov rsi, rbx
mov qword [rbp + 0x30], r12
mov ecx, edi
call fcn.14007ab44
lea rcx, [rbp + 0x30]
call fcn.14006aedc
test edi, edi
js 0x140090287
mov qword [rbp - 0x20], r12
xor ecx, ecx
call fcn.14007ab44
mov eax, dword [rbp + 0x50]
test rbx, rbx
mov dword [rsp + 0x28], eax
mov r9d, 3
cmove rsi, r12
mov qword [rsp + 0x20], r14
mov rcx, rsi
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140090275
mov edi, r12d
jmp 0x14009028e
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x1400901f8
mov ecx, edi
call fcn.14007ab24
mov rsi, r12
jmp 0x140090207
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14009028e
mov ecx, edi
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
lea rcx, [rbp - 0x20]
call fcn.140070b48
lea rcx, [rbp - 0x18]
call fcn.14006aedc
lea rcx, [rbp - 0x10]
call fcn.14006aedc
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140090c3c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
xor edi, edi
lea rax, [r11 - 0x28]
mov r14, r9
mov qword [r11 - 0x20], rdi
mov rbp, r8
mov qword [r11 - 0x28], rdi
xor r8d, r8d
mov qword [r11 - 0x38], rax
lea r9d, [rdi + 1]
mov rcx, 0xffffffff80000002
lea rdx, [0x1403c2d40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140090cbd
mov ebx, edi
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rsp + 0x30]
call fcn.14006aedc
test ebx, ebx
jns 0x140090cdb
mov ecx, ebx
call fcn.14007ab24
jmp 0x140090d2a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140090c90
mov ecx, ebx
call fcn.14007ab24
mov rsi, rdi
jmp 0x140090c9f
lea rax, [rsp + 0x68]
test rsi, rsi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
mov rcx, rdi
mov qword [rsp + 0x20], rdi
cmovne rcx, rsi
mov rdx, rbp
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140090d22
cmp eax, 2
je 0x140090d27
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140090d27
jmp 0x140090cb4
mov edi, 1
mov dword [r14], edi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rsp + 0x38]
call fcn.14006aedc
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140090d58
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
and qword [r11 + 8], 0
lea rax, [r11 + 0x10]
and qword [r11 + 0x10], 0
lea rdx, [0x1403c2d40]
mov rsi, r8
mov qword [r11 - 0x18], rax
xor r8d, r8d
mov r9d, 2
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140090de7
xor ebx, ebx
mov rdi, qword [rsp + 0x48]
and qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rdi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rsp + 0x48]
call fcn.14006aedc
test ebx, ebx
js 0x140090e16
xor ecx, ecx
mov rdx, rsi
test rdi, rdi
cmovne rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x140090e04
xor ebx, ebx
jmp 0x140090e1d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140090da8
mov ecx, ebx
call fcn.14007ab24
xor edi, edi
jmp 0x140090db8
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140090e1d
mov ecx, ebx
call fcn.14007ab24
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rsp + 0x40]
call fcn.14006aedc
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400916b8
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 [0x14042eb28]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r12d, r12d
mov r13, rcx
xor edx, edx
mov qword [rbp - 0x41], r12
lea rcx, [rbp - 9]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r8d, [r12 + 0x30]
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x49]
lea r9, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r8, str.PolicyValuesArray
lea rdx, [0x1403c2d40]
call fcn.140091acc
mov edi, eax
mov r15d, 0x8007000d
cmp eax, 0x80070002
jne 0x140091742
mov edi, r12d
jmp 0x140091824
test eax, eax
jns 0x140091752
mov ecx, eax
call fcn.14007ab24
jmp 0x140091824
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 0x14009177e
mov edi, r15d
mov ecx, r15d
jmp 0x140091748
mov rsi, qword [rbp - 0x41]
mov r14d, r12d
test ebx, ebx
je 0x140091818
mov r15d, dword [rbp - 0x49]
movups xmm0, xmmword [rsi]
lea r8, [rbp - 0x49]
mov edi, r12d
movups xmm1, xmmword [rsi + 0x20]
lea rdx, [rbp - 9]
movdqu xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x39]
movups xmm0, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x17], xmm1
movups xmmword [rbp + 7], xmm0
call fcn.14008ca2c
mov r12b, al
test al, al
jne 0x1400917e3
mov edx, dword [rbp - 0x49]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008ebc4
mov edi, eax
test eax, eax
jns 0x1400917e3
mov ecx, eax
call fcn.14007ab24
jmp 0x1400917ed
xor r15d, r15d
test r12b, r12b
sete r15b
mov ecx, edi
call fcn.14007ab44
xor r12d, r12d
test edi, edi
js 0x1400918a8
test r15d, r15d
je 0x1400918a3
inc r14d
add rsi, 0x30
cmp r14d, ebx
jb 0x140091791
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.140091500
cmp edi, 0x8007000d
mov ebx, r12d
cmovne ebx, edi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rbp - 0x39]
call fcn.14009121c
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x140001b38]
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.14036e5e0
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 0x140091748
Function at 0x1400918b8
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 [0x14042eb28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r12d, r12d
mov r13, rcx
xor edx, edx
mov qword [rbp - 0x41], r12
lea rcx, [rbp - 9]
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r8d, [r12 + 0x38]
call sub.msvcrt.dll_memset
lea rax, [rbp - 0x49]
lea r9, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r8, str.LicStatusArray
lea rdx, [0x1403c2d40]
call fcn.140091acc
mov edi, eax
cmp eax, 0x80070002
jne 0x14009193c
mov edi, r12d
jmp 0x140091a45
test eax, eax
jns 0x14009194c
mov ecx, eax
call fcn.14007ab24
jmp 0x140091a45
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 0x14009197d
mov edi, 0x8007000d
mov ecx, edi
jmp 0x140091942
mov rbx, qword [rbp - 0x41]
mov r14d, r12d
test esi, esi
je 0x140091a39
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 0x140091974
cmp ecx, 4
jge 0x140091974
lea r8, [rbp - 0x49]
mov edi, r12d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008cb2c
mov r12b, al
test al, al
jne 0x140091a04
mov edx, dword [rbp - 0x49]
lea r8, [rbp - 9]
lea rcx, [rbp - 0x39]
call fcn.14008eccc
mov edi, eax
test eax, eax
jns 0x140091a04
mov ecx, eax
call fcn.14007ab24
jmp 0x140091a0e
xor r15d, r15d
test r12b, r12b
sete r15b
mov ecx, edi
call fcn.14007ab44
xor r12d, r12d
test edi, edi
js 0x140091979
test r15d, r15d
je 0x140091974
inc r14d
add rbx, 0x38
cmp r14d, esi
jb 0x140091994
lea rdx, [rbp - 0x39]
mov rcx, r13
call fcn.1400915dc
cmp edi, 0x8007000d
mov ebx, r12d
cmovne ebx, edi
mov ecx, ebx
call fcn.14007ab44
lea rcx, [rbp - 0x39]
call fcn.1400912ac
xor r9d, r9d
mov qword [rbp - 0x29], 3
lea rax, [0x140001b38]
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.14036e5e0
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
Function at 0x140091acc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
lea rax, [rbp - 0x18]
and qword [rbp - 8], rdi
mov r14, r9
mov r15, r8
mov qword [rbp - 0x10], rdi
xor ebx, ebx
mov qword [r11 - 0x48], rax
and qword [rbp - 0x18], rbx
lea r9d, [rdi + 1]
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140091b4f
xor esi, esi
mov rdi, qword [rbp - 0x18]
and qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov ecx, esi
call fcn.14007ab44
lea rcx, [rbp - 0x18]
call fcn.14006aedc
test esi, esi
jns 0x140091b6a
mov ecx, esi
call fcn.14007ab24
jmp 0x140091c0e
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
je 0x140091b23
mov ecx, esi
call fcn.14007ab24
jmp 0x140091b2f
and dword [rbp + 0x20], ebx
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
mov rdx, r15
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140091ba4
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x140091b43
test rbx, rbx
jne 0x140091be2
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x140091bd8
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x140091b6d
mov esi, 0x8007000e
jmp 0x140091b43
mov esi, 0x8000ffff
jmp 0x140091b43
cmp dword [rbp - 0x20], 3
je 0x140091bf2
mov esi, 0x8007000d
jmp 0x140091b43
mov qword [r14], rbx
xor ecx, ecx
call fcn.14007ab44
mov rcx, qword [rbp + 0x40]
xor esi, esi
xor ebx, ebx
test rcx, rcx
je 0x140091c0e
mov eax, dword [rbp + 0x20]
mov dword [rcx], eax
mov ecx, esi
call fcn.14007ab44
test rbx, rbx
je 0x140091c2e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp - 8]
call fcn.14006aedc
lea rcx, [rbp - 0x10]
call fcn.14006aedc
lea r11, [rsp + 0x50]
mov eax, esi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret