joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400556c8
Capabilities:
Get token membership

Disassembly:
push rbp
push rbx
push rsi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x28
lea rax, str.S_1_5_80_123231216_2592883651_3715271367_3753151631_4175906628
xor ecx, ecx
mov qword [rbp + 0x50], rax
call qword [sym.imp.RPCRT4.dll_RpcImpersonateClient]
cmp eax, 0x6bd
jne 0x1400556fa
xor ebx, ebx
jmp 0x1400558bf
test eax, eax
je 0x14005572c
mov ecx, eax
call qword [sym.imp.RPCRT4.dll_I_RpcMapWin32Status]
movzx ebx, ax
mov r12d, 0x80004005
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r12d
mov ecx, ebx
call fcn.140079c40
jmp 0x1400558bf
and dword [rbp + 0x38], 0
lea rdx, [rbp + 0x38]
call fcn.140069480
lea rdx, [0x140439858]
mov ebx, eax
lea rcx, [0x14041c6c8]
call fcn.1400edf70
test ebx, ebx
jns 0x140055771
mov ecx, ebx
call fcn.140079c40
lea rdx, [0x1404387d8]
lea rcx, [0x140423618]
call fcn.1400ed8ec
jmp 0x1400558b7
cmp dword [rbp + 0x38], 0
je 0x14005577e
xor ebx, ebx
jmp 0x1400558b7
cmp dword [0x14043f5e4], 0
je 0x1400558ab
xor r14d, r14d
lea r15, [rbp + 0x50]
mov r12d, 0x80004005
mov rcx, qword [r15]
lea rdx, [rbp + 0x48]
xor esi, esi
xor ebx, ebx
and qword [rbp + 0x48], rsi
and dword [rbp + 0x40], ebx
mov dword [rbp + 0x38], esi
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
jne 0x1400557dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400557c6
mov ebx, r12d
jmp 0x1400557d4
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.140079c40
jmp 0x1400557f7
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1400557b7
mov esi, dword [rbp + 0x40]
mov dword [rbp + 0x38], esi
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp + 0x48]
call fcn.140069fec
test ebx, ebx
js 0x1400558ea
test esi, esi
jne 0x140055777
inc r14d
add r15, 8
cmp r14d, 1
jb 0x140055798
lea r8, [rbp + 0x38]
lea edx, [rsi + 0x12]
call fcn.14006f4bc
lea rdx, [0x14043a2a8]
mov ebx, eax
lea rcx, [0x14041d018]
call fcn.1400edc30
test ebx, ebx
js 0x1400558b0
cmp dword [rbp + 0x38], esi
jne 0x140055777
lea r8, [rbp + 0x38]
lea edx, [rsi + 0x13]
call fcn.14006f4bc
mov ebx, eax
test eax, eax
jns 0x14005586c
mov ecx, eax
jmp 0x1400558b2
cmp dword [rbp + 0x38], 0
jne 0x140055777
lea r8, [rbp + 0x38]
mov edx, SafeArrayUnaccessData
call fcn.14006f4bc
mov ebx, eax
test eax, eax
js 0x140055868
cmp dword [rbp + 0x38], 0
jne 0x140055777
lea rcx, [rbp + 0x38]
call fcn.1400554cc
test eax, eax
js 0x1400558ab
cmp dword [rbp + 0x38], 0
jne 0x140055777
mov ebx, 0xc004f025
mov ecx, ebx
call fcn.140079c40
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcRevertToSelfEx]
mov ecx, ebx
call fcn.140079c60
lea rdx, [0x1404380e4]
lea rcx, [0x140426350]
call fcn.1400ed5b8
mov eax, ebx
add rsp, 0x28
pop r15
pop r14
pop r12
pop rsi
pop rbx
pop rbp
ret
mov ecx, ebx
call fcn.140079c40
lea rdx, [0x14043975c]
lea rcx, [0x14042b808]
call fcn.1400ee2b8
jmp 0x1400558b7
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, [0x14041cc14]
call fcn.1400ed270
lea rax, [0x140004fd8]
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, [0x140417688]
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, [0x14042228c]
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, [0x14042b948]
call fcn.1400eefd4
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp + 7]
call fcn.14005a810
lea rdx, [0x14043e328]
lea rcx, [0x140420d50]
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, [0x14041f18c]
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, [0x14041f230]
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, [0x140002598]
mov qword [rbp + 0x1f], rdi
mov qword [rbp - 0x21], rax
lea rdx, [0x14043a08c]
lea rax, [rbp + 0x7f]
mov qword [rbp + 0x27], rbx
lea rcx, [0x1404147dc]
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, [0x14041fc78]
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, [0x140425fd8]
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, [0x1400083d8]
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, [0x1400069d8]
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, [0x14042343c]
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, [0x140423cd0]
call fcn.1400edc30
jmp 0x140084fa6
lea rax, [0x140006358]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x14043c24c]
lea rax, [rbp - 0x45]
lea rcx, [0x14041ecfc]
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, [0x140417928]
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, [0x14041d0d4]
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, [0x140001898]
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, [0x140001898]
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 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, [0x14041f408]
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, [0x140423b30]
call fcn.1400ee940
test ebx, ebx
jne 0x140090ae3
mov esi, 0x80004005
jmp 0x140090b04
lea rdx, [0x14043ce50]
lea rcx, [0x1404179e4]
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, [0x140420d78]
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, [0x14041682c]
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, [0x14041d298]
call fcn.1400edf70
call fcn.1400909c4
lea rdx, [0x140438408]
mov esi, eax
lea rcx, [0x14041b498]
call fcn.1400ed5b8
mov rbx, qword [0x1404368b0]
lea rdx, [0x14043a408]
lea rcx, [0x140425074]
call fcn.1400edc30
lea rdx, [0x140439588]
mov dword [0x140436890], edi
lea rcx, [0x140424220]
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, [0x1404220c8]
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 0x1400ab8b4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
and dword [rbp - 0x40], 0
lea rax, [0x14000f8d8]
and dword [rbp - 0x3c], 0
lea rdx, [rbp - 0x30]
and qword [rbp - 0x38], 0
mov rsi, r9
and qword [rbp - 0x18], 0
xor r9d, r9d
mov qword [rbp - 0x28], rax
mov ecx, 0xb9
lea rax, [rbp + 0x28]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x40]
lea r8d, [r9 + 0x30]
mov qword [rbp - 0x10], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x28]
test ebx, ebx
jns 0x1400ab924
mov ecx, ebx
jmp 0x1400ab9a1
xor edi, edi
cmp dword [rbp - 0x3c], edi
jle 0x1400ab98d
movsxd rbx, edi
shl rbx, 7
add rbx, qword [rbp - 0x38]
mov rcx, rbx
lea rdx, [rbx + 0x68]
call fcn.1400b6db0
lea rax, [0x14000fc18]
mov qword [rbp - 0x30], 3
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], rax
xor r9d, r9d
lea rax, [rbx + 0x60]
mov ecx, 0xb9
mov qword [rbp - 0x10], rax
lea rax, [rbx + 0x58]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x30]
call sub.ntdll.dll_NtQuerySystemInformation
inc edi
cmp edi, dword [rbp - 0x3c]
jl 0x1400ab92b
lea r8, [rbp - 0x40]
mov rdx, rsi
call fcn.1400b48f8
mov ebx, eax
test eax, eax
jns 0x1400ab9a6
mov ecx, eax
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400c59d0
mov rdi, qword [rbp - 0x38]
test rdi, rdi
je 0x1400ab9d5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c0628
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
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x50], 0
mov rdi, r8
and qword [rbp - 0x58], 0
lea r8, [rbp - 0x50]
mov r12d, edx
mov r15, r9
lea rdx, [rbp - 0x60]
call fcn.1400c5580
mov ebx, eax
test eax, eax
jns 0x1400c0677
mov ecx, eax
jmp 0x1400c070a
mov ebx, 0x20
mov edx, ebx
lea ecx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x1400c0703
mov r14, qword [rbp - 0x50]
lea r8d, [rbx + 0x1c]
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x48]
lea rax, [0x140013358]
mov qword [rbp - 0x2c], rdi
mov edi, dword [rbp - 0x60]
lea ecx, [r8 + 0x7d]
mov qword [rbp - 0x40], rax
xor r9d, r9d
lea rax, [rbp - 0x5c]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x48], 3
mov dword [rbp - 0x30], r12d
mov dword [rbp - 0x24], edi
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x14], rsi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x5c]
test ebx, ebx
js 0x1400c0708
xor eax, eax
mov dword [r15], 0x20
and qword [rbp - 0x58], rax
mov ecx, edi
mov rdi, r14
rep stosb byte [rdi], al
mov rax, qword [rbp + 0x40]
mov qword [rax], rsi
jmp 0x1400c070f
mov ebx, 0x8007000e
mov ecx, ebx
call fcn.140079c40
mov ecx, ebx
call fcn.140079c60
lea rcx, [rbp - 0x58]
call fcn.14005a9b4
lea rcx, [rbp - 0x50]
call fcn.14005a9b4
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret