joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a1e40
Capabilities:
Get file version info

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x4060
call fcn.1401722d0
sub rsp, rax
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x4050], rax
movsxd rsi, r9d
mov rdi, r8
mov rbx, rdx
test rdx, rdx
je 0x1400a1f3e
test r8, r8
je 0x1400a1f3e
cmp esi, 0x104
jl 0x1400a1f3e
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4000
call fcn.140289490
lea rdx, [rsp + 0x40]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea edx, [rax - 1]
cmp edx, 0x3ffe
ja 0x1400a1f3e
lea r9, [rsp + 0x50]
mov r8d, eax
xor edx, edx
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400a1f3e
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x48]
lea rdx, [0x1402fa70c]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400a1f3e
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.140289490
mov rax, qword [rsp + 0x48]
mov rcx, rdi
movzx r8d, word [rax + 0xc]
movzx r10d, word [rax + 0xe]
movzx r11d, word [rax + 8]
movzx r9d, word [rax + 0xa]
lea eax, [rsi - 1]
mov dword [rsp + 0x30], r8d
lea r8, [0x1402fa710]
mov dword [rsp + 0x28], r10d
movsxd rdx, eax
mov dword [rsp + 0x20], r11d
call fcn.1400ab850
mov eax, 1
jmp 0x1400a1f40
xor eax, eax
mov rcx, qword [rsp + 0x4050]
xor rcx, rsp
call fcn.140172190
add rsp, 0x4060
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b8eb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x870
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
lea rsi, [0x1403d5bf0]
cmp word [0x1403d5bf0], 0
jne 0x1400b8fe6
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x48], rbp
mov r9d, 0x20219
lea r8, str.SOFTWAREHaloDesktop
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.14007dcc0
test eax, eax
jne 0x1400b8fd4
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.FROM
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b8fd4
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400b8fd4
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400b8f8e
test al, 1
jne 0x1400b8fd4
shr rax, 1
cmp word [rsp + rax*2 + 0x5e], bp
je 0x1400b8f93
jmp 0x1400b8fd4
mov word [rsp + 0x60], bp
mov r8d, 0x3ff
mov rdx, rsi
lea rcx, [rsp + 0x60]
sub rcx, rsi
lea rax, [r8 + 0x7ffffbff]
test rax, rax
je 0x1400b8fc6
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400b8fc6
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x1400b8fa4
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], bp
cmp qword [rsp + 0x38], rbp
je 0x1400b8fe6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400b9057
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rbx], rax
mov rdx, rsi
mov rcx, rbx
call fcn.14002e390
test al, al
jne 0x1400b902f
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], 0
jne 0x1400b9016
mov r8d, ecx
mov rdx, rsi
mov rcx, rbx
call fcn.140010860
nop
mov rax, rbx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
mov ecx, 0x80004005
call fcn.14000adf0
int3
Function at 0x1400b9650
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x870
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
lea rsi, [0x1403d73f0]
cmp word [0x1403d73f0], 0
jne 0x1400b9786
xor ebp, ebp
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], ebp
mov qword [rsp + 0x48], rbp
mov r9d, 0x20219
lea r8, str.SOFTWAREHaloDesktop
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.14007dcc0
test eax, eax
jne 0x1400b9774
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.Setup_Path
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b9774
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400b9774
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400b972e
test al, 1
jne 0x1400b9774
shr rax, 1
cmp word [rsp + rax*2 + 0x5e], bp
je 0x1400b9733
jmp 0x1400b9774
mov word [rsp + 0x60], bp
mov r8d, 0x3ff
mov rdx, rsi
lea rcx, [rsp + 0x60]
sub rcx, rsi
lea rax, [r8 + 0x7ffffbff]
test rax, rax
je 0x1400b9766
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400b9766
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x1400b9744
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], bp
cmp qword [rsp + 0x38], rbp
je 0x1400b9786
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400b97f7
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rbx], rax
mov rdx, rsi
mov rcx, rbx
call fcn.14002e390
test al, al
jne 0x1400b97cf
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], 0
jne 0x1400b97b6
mov r8d, ecx
mov rdx, rsi
mov rcx, rbx
call fcn.140010860
nop
mov rax, rbx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
mov ecx, 0x80004005
call fcn.14000adf0
int3
Function at 0x1400ba0f0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov esi, r8d
mov ebx, edx
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r14d, eax
shl r14d, 0x10
cmp ebx, 0x2e
ja 0x1400ba14c
movabs rax, 0x61fe00000000
bt rax, rbx
jb 0x1400ba158
cmp ebx, 0x90
je 0x1400ba158
test esi, esi
je 0x1400ba15d
bts r14d, 0x18
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400ba24f
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
mov ebx, 0x40
mov esi, ebx
nop word [rax + rax]
lea eax, [rbx + rbx]
mov ebx, eax
add rsi, rsi
test eax, eax
js 0x1400ba244
mov rax, qword [rdi]
mov edx, 1
sub edx, dword [rax - 8]
mov ecx, dword [rax - 0xc]
sub ecx, ebx
or edx, ecx
jge 0x1400ba1be
mov edx, ebx
mov rcx, rdi
call fcn.14000bdf0
mov rdx, qword [rdi]
cmp ebx, dword [rdx - 0xc]
jg 0x1400ba239
mov dword [rdx - 0x10], ebx
mov rax, qword [rdi]
mov word [rax + rsi*2], r15w
lea r8d, [rbx + 1]
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x1400ba1fb
mov rcx, qword [rdi]
test rcx, rcx
jne 0x1400ba1f2
mov eax, r15d
jmp 0x1400ba1ff
movsxd rdx, dword [rcx - 0xc]
call fcn.14028c900
test eax, eax
js 0x1400ba25a
mov rcx, qword [rdi]
cmp eax, dword [rcx - 0xc]
jg 0x1400ba25a
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rdi]
mov word [rax + rcx*2], r15w
cmp ebp, ebx
je 0x1400ba190
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80070057
call fcn.14000adf0
int3
mov ecx, 0x80070057
call fcn.14000adf0
int3
mov ecx, 0x80004005
call fcn.14000adf0
int3
mov ecx, 0x80070057
call fcn.14000adf0
int3
Function at 0x1400baae0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
mov eax, 0x1060
call fcn.1401722d0
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x34], 1
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x50]
call fcn.140289490
mov dword [rsp + 0x30], 0x1000
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x140303490]
lea rdx, str.SOFTWARELudashi
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1400bab73
xor eax, eax
mov word [rsp + 0x50], ax
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400babe7
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14002e390
test al, al
jne 0x1400babcb
lea rax, [rsp + 0x50]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400babb0
mov r8d, ecx
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140010860
nop
mov rax, rbx
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140172190
add rsp, 0x1060
pop rbx
ret
mov ecx, 0x80004005
call fcn.14000adf0
int3
Function at 0x1400bc6a0
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x340
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov rcx, qword [rcx + 8]
cmp dword [rcx - 0x10], edi
jl 0x1400bc894
lea rdx, str.Immersive_Control_Panel.lnk
call fcn.1402897b8
test rax, rax
je 0x1400bc894
sub rax, qword [rsi + 8]
sar rax, 1
cmp eax, 0xffffffff
je 0x1400bc894
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 3]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov dword [rsp + 0x30], 1
lea rbx, [rdi - 1]
test eax, eax
js 0x1400bc80e
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rsp + 0x70]
call fcn.140289490
mov dword [rsp + 0x20], 0x208
mov r9d, 0x2b8
lea r8, [rsp + 0x70]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
js 0x1400bc80e
lea rax, [rsp + 0x80]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400bc7a0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.1400810d0
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae r8, qword [rsp + 0x48]
cmp qword [rsp + 0x58], 7
jne 0x1400bc80e
mov edx, 7
lea rcx, str._b_tg
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1400bc80e
add rcx, 2
sub rdx, 1
jne 0x1400bc7e5
lea r8d, [rdx + 4]
lea rdx, [0x140304040]
lea rcx, [rsp + 0x48]
call fcn.1400810d0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_ILFree]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400bc83c
nop
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400bc830
mov edi, ebx
mov r8d, edi
lea rcx, [rsi + 0x10]
call fcn.140010860
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400bc887
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bc882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bc8bb
call fcn.140171af0
mov rax, qword [rsi + 0x10]
cmp dword [rax - 0x10], 0
setne al
jmp 0x1400bc896
xor al, al
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14028c66c
int3
Function at 0x1400bc8d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x870
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov ebx, 0x3ff
lea rbp, [0x1403d53f0]
cmp word [0x1403d53f0], r14w
jne 0x1400bca13
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov r9d, 0x20219
lea r8, str.SOFTWAREHaloDesktop
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.14007dcc0
test eax, eax
jne 0x1400bca01
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x140302848]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400bca01
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400bca01
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400bc9bb
test al, 1
jne 0x1400bca01
shr rax, 1
cmp word [rsp + rax*2 + 0x5e], r14w
je 0x1400bc9c1
jmp 0x1400bca01
mov word [rsp + 0x60], r14w
mov r8, rbx
mov rdx, rbp
lea rcx, [rsp + 0x60]
sub rcx, rbp
nop
lea rax, [r8 + 0x7ffffbff]
test rax, rax
je 0x1400bc9f2
movzx eax, word [rcx + rdx]
test ax, ax
je 0x1400bc9f2
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x1400bc9d0
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], r14w
cmp qword [rsp + 0x38], r14
je 0x1400bca13
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x1400bca61
mov rcx, rbp
lea rdx, str.noset
sub rdx, rbp
nop dword [rax]
lea rax, [rbx + 0x7ffffbff]
test rax, rax
je 0x1400bca52
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400bca52
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x1400bca30
lea rax, [rcx - 2]
test rbx, rbx
cmovne rax, rcx
mov word [rax], r14w
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400bcad8
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rdi], rax
mov rdx, rbp
mov rcx, rdi
call fcn.14002e390
test al, al
jne 0x1400bcaab
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rbp + rcx*2], 0
jne 0x1400bca91
mov r8d, ecx
mov rdx, rbp
mov rcx, rdi
call fcn.140010860
nop
mov rax, rdi
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x80004005
call fcn.14000adf0
int3
Function at 0x1400bd290
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov rcx, qword [rdx]
sub rcx, 0x18
call fcn.14000ae30
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi]
sub rcx, 0x18
call fcn.14000ae30
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.1400b7e50
mov r9, qword [rax]
mov r8d, dword [rbx]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rbx], eax
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd341
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd360
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd37f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400bd39c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400bd3b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400bdd30
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x390
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rbx, rcx
mov ecx, SafeArrayCopy
call fcn.140171ab4
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400bdd74
mov rcx, rax
call fcn.14017ca30
nop
mov qword [rbx], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x170]
call fcn.140289490
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str.HaloDesktopData
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.halosearch.db
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
nop
lea rdx, [rsp + 0x170]
mov rcx, qword [rbx]
call fcn.14017d820
nop
mov eax, 1
jmp 0x1400bddf0
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140172190
add rsp, 0x390
pop rbx
ret
Function at 0x1400be4e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x48]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x48], 4
xor ebx, ebx
mov qword [rsp + 0x20], rax
lea r8, str.user_unlock
mov dword [rsp + 0x40], ebx
lea rdx, str.SOFTWARELudashi
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rsp + 0x40], ebx
seta bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400c9de0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x250
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400c9f33
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rbx], rax
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400c9f28
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rbx + 8], rax
xor esi, esi
mov qword [rbx + 0x10], rsi
lea rcx, [rbx + 0x18]
call fcn.1400c9f40
nop
mov qword [rbx + 0x50], rsi
mov dword [rbx + 0x58], esi
mov qword [rbx + 0x60], rsi
mov byte [rbx + 0x68], sil
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.140289490
xor r9d, r9d
lea r8d, [rsi + 0x1a]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str.HaloDesktopDataUpdate
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400c9ec6
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea rdx, str.HaloUpdateInstall.exe
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x1400c9ee4
mov r8d, edx
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 8]
call fcn.140010860
nop
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000adf0
nop
mov ecx, 0x80004005
call fcn.14000adf0
int3
Function at 0x1400cf3f0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx]
xor eax, eax
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x2000000
mov edx, 0x80000000
mov qword [rsp + 0x50], rax
lea r8d, [rax + 7]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400cf447
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
Function at 0x1400d04a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
xor dil, dil
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400d0530
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400d0527
nop word [rax + rax]
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call fcn.140299718
test eax, eax
je 0x1400d0524
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400d0500
jmp 0x1400d0527
mov dil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, dil
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400d2800
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400d284a
mov dword [rsp + 0x28], 5
lea r8, str.explorer.exe
mov r9, rbx
mov qword [rsp + 0x20], 0
lea rdx, [0x1402ed2c8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x1400d284a
mov al, 1
add rsp, 0x30
pop rbx
ret
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x1400d2e20
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x4d0], rbx
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.140289490
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str.MicrosoftInternet_ExplorerQuick_Launch
lea rcx, [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.140289490
lea r8, [0x140305c58]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [0x140305c58]
lea rcx, [rsp + 0x38]
call fcn.14000dc30
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14000dc30
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x70]
mov ecx, 0x150b
call fcn.1400d2860
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400d2f33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2f2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d3002
call fcn.140171af0
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp - 0x80], xmm0
xor ebx, ebx
mov word [rsp + 0x70], bx
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400d2f85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d2f80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d2ffc
call fcn.140171af0
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400d2fdc
mov qword [rsp + 0x40], 3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5a], xmm0
mov dword [rsp + 0x6a], ebx
mov word [rsp + 0x6e], bx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rbx
mov eax, 0x614
mov word [rsp + 0x58], ax
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140172190
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4c0
pop rbp
ret
call fcn.14028c66c
nop
call fcn.14028c66c
nop
int3