joyce8/EMBER2024-capa huggingface dataset:
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, [0x140006698]
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, [0x140006018]
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 0x140087cc4
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 [0x140436b28]
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 0x140087e15
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x140087ea8
mov rdi, qword [0x14043f540]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov r15d, 1
lea r8, [rsp + 0x40]
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rax
mov ebx, eax
test eax, eax
js 0x140087ea6
mov rdi, qword [0x14043f540]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403c1610]
mov rcx, rbx
call rax
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, esi
mov dword [rsp + 0x20], r12d
lea r8, [rbp - 0x49]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call rax
mov ebx, eax
test eax, eax
jns 0x140087ead
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14037a9a0
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14008eea0
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 - 0x10], r12
mov ebx, r12d
mov qword [rbp - 0x20], rbx
mov r15, r8
mov qword [rbp - 0x18], r12
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x14008eee7
xor ecx, ecx
call fcn.140079c60
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 0x14008ef6b
mov edi, r12d
mov rbx, qword [rbp + 0x30]
mov qword [rbp - 0x20], rbx
mov rsi, rbx
mov qword [rbp + 0x30], r12
mov ecx, edi
call fcn.140079c60
lea rcx, [rbp + 0x30]
call fcn.140069f74
test edi, edi
js 0x14008ef9b
xor ecx, ecx
call fcn.140079c60
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 0x14008ef89
mov edi, r12d
jmp 0x14008efa2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008ef10
mov ecx, edi
call fcn.140079c40
mov rsi, r12
jmp 0x14008ef1f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008efa2
mov ecx, edi
call fcn.140079c40
mov ecx, edi
call fcn.140079c60
lea rcx, [rbp - 0x18]
call fcn.14006fca4
lea rcx, [rbp - 0x10]
call fcn.140069f74
lea rcx, [rbp - 0x20]
call fcn.140069f74
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 0x14008fa44
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, [0x1403cbd60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008fac5
mov ebx, edi
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rsp + 0x30]
call fcn.140069f74
test ebx, ebx
jns 0x14008fae3
mov ecx, ebx
call fcn.140079c40
jmp 0x14008fb2b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14008fa98
mov ecx, ebx
call fcn.140079c40
mov rsi, rdi
jmp 0x14008faa7
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008fb23
cmp eax, 2
je 0x14008fb28
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14008fb28
jmp 0x14008fabc
mov edi, 1
mov dword [r14], edi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rsp + 0x38]
call fcn.140069f74
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 0x14008fb58
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, [0x1403cbd60]
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 0x14008fbe1
xor ebx, ebx
mov rdi, qword [rsp + 0x48]
and qword [rsp + 0x48], 0
mov qword [rsp + 0x40], rdi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rsp + 0x48]
call fcn.140069f74
test ebx, ebx
js 0x14008fc10
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x14008fbfe
xor ebx, ebx
jmp 0x14008fc17
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14008fba8
mov ecx, ebx
call fcn.140079c40
xor edi, edi
jmp 0x14008fbb8
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14008fc17
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
lea rcx, [rsp + 0x40]
call fcn.140069f74
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
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, [0x140001bd8]
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, [0x140001bd8]
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
Function at 0x14009063c
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 0x1400906bf
xor esi, esi
mov rdi, qword [rbp - 0x18]
and qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov ecx, esi
call fcn.140079c60
lea rcx, [rbp - 0x18]
call fcn.140069f74
test esi, esi
jns 0x1400906da
mov ecx, esi
call fcn.140079c40
jmp 0x14009077e
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
je 0x140090693
mov ecx, esi
call fcn.140079c40
jmp 0x14009069f
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 0x140090714
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1400906b3
test rbx, rbx
jne 0x140090752
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x140090748
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 0x1400906dd
mov esi, 0x8007000e
jmp 0x1400906b3
mov esi, 0x8000ffff
jmp 0x1400906b3
cmp dword [rbp - 0x20], 3
je 0x140090762
mov esi, 0x8007000d
jmp 0x1400906b3
mov qword [r14], rbx
xor ecx, ecx
call fcn.140079c60
mov rcx, qword [rbp + 0x40]
xor esi, esi
xor ebx, ebx
test rcx, rcx
je 0x14009077e
mov eax, dword [rbp + 0x20]
mov dword [rcx], eax
mov ecx, esi
call fcn.140079c60
test rbx, rbx
je 0x14009079e
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.140069f74
lea rcx, [rbp - 0x10]
call fcn.140069f74
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
Function at 0x1400909c4
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x270
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov qword [rsp + 0x20], rax
lea rcx, str.systemroot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140090a2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140090a1a
mov esi, 0x80004005
jmp 0x140090b29
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x140090b29
lea rdx, [rsp + 0x50]
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x140090a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140090a10
movzx esi, ax
lea rdx, [0x14043c8d0]
or esi, 0x80070000
lea rcx, [0x14041f438]
test eax, eax
cmovle esi, eax
call fcn.1400eefd4
jmp 0x140090b29
lea rcx, [rsp + 0x20]
call fcn.140090d88
mov esi, eax
test eax, eax
jns 0x140090a8a
mov ecx, eax
jmp 0x140090b2b
lea rax, str.SPPSvc
xor esi, esi
and qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x28]
and qword [rsp + 0x40], rsi
mov qword [rsp + 0x28], rax
lea rax, [0x140090f60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140090b0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x140438d38]
mov ebx, eax
lea rcx, [0x140423b60]
call fcn.1400ee940
test ebx, ebx
jne 0x140090ae3
mov esi, 0x80004005
jmp 0x140090b04
lea rdx, [0x14043ce50]
lea rcx, [0x140417a14]
call fcn.1400eec90
movzx esi, bx
or esi, 0x80070000
test ebx, ebx
cmovle esi, ebx
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
test esi, esi
jns 0x140090b30
lea rdx, [0x14043e360]
lea rcx, [0x140420da8]
call fcn.1400ed270
mov ecx, esi
call fcn.140079c40
mov ecx, esi
call fcn.140079c60
cmp dword [rsp + 0x20], 0
je 0x140090b78
cmp qword [0x1404402e8], 0
je 0x140090b78
mov rbx, qword [0x140440580]
test rbx, rbx
je 0x140090b78
mov rax, qword [0x1403c1610]
mov rcx, qword [0x1404402f0]
call rax
mov rax, qword [0x1404402f0]
mov rcx, rbx
call rax
and qword [0x140440580], 0
cmp dword [rsp + 0x24], 0
je 0x140090b98
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
lea rdx, [0x14043bd7c]
lea rcx, [0x14041685c]
call fcn.1400ee5fc
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14037a9a0
mov rbx, qword [rsp + 0x280]
add rsp, 0x270
pop rsi
ret
Function at 0x140090bc4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140436b28]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x140436898]
lea r9, [0x1404368b0]
xorps xmm1, xmm1
lea r8, [0x140436890]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [0x1404368b8], xmm1
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
xor edi, edi
test eax, eax
jne 0x140090c52
mov r8, qword [0x140436898]
lea edx, [rdi + 2]
mov rcx, qword [0x1404368b0]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
lea rdx, [0x14043a56c]
lea rcx, [0x14041d2c8]
call fcn.1400edf70
call fcn.1400909c4
lea rdx, [0x140438408]
mov esi, eax
lea rcx, [0x14041b4c8]
call fcn.1400ed5b8
mov rbx, qword [0x1404368b0]
lea rdx, [0x14043a408]
lea rcx, [0x1404250a4]
call fcn.1400edc30
lea rdx, [0x140439588]
mov dword [0x140436890], edi
lea rcx, [0x140424250]
mov qword [0x1404368b0], rdi
call fcn.1400ed8ec
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
test esi, esi
jns 0x140090cbc
mov ecx, esi
call fcn.140079c40
jmp 0x140090cda
mov eax, dword [0x14043f368]
mov ebx, edi
test eax, eax
sete bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.140079c60
test esi, esi
lea rdx, [0x14043eb74]
lea rcx, [0x1404220f8]
sets dil
call fcn.1400ee2b8
mov eax, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14037a9a0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1400a2924
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
xor edi, edi
lea rax, [r11 - 0x30]
mov r14, r9
mov qword [r11 - 0x28], rdi
mov rbp, r8
mov qword [r11 - 0x30], rdi
xor r8d, r8d
mov qword [r11 - 0x48], rax
lea r9d, [rdi + 1]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a299a
mov ebx, edi
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rsp + 0x38]
call fcn.140069f74
test ebx, ebx
jns 0x1400a29b8
mov ecx, ebx
call fcn.140079c40
jmp 0x1400a2a00
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400a296d
mov ecx, ebx
call fcn.140079c40
mov rsi, rdi
jmp 0x1400a297c
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400a29f8
cmp eax, 2
je 0x1400a29fd
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400a29fd
jmp 0x1400a2991
mov edi, 1
mov dword [r14], edi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rsp + 0x40]
call fcn.140069f74
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret