joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14023c6a8
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp - 0x10], rax
test byte [0x14038bd80], 1
mov r15d, r9d
mov edi, r8d
mov ebx, edx
mov rsi, rcx
je 0x14023c6fe
lea rax, [rbp - 0x20]
mov r9d, 1
lea rdx, [0x140335328]
mov qword [rsp + 0x20], rax
lea rcx, [0x140386800]
call fcn.140041cf0
or dword [rbp - 0x28], 0xffffffff
cmp dword [rsi + 0x248], 1
jne 0x14023c713
mov rcx, rsi
call fcn.14023a210
xor r12d, r12d
mov qword [rbp - 0x30], r12
test r15d, r15d
je 0x14023c7a8
mov rdi, qword [rsi + 0x118]
mov ebx, dword [rsi + 0x120]
mov eax, ebx
test rdi, rdi
jne 0x14023c768
mov rax, qword [rsi + 0xd8]
test rax, rax
je 0x14023c747
mov ecx, dword [rax]
jmp 0x14023c74a
mov ecx, r12d
test ecx, ecx
jle 0x14023c8bd
mov rax, qword [rax + 8]
mov ebx, r12d
mov rdi, qword [rax]
mov eax, r12d
test rdi, rdi
je 0x14023c8bd
cmp eax, 0xfffffffe
jl 0x14023c7db
mov rax, qword [rdi]
lea r8, [rbp - 0x20]
mov edx, ebx
mov rcx, rdi
mov rax, qword [rax + 0x78]
call qword [case.0x14006b68f.0]
mov eax, dword [rbp - 0x18]
mov ecx, 2
sub eax, dword [rbp - 0x20]
cdq
idiv ecx
add eax, dword [rbp - 0x20]
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 0x14]
sub eax, dword [rbp - 0x1c]
cdq
idiv ecx
add eax, dword [rbp - 0x1c]
mov dword [rbp - 0x2c], eax
jmp 0x14023c7db
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], ebx
mov dword [rbp - 0x2c], edi
call qword [0x1403ad5b8]
nop dword [rax + rax]
xor r9d, r9d
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1400079fc
mov ebx, dword [rbp - 0x28]
mov rdi, rax
test rdi, rdi
je 0x14023c8bd
cmp ebx, 0xffffffff
je 0x14023c8bd
mov rcx, qword [rdi]
mov r14, r12
mov rax, qword [rcx + 0x20]
mov rcx, rdi
call qword [case.0x14006b68f.0]
cmp eax, 1
jne 0x14023c821
test ebx, ebx
js 0x14023c821
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
mov rax, qword [rax + 0x178]
call qword [case.0x14006b68f.0]
mov r14, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
test ax, ax
jns 0x14023c87b
mov rcx, qword [rsi + 8]
lea rdx, [rbp - 0x30]
call qword [0x1403ad768]
nop dword [rax + rax]
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x30]
mov rcx, rdi
call qword [case.0x14006b68f.0]
mov r8, qword [rsi + 8]
lea rcx, [rsi + 0x30]
mov rdx, qword [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140237ef0
jmp 0x14023c8bd
cmp rdi, qword [rsi + 0x4f8]
jne 0x14023c895
cmp rdi, qword [rsi + 0x128]
jne 0x14023c8bd
cmp dword [rsi + 0x130], ebx
je 0x14023c8bd
mov rax, qword [rdi]
test r15d, r15d
mov rcx, rdi
setne bl
mov rax, qword [rax + 0x30]
call qword [case.0x14006b68f.0]
lea rcx, [rsi + 0x28]
mov r9b, bl
mov rdx, rax
mov r8, r14
call fcn.140239030
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14024d3f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rdi
sub rsp, 0x50
movaps xmm0, xmmword [rcx]
mov rdi, rdx
and qword [rax + 0x10], 0
lea rcx, [rax + 0x10]
mov dword [rdx], Shell_MergeMenus
xor edx, edx
movdqa xmmword [rax - 0x18], xmm0
mov dword [rax + 8], 4
call fcn.14006e14c
lea r9, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.14024dc9c
mov ebx, eax
test eax, eax
js 0x14024d487
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r8, str.EnrollmentType
mov qword [rsp + 0x28], rdi
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
and qword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14024d485
jle 0x14024d487
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14024d487
xor ebx, ebx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14024d49d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14024dde0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov dword [rsp + 0x30], Shell_MergeMenus
xor r14d, r14d
mov ebx, r14d
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x79], r14
lea rcx, [rdx + 0x1c]
mov word [rbp - 0x19], r14w
mov word [rbp - 0x69], r14w
lea r8d, [r14 + 0x27]
lea rdx, [rbp - 0x69]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
cmp eax, 0x27
je 0x14024de53
mov edi, 0x8000ffff
jmp 0x14024df03
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x69]
call fcn.14024cfcc
mov edi, eax
test eax, eax
js 0x14024df03
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x79]
mov r8d, 0x20006
lea rdx, [rbp - 0x19]
mov rcx, 0xffffffff80000002
call fcn.14024db0c
mov edi, eax
test eax, eax
js 0x14024df03
mov rdx, qword [rbp - 0x79]
lea rcx, [rsp + 0x38]
call fcn.14006e14c
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov rax, qword [rax + 0x38]
call qword [case.0x14006b68f.0]
mov edi, eax
mov rbx, qword [rsp + 0x38]
test eax, eax
js 0x14024df03
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.EnrollmentState
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14024df03
jg 0x14024defa
mov edi, eax
jmp 0x14024df03
movzx edi, ax
or edi, 0x80070000
test rbx, rbx
je 0x14024df17
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14024df50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r11, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
jne 0x14024df71
xor eax, eax
jmp 0x14024dfe1
lea r8, [rsp + 0x50]
mov edx, 0xfffffffe
mov rcx, r11
call fcn.14024dd68
mov ebx, eax
test eax, eax
js 0x14024dfdf
mov rax, qword [rsp + 0x50]
lea rcx, [rax + 2]
cmp rcx, rax
jb 0x14024dfda
mov eax, 0xffffffff
cmp rcx, rax
ja 0x14024dfda
mov dword [rsp + 0x28], ecx
xor ebx, ebx
xor r8d, r8d
mov qword [rsp + 0x20], r11
mov rdx, rdi
mov rcx, rsi
lea r9d, [rbx + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14024dfdf
jg 0x14024dfcf
mov ebx, eax
jmp 0x14024dfdf
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14024dfdf
mov ebx, 0x80070216
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14024dff8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rsp + 0x68], 0
lea rax, [r11 + 0x20]
mov qword [r11 - 0x18], rax
mov rsi, r8
and qword [r11 - 0x20], 0
mov rdi, rdx
and qword [r11 - 0x28], 0
mov r8, rdx
mov r9d, 2
xor edx, edx
mov rbp, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14024e05a
jle 0x14024e103
movzx eax, ax
or eax, 0x80070000
jmp 0x14024e103
mov ebx, dword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14024e090
mov edi, 0x8007000e
jmp 0x14024e0dc
lea rax, [rsp + 0x68]
mov r9d, 2
mov qword [rsp + 0x30], rax
mov r8, rdi
mov qword [rsp + 0x28], rbx
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14024e0d2
jle 0x14024e0dc
movzx edi, ax
or edi, 0x80070000
jmp 0x14024e0dc
mov rax, rbx
xor ebx, ebx
xor edi, edi
mov qword [rsi], rax
test rbx, rbx
je 0x14024e101
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14024ed78
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push rdi
sub rsp, 0x30
lea rax, [r11 + 0x10]
mov rsi, r8
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
and qword [r11 - 0x18], 0
lea rdx, str.LastSoapErrorTraceId
xor r8d, r8d
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14024ee30
cmp dword [rsp + 0x58], 1
je 0x14024edcb
mov eax, 0x80070057
jmp 0x14024ee3a
mov ebx, dword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov qword [rsi], rax
test rax, rax
jne 0x14024ee01
mov eax, 0x8007000e
jmp 0x14024ee3a
lea rcx, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x58]
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea rdx, str.LastSoapErrorTraceId
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jle 0x14024ee3a
movzx eax, ax
or eax, 0x80070000
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14024f51c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rsi, [rcx + 0x2ec]
mov dword [rsp + 0x40], 0x208
mov r10, r8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, str.DMPCertThumbPrint
mov rax, rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, r10
lea edi, [rbx + 2]
mov r9d, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14024f595
lea r8, [0x14030c980]
jmp 0x14024f59f
lea r8, [rsp + 0x50]
mov edi, 0x208
mov r9, rdi
mov edx, 0x208
mov rcx, rsi
call fcn.14024fea4
test eax, eax
mov ecx, 0x8007007a
cmovne ebx, ecx
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x14024f5e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov r14, r8
mov qword [r11 - 0x28], rax
mov r15, rdx
mov qword [r11 - 0x30], rdi
mov rbp, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, str.DiscoveryServiceFullURL
mov rdx, r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14024f640
xor eax, eax
jmp 0x14024f70f
test eax, eax
je 0x14024f655
jg 0x14024f64d
mov edi, eax
jmp 0x14024f70d
movzx edi, ax
jmp 0x14024f707
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14024f68b
mov edi, 0x8007000e
jmp 0x14024f70d
lea rax, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.DiscoveryServiceFullURL
mov qword [rsp + 0x28], rsi
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r14, qword [rbp + 0x718]
mov ebx, eax
mov qword [rbp + 0x718], rdi
test r14, r14
je 0x14024f6f3
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x718], rsi
test ebx, ebx
je 0x14024f70d
jg 0x14024f704
mov edi, ebx
jmp 0x14024f70d
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14024f730
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rsi, [rcx + 0x4f4]
mov dword [rsp + 0x40], 0x208
mov r10, r8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, str.IntermediateCertThumbPrint
mov rax, rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, r10
lea edi, [rbx + 2]
mov r9d, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14024f7a9
lea r8, [0x14030c980]
jmp 0x14024f7b3
lea r8, [rsp + 0x50]
mov edi, 0x208
mov r9, rdi
mov edx, 0x208
mov rcx, rsi
call fcn.14024fea4
test eax, eax
mov ecx, 0x8007007a
cmovne ebx, ecx
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x14024f8e8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rsi, [rcx + 0xe4]
mov dword [rsp + 0x40], 0x208
mov r10, r8
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, str.RootCertThumbPrint
mov rax, rdx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov rcx, rax
mov qword [rsp + 0x20], rbx
mov rdx, r10
lea edi, [rbx + 2]
mov r9d, edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14024f961
lea r8, [0x14030c980]
jmp 0x14024f96b
lea r8, [rsp + 0x50]
mov edi, 0x208
mov r9, rdi
mov edx, 0x208
mov rcx, rsi
call fcn.14024fea4
test eax, eax
mov ecx, 0x8007007a
cmovne ebx, ecx
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret

Function at 0x14024f9ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov r14, r8
mov qword [r11 - 0x28], rax
mov r15, rdx
mov qword [r11 - 0x30], rdi
mov rbp, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, [0x140340d98]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14024fa0c
xor eax, eax
jmp 0x14024fadb
test eax, eax
je 0x14024fa21
jg 0x14024fa19
mov edi, eax
jmp 0x14024fad9
movzx edi, ax
jmp 0x14024fad3
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14024fa57
mov edi, 0x8007000e
jmp 0x14024fad9
lea rax, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, [0x140340d98]
mov qword [rsp + 0x28], rsi
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r14, qword [rbp + 0x708]
mov ebx, eax
mov qword [rbp + 0x708], rdi
test r14, r14
je 0x14024fabf
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x708], rsi
test ebx, ebx
je 0x14024fad9
jg 0x14024fad0
mov edi, ebx
jmp 0x14024fad9
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14024fafc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov rbp, r8
mov qword [r11 - 0x28], rax
mov r14, rdx
mov qword [r11 - 0x30], rdi
mov rsi, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, str.SSPHyperLink
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14024fb5e
mov qword [rsi + 0x728], rdi
xor eax, eax
jmp 0x14024fbe1
test eax, eax
jne 0x14024fbd0
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov qword [rsi + 0x728], rax
test rax, rax
jne 0x14024fb99
mov edi, 0x8007000e
jmp 0x14024fbdf
lea rcx, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rcx
lea r8, str.SSPHyperLink
mov qword [rsp + 0x28], rax
mov rcx, r14
mov rdx, rbp
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14024fbdf
jg 0x14024fbd6
mov edi, eax
jmp 0x14024fbdf
movzx edi, ax
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14024fbfc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov r14, r8
mov qword [r11 - 0x28], rax
mov r15, rdx
mov qword [r11 - 0x30], rdi
mov rbp, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, str.AADTenantID
mov rdx, r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14024fc5c
xor eax, eax
jmp 0x14024fd2b
test eax, eax
je 0x14024fc71
jg 0x14024fc69
mov edi, eax
jmp 0x14024fd29
movzx edi, ax
jmp 0x14024fd23
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14024fca7
mov edi, 0x8007000e
jmp 0x14024fd29
lea rax, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.AADTenantID
mov qword [rsp + 0x28], rsi
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r14, qword [rbp + 0x720]
mov ebx, eax
mov qword [rbp + 0x720], rdi
test r14, r14
je 0x14024fd0f
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rbp + 0x720], rsi
test ebx, ebx
je 0x14024fd29
jg 0x14024fd20
mov edi, ebx
jmp 0x14024fd29
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14024fd4c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor edi, edi
lea rax, [r11 + 0x20]
mov r14, r8
mov qword [r11 - 0x28], rax
mov r15, rdx
mov qword [r11 - 0x30], rdi
mov rsi, rcx
mov dword [rsp + 0x78], edi
lea r9d, [rdi + 2]
mov qword [r11 - 0x38], rdi
lea r8, [0x140340da0]
mov rdx, r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
cmp eax, 2
jne 0x14024fdb3
mov qword [rsi + 0x728], rdi
xor eax, eax
jmp 0x14024fe82
test eax, eax
je 0x14024fdc8
jg 0x14024fdc0
mov edi, eax
jmp 0x14024fe80
movzx edi, ax
jmp 0x14024fe7a
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x14024fdfe
mov edi, 0x8007000e
jmp 0x14024fe80
lea rax, [rsp + 0x78]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, [0x140340da0]
mov qword [rsp + 0x28], rbp
mov rdx, r14
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r14, qword [rsi + 0x710]
mov ebx, eax
mov qword [rsi + 0x710], rdi
test r14, r14
je 0x14024fe66
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov qword [rsi + 0x710], rbp
test ebx, ebx
je 0x14024fe80
jg 0x14024fe77
mov edi, ebx
jmp 0x14024fe80
movzx edi, bx
or edi, 0x80070000
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1402511e8
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x14038c614]
test eax, eax
jne 0x1402512ec
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x140251257
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x30]
xor eax, eax
mov edx, dword [rsp + 0x24]
mov dword [0x14038c614], eax
sub ecx, 1
je 0x1402512c8
cmp ecx, 1
jne 0x1402512ec
cmp edx, 5
jne 0x1402512b6
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1402512af
sub eax, ecx
je 0x140251295
cmp eax, ecx
je 0x14025128b
lea eax, [rdx + 0xf]
jmp 0x14025130a
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [rdx - 0xf]
jmp 0x14025129d
mov edx, 8
lea ecx, [rdx - 6]
xor eax, eax
cmp word [rsp + 0x134], cx
cmovae eax, edx
or eax, 4
jmp 0x14025130a
mov eax, 4
jmp 0x14025130a
cmp edx, 4
ja 0x140251305
mov ecx, 2
mov eax, ecx
mov dword [0x14038c614], ecx
cmp edx, 4
jne 0x1402512ec
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x1402512df
cmp ecx, 0xa
je 0x1402512df
cmp ecx, 0x5a
jne 0x1402512ec
mov ecx, 1
mov eax, ecx
mov dword [0x14038c614], ecx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400a15a0
add rsp, 0x158
ret
mov eax, 0x20
mov dword [0x14038c614], eax
jmp 0x1402512ec

Function at 0x140251618
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x14031bc80]
mov rbx, rcx
lea r8d, [r9 + 1]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
jne 0x140251647
add rsp, 0x20
pop rbx
ret
mov rdx, rax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]