joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ef40
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016880], rbx
je 0x14000efa7
cmp rax, rbx
jne 0x14000ef9a
mov ebx, 1
mov esi, ebx
jmp 0x14000efac
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000ef7f
mov ebx, 1
mov eax, dword [0x140016888]
cmp eax, ebx
jne 0x14000efc4
mov edi, Ordinal_34
mov ecx, edi
call fcn.14010b000
jmp 0x14000f030
mov eax, dword [0x140016888]
test eax, eax
jne 0x14000f025
mov dword [0x140016888], ebx
lea r15, [0x140012a00]
lea rdi, [0x1400129e8]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000f017
test eax, eax
jne 0x14000f01b
cmp qword [rdi], r14
je 0x14000f00c
mov rax, qword [rdi]
mov rcx, qword [0x140012988]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000efee
test eax, eax
je 0x14000f02b
mov eax, 0xff
jmp 0x14000f186
mov dword [0x140016054], ebx
mov edi, Ordinal_34
mov eax, dword [0x140016888]
cmp eax, ebx
jne 0x14000f057
lea rdx, [0x1400129e0]
lea rcx, [0x140012990]
call sub.msvcrt.dll__initterm
mov dword [0x140016888], 2
test esi, esi
jne 0x14000f065
mov rax, r14
xchg qword [0x140016880], rax
cmp qword [0x1400168a0], r14
je 0x14000f098
lea rcx, [0x1400168a0]
call fcn.14000f610
test eax, eax
je 0x14000f098
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400168a0]
mov r9, qword [0x140012988]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000f0b1
mov eax, 0xff
jmp 0x14000f186
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000f137
test ax, ax
je 0x14000f0cc
test edx, edx
jne 0x14000f137
sub ax, bx
cmp ax, di
ja 0x14000f0e2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000f0cc
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140009ca0
mov dword [0x140016050], eax
cmp dword [0x140016070], r14d
jne 0x14000f120
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140016054], r14d
jne 0x14000f135
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140016050]
jmp 0x14000f186
cmp ax, 0x22
jne 0x14000f14b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000f0ba
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000f6a4
add rsp, 0x28
jmp 0x14000ef40
Function at 0x14000f4fc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000f548
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f540
cmp dword [rcx + 0x3c], edx
jl 0x14000f540
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000f540
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000f548
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140009454
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [r8], r15
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
mov r9d, 0x104
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x1400094c5
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400094c5
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x1400094a3
test r9, r9
lea rax, [rdx - 2]
lea r8, [0x140081608]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov word [rax], r15w
call fcn.140007474
mov ebx, 0x1f0003
lea r8, [rsp + 0x30]
mov ecx, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140009532
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x14000951d
mov esi, r15d
jmp 0x140009563
mov rcx, qword [rbp + 0x168]
mov edx, 0xc9
call fcn.140008f88
mov esi, eax
jmp 0x140009563
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov dword [rsp + 0x24], r15d
call fcn.1400092dc
mov esi, eax
test eax, eax
jns 0x14000959b
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xcf
call fcn.140008f60
test rdi, rdi
jne 0x140009644
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140061ac0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x140081610]
lea rcx, [rsp + 0x30]
call fcn.140007474
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400095de
mov rcx, qword [rbp + 0x168]
mov edx, 0xd5
call fcn.140008f88
mov esi, eax
jmp 0x140009644
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.1400092dc
mov esi, eax
test eax, eax
jns 0x14000961a
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xd7
call fcn.140008f60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x14000966e
jmp 0x140009644
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x14000965c
movsxd rcx, dword [rsp + 0x24]
mov esi, r15d
movsxd rax, dword [rsp + 0x20]
shl rcx, 0x1f
or rcx, rax
mov qword [r14], rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x140009680
jmp 0x14000956c
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.140008fa8
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.140008fa8
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.140008fa8
int3
Function at 0x1400280f0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rsi, rdx
mov rbx, rcx
lea rcx, [rsp + 0x20]
call fcn.14000472c
nop
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006350
xor ebx, ebx
test al, al
je 0x14002818d
lea rdi, [rsi + 8]
test rdi, rdi
je 0x14002818d
cmp byte [rsi + 0x4c], bl
je 0x14002818d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
je 0x14002818d
cmp byte [rsp + 0x6c], bl
je 0x14002818d
lea rcx, [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
nop dword [rax + rax]
test eax, eax
je 0x14002818d
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
setne bl
lea rcx, [rsp + 0x20]
call fcn.140004a40
mov al, bl
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140061ac0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400282c0
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x220
mov r9d, 0x20
lea r8d, [r9 - 0x1e]
lea rdx, [0x140081048]
lea rcx, [rsp + 0x40]
call fcn.14000484c
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
nop dword [rax + rax]
test eax, eax
je 0x140028330
cmp dword [rsp + 0x34], 0
setne bl
xor dil, dil
jmp 0x140028337
mov dil, 1
mov bl, byte [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140004a40
test dil, dil
je 0x14002834a
xor al, al
jmp 0x140028350
mov al, bl
jmp 0x140028350
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140061ac0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret

Function at 0x140028500
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, rcx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x28], xmm0
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov edx, 0x104
lea rcx, [rax - 0x28]
call fcn.140035290
mov rdi, qword [rsp + 0x28]
mov rbp, rdi
mov rsi, qword [rsp + 0x20]
sub rbp, rsi
sar rbp, 1
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1400285b4
mov edx, eax
cmp rdx, rbp
jbe 0x140028597
lea rcx, [rsp + 0x20]
call fcn.140035290
mov rdi, qword [rsp + 0x28]
mov rdx, rdi
mov rsi, qword [rsp + 0x20]
sub rdx, rsi
sar rdx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x1400285b4
sub rdi, rsi
sar rdi, 1
mov eax, eax
cmp rax, rdi
ja 0x1400285b4
mov rdx, rsi
mov rcx, r14
call fcn.140003d68
nop
mov bl, 1
jmp 0x1400285b4
lea rcx, [rsp + 0x20]
call fcn.14001bbbc
mov al, bl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14003d664
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400ab2e8]
xor rax, rsp
mov qword [rbp + 0x80], rax
cmp dword [0x1400ac408], 0
je 0x14003d69a
mov eax, dword [0x1400ac404]
jmp 0x14003d721
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx eax, word [rsp + 0x30]
mov r9b, byte [rbp + 0x7a]
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov word [rsp + 0x28], ax
movzx eax, word [rbp + 0x78]
mov word [rsp + 0x20], ax
call fcn.14003d740
mov dword [0x1400ac404], eax
mov dword [0x1400ac408], 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140061ac0
add rsp, 0x190
pop rbp
ret
Function at 0x14003e7e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r15, r8
mov rsi, rdx
mov r14, rcx
and dword [rbp + 0x48], 0
and dword [rbp + 0x38], 0
cmp qword [rdx + 0x18], 8
jb 0x14003e816
mov rdx, qword [rdx]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14003e932
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x14003e92d
mov eax, dword [rbp + 0x48]
dec eax
cmp eax, 1
ja 0x14003e92d
lea rdi, [rcx + 2]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
and qword [rbp - 8], 0
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.14003ecdc
mov rbx, qword [rbp - 0x18]
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rbx + rdi]
mov qword [rbp - 0x10], rax
and qword [rbp - 0x20], 0
lea rcx, [rbp - 0x20]
call fcn.14003ec40
nop
cmp qword [rsi + 0x18], 8
jb 0x14003e8a8
mov rsi, qword [rsi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14003e8e6
mov rdx, qword [rbp - 0x18]
mov rcx, r15
call fcn.140003d68
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14003e929
mov rdx, qword [rbp - 8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e924
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e924
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140061da8
mov eax, ebx
jmp 0x14003e932
mov eax, 0x65e
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003e950
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
and dword [r9], 0
mov rsi, r9
cmp qword [rdx + 0x18], 8
mov rdi, r8
jb 0x14003e970
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14003ea13
mov rbx, qword [rsp + 0x50]
lea ecx, [rax + 0x18]
call fcn.140061ae4
lea rcx, vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__long_int____cdecl___struct_HKEY______ptr64___struct_HKEY______ptr64____ptr64__.0
mov qword [rsp + 0x68], rax
mov qword [rax], rcx
mov rcx, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
cmp qword [rdi + 0x18], 8
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x70], 4
jb 0x14003e9dc
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
mov ebx, eax
call fcn.1400065c4
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004007c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x1400400a5
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
lea esi, [rax + 1]
mov word [rsp + 0x58], bp
mov edx, esi
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.14003eb2c
nop
cmp qword [rdi + 0x18], 8
jb 0x1400400da
mov rdi, qword [rdi]
mov r8d, esi
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov qword [rbx], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
test eax, eax
je 0x140040123
lea rdx, [0x140084d48]
mov rax, qword [rsp + 0x28]
test rax, rax
cmovne rdx, rax
mov rcx, rbx
call fcn.140003d68
nop
lea rcx, [rsp + 0x28]
call fcn.14001bbbc
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140043bb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
cmp qword [rdx + 0x18], 8
jb 0x140043bd4
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x140043c4f
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140043c23
inc rax
jmp 0x140043c2a
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
movabs rcx, 0x342500000000
or rax, rdi
or rax, rcx
jmp 0x140043ca7
cmp ebx, dword [rsp + 0x58]
je 0x140043c9d
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140043c77
inc rax
jmp 0x140043c7e
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
movabs rcx, 0x350500040002
jmp 0x140043c4a
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140043dbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x20], 0
mov esi, edx
and dword [rax + 8], 0
lea rdx, [rcx + 0x40]
cmp qword [rdx + 0x18], 8
mov rdi, r8
jb 0x140043de7
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
je 0x140043e6d
test eax, eax
je 0x140043e6d
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140043e3e
inc rax
jmp 0x140043e45
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
movabs rcx, 0x312500000000
or rax, rbx
or rax, rcx
jmp 0x140043f1d
cmp esi, dword [rsp + 0x40]
je 0x140043ebb
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140043e95
inc rax
jmp 0x140043e9c
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
movabs rcx, 0x320500040002
jmp 0x140043e65
mov eax, dword [rsp + 0x58]
cmp eax, 0x4000
jb 0x140043f11
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140043ee8
inc rax
jmp 0x140043eef
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400ac690]
call fcn.140013434
shl rax, 0x34
movabs rcx, 0x330500040003
jmp 0x140043e65
mov dword [rdi], eax
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400544c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, rdx
lea r9, vtable.type_info.0
mov rbx, rcx
lea r8, vtable.type_info.0
xor edi, edi
mov rcx, rax
xor edx, edx
mov dword [rsp + 0x20], edi
call sub.api_ms_win_crt_private_l1_1_0.dll___RTDynamicCast
mov rsi, qword [rbx + 0x18]
mov rdx, qword [rbx + 0x10]
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rsi
sub rax, rdx
sub rcx, r8
xor rcx, rax
test rcx, 0xffffffffffffffe0
jne 0x140054588
jmp 0x140054580
cmp qword [r8 + 0x18], 8
mov rax, r8
jb 0x140054527
mov rax, qword [r8]
cmp qword [rdx + 0x18], 8
mov r9, rdx
mov rcx, qword [rdx + 0x10]
jb 0x140054538
mov r9, qword [rdx]
cmp rcx, qword [r8 + 0x10]
jne 0x140054588
test rcx, rcx
je 0x140054578
movzx r10d, word [r9]
movzx r11d, word [rax]
cmp r10w, r11w
jb 0x140054588
sub r9, rax
cmp r10w, r11w
ja 0x140054588
cmp rcx, 1
je 0x140054578
add rax, 2
dec rcx
movzx r10d, word [r9 + rax]
movzx r11d, word [rax]
cmp r10w, r11w
jb 0x140054588
jmp 0x140054554
add rdx, 0x20
add r8, 0x20
cmp rdx, rsi
jne 0x14005451a
mov dil, 1
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005f820
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rbx, rcx
mov rdx, rcx
mov rcx, rsi
call fcn.140035318
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005f84d
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 1
lea r9, [0x14008725c]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.1400403b4
cmp rax, 0xffffffffffffffff
jne 0x14005f873
mov al, 1
jmp 0x14005f8e7
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005f880
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14005f8e7
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14001bc28
nop
cmp qword [rbx + 0x18], 8
jb 0x14005f8af
mov rbx, qword [rbx]
mov r8d, edi
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
cmp edi, eax
sete bl
jne 0x14005f8db
mov rdx, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140003d68
nop
lea rcx, [rsp + 0x30]
call fcn.14001bbbc
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140061638
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov dword [rax + 8], ecx
push rdi
sub rsp, 0x40
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x28], xmm0
xor esi, esi
mov qword [rax - 0x18], rsi
mov dword [rax + 0x18], esi
lea r8, [rax + 0x18]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
je 0x14006167d
lea ebx, [rsi + 0xd]
jmp 0x1400616e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
jne 0x1400616e8
mov word [rsp + 0x50], si
mov edx, dword [rsp + 0x60]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.14003ea8c
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400616d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x1400616e8
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140003d68
mov ebx, esi
lea rcx, [rsp + 0x20]
call fcn.14001bbbc
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1400626c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006270a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006270a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006270a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006270a
cmp dword [rcx + 0x84], 0xe
jbe 0x14006270a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006270c
xor al, al
add rsp, 0x28
ret
Function at 0x140029870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140029900
cmp r11, r10
ja 0x140029976
cmp r10, rdx
ja 0x14002998a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140029902
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400298e0
jmp 0x140029964
ja 0x14002990a
mov r11, r10
cmp rax, r8
jne 0x1400298a4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140029940
mov rdi, r8
sub ecx, edx
jns 0x14002995b
jmp 0x140029966
cmp r8, rsi
je 0x14002999b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140029966
xor al, 1
cmp rdi, rsi
jne 0x140029920
jmp 0x140029966
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140026e20
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140026300
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_79e9716c980570bfd1f666e3b16ac583f0168962library_alloc_srccollections_btree_navigate.rsIndex_out_of_bounds
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400266a0
ud2