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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
cmp qword [rcx + 0x18], 8
jb 0x14004932b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x24]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x1400494da
mov ecx, esi
call fcn.140237e90
mov rdi, rax
test rax, rax
je 0x1400494da
cmp qword [rbx + 0x18], 8
jb 0x14004935d
mov rbx, qword [rbx]
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x24]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rdi
test eax, eax
je 0x1400494d5
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1402f4264]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400494d2
lea rcx, [rsp + 0x40]
call fcn.14001bb00
nop
mov rbx, qword [rsp + 0x30]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.14003d830
mov rcx, rax
lea rdx, [0x1402f1f60]
call fcn.1400176b0
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.14003d830
mov rcx, rax
lea rdx, [0x1402f1f60]
call fcn.1400176b0
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.14003d830
mov rcx, rax
lea rdx, [0x1402f1f60]
call fcn.1400176b0
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.14003d830
nop
lea rcx, [rbp + 0x40]
call fcn.140009da0
movdqa xmm0, xmmword [0x1402f9360]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r15w
mov ebx, 2
mov dword [rsp + 0x20], ebx
mov rcx, qword [rbp - 0x38]
test bl, cl
jne 0x14004945a
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x14004945a
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x40]
cmp r8, rax
cmovb r8, rax
sub r8, rdx
jmp 0x140049483
test cl, 4
jne 0x14004948f
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x14004948f
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rbp + 0x40]
call fcn.140009e14
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov ebx, 1
mov dword [rsp + 0x20], ebx
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.14000dfe4
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
lea rcx, [rbp + 0x40]
call fcn.140009bb8
mov rcx, rdi
call fcn.1402351a0
nop
lea rcx, [rsp + 0x40]
call fcn.14001b7c0
mov al, 1
jmp 0x1400494dc
mov rcx, rdi
call fcn.1402351a0
xor al, al
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14022aa20
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140049500
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1700]
mov eax, 0x1800
call fcn.14022b5e0
sub rsp, rax
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x1840], rbx
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rbp + 0x16f0], rax
mov r14, rdx
mov rbx, rcx
xor sil, sil
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x48], r15
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
lea rcx, [rsp + 0x58]
call fcn.140009bd0
nop
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x140049579
mov r9, qword [rbx]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x70]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400495c1
lea rdi, [rcx + rdx]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp r8, 8
cmovae rbx, qword [rsp + 0x58]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r9
call fcn.14022f3d0
mov word [rbx + rdi*2], r15w
jmp 0x1400495d0
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x58]
call fcn.140023610
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
mov rdx, 0xffffffff80000002
mov r9d, 0x20019
lea rcx, [rsp + 0x38]
call fcn.14003e230
mov rbx, qword [rsp + 0x38]
test eax, eax
jne 0x1400496ad
mov dword [rsp + 0x30], 0x7d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x1402ed39c]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400496ad
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400496ad
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140049660
test al, 1
jne 0x1400496ad
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], 0
je 0x140049665
jmp 0x1400496ad
mov word [rbp - 0x80], r15w
mov r8d, 0x7d0
lea rdx, [rbp + 0x750]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rax, [rbp + 0x750]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140049690
lea rdx, [rbp + 0x750]
mov rcx, r14
call fcn.140009e14
mov sil, 1
lea rcx, [rsp + 0x58]
call fcn.140009bb8
nop
test rbx, rbx
je 0x1400496cb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r15
movzx eax, sil
mov dword [rsp + 0x40], r15d
mov rcx, qword [rbp + 0x16f0]
xor rcx, rsp
call fcn.14022aa20
mov rbx, qword [rsp + 0x1840]
add rsp, 0x1800
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004b1e0
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r15, r8
mov r14, rdx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x24]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14004b261
mov ecx, esi
call fcn.140237e90
mov rbx, rax
test rax, rax
je 0x14004b261
mov r9, rax
mov r8d, esi
mov edx, dword [rsp + 0x24]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rbx
test eax, eax
jne 0x14004b268
call fcn.1402351a0
xor al, al
jmp 0x14004b3e2
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [0x1402f4264]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14004b3e2
lea rcx, [rsp + 0x40]
call fcn.14001bb00
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.14003d830
mov rcx, rax
lea rdx, [0x1402f1f60]
call fcn.1400176b0
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.14003d830
mov rcx, rax
lea rdx, [0x1402f1f60]
call fcn.1400176b0
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.14003d830
mov rcx, rax
lea rdx, [0x1402f1f60]
call fcn.1400176b0
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.14003d830
nop
lea rcx, [rbp + 0x40]
call fcn.140009da0
movdqa xmm0, xmmword [0x1402f9360]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], di
mov ebx, 2
mov dword [rsp + 0x20], ebx
mov rcx, qword [rbp - 0x38]
test bl, cl
jne 0x14004b34b
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x14004b34b
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x40]
cmp r8, rax
cmovb r8, rax
sub r8, rdx
jmp 0x14004b374
test cl, 4
jne 0x14004b380
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x14004b380
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rbp + 0x40]
call fcn.140009e14
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov ebx, 1
mov dword [rsp + 0x20], ebx
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
jb 0x14004b3a4
mov rdx, qword [rbp + 0x40]
test rdx, rdx
je 0x14004b3bc
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14004b3b0
mov edi, eax
mov r8d, edi
mov rcx, r15
call fcn.140002a7c
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
lea rcx, [rbp + 0x40]
call fcn.140009bb8
nop
lea rcx, [rsp + 0x40]
call fcn.14001b7c0
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14022aa20
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005ca10
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0xa0], 0xfffffffffffffffe
cmp byte [rcx + 0x28], 0
jne 0x14005ca3e
xor al, al
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
xor dil, dil
mov byte [rsp + 0x30], dil
lea r8, [rsp + 0xe0]
lea rdx, str.SELECT__FROM_Win32_SoundDevice
call fcn.14005d530
test al, al
je 0x14005cc69
xor esi, esi
mov qword [rsp + 0xd0], rsi
mov dword [rsp + 0xd8], esi
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xd8]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xd0]
mov rbx, 0xffffffffffffffff
lea r8d, [rsi + 1]
mov edx, ebx
call qword [rax + 0x20]
test eax, eax
jne 0x14005cc5a
lea rcx, [rsp + 0x68]
call fcn.140015830
lea rcx, [rsp + 0x70]
call fcn.140015830
lea rcx, [rsp + 0x78]
call fcn.140015830
lea rcx, [rsp + 0x80]
call fcn.140015830
lea rcx, [rsp + 0x88]
call fcn.140015830
lea rcx, [rsp + 0x90]
call fcn.140015830
lea rcx, [rsp + 0x98]
call fcn.140015830
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov dil, 1
mov byte [rsp + 0x30], dil
lea r9, [rsp + 0x50]
lea r8, str.Name
mov rdx, qword [rsp + 0xd0]
call fcn.14005ce40
test al, al
je 0x14005cba3
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea r9d, [rsi + 8]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14005cc8c
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jne 0x14005cb79
mov eax, esi
jmp 0x14005cb8a
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14005cb80
mov r8d, eax
lea rcx, [rsp + 0x68]
call fcn.140002a7c
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r9, [rsp + 0x50]
lea r8, str.DeviceID
mov rdx, qword [rsp + 0xd0]
call fcn.14005ce40
test al, al
je 0x14005cc35
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14005cc94
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14005cc1c
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14005cc10
mov esi, ebx
mov r8d, esi
lea rcx, [rsp + 0x70]
call fcn.140002a7c
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x68]
call fcn.140036ac0
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
movzx eax, dil
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140002d3c
nop
mov ecx, eax
call fcn.140002d3c
int3
Function at 0x14005cca0
Capabilities:
Reference wmi statements

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x7b0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x7e0], rbx
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rsp + 0x7a0], rax
mov rsi, rdx
xor ebx, ebx
mov dword [rsp + 0x34], ebx
cmp byte [rcx + 0x28], bl
jne 0x14005cce4
xor al, al
jmp 0x14005ce13
xor r14b, r14b
mov byte [rsp + 0x30], r14b
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x40]
lea rdx, str.SELECT__FROM_Win32_BaseBoard
call fcn.14005d530
test al, al
je 0x14005ce07
mov dword [rsp + 0x38], ebx
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x160]
mov edx, 0xffffffff
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x14005cdfb
mov dword [rsp + 0x48], ebx
cmp ebx, dword [rsp + 0x38]
jae 0x14005cdfb
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, ebx
lea rdi, [rsp + 0x160]
lea rdi, [rdi + rax*8]
lea r9, [rsp + 0x50]
lea r8, str.Manufacturer
mov rdx, qword [rdi]
call fcn.14005ce40
test al, al
je 0x14005cd93
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14005e520
mov r14b, 1
mov byte [rsp + 0x30], r14b
lea r9, [rsp + 0x50]
lea r8, str.Product
mov rdx, qword [rdi]
call fcn.14005ce40
test al, al
je 0x14005cdb9
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x50]
call fcn.14005e520
lea r9, [rsp + 0x50]
lea r8, [0x1402f44f8]
mov rdx, qword [rdi]
call fcn.14005ce40
test al, al
je 0x14005cddf
lea rcx, [rsi + 0x10]
lea rdx, [rsp + 0x50]
call fcn.14005e520
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebx
jmp 0x14005cd3e
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
jmp 0x14005ce0f
movzx eax, r14b
mov rcx, qword [rsp + 0x7a0]
xor rcx, rsp
call fcn.14022aa20
mov rbx, qword [rsp + 0x7e0]
add rsp, 0x7b0
pop r14
pop rdi
pop rsi
ret
Function at 0x140061f20
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14035d8c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbp, rdx
lea rcx, [r11 - 0x30]
call fcn.14000a1bc
nop
xor sil, sil
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov word [rax], bx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400620d4
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BaseBoardVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdi, [rbx - 1]
test eax, eax
jne 0x140062095
mov ecx, dword [rsp + 0x30]
inc ecx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14008ba98
mov rsi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.BaseBoardVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x34], 3
jne 0x140062070
mov r8d, dword [rsp + 0x30]
nop
mov r9b, 1
mov edx, ebx
lea eax, [r8 - 1]
test eax, eax
jle 0x140062070
mov rax, rsi
cmp word [rax], bx
jne 0x14006205d
movzx ecx, word [rax + 2]
test cx, cx
je 0x14006205d
mov word [rax], cx
mov word [rax + 2], bx
xor r9b, r9b
mov r8d, dword [rsp + 0x30]
inc edx
add rax, 2
lea ecx, [r8 - 1]
cmp edx, ecx
jl 0x140062040
test r9b, r9b
je 0x140062030
mov r8, rdi
inc r8
cmp word [rsi + r8*2], bx
jne 0x140062073
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140009e14
mov rcx, rsi
call fcn.14008ba90
mov sil, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test sil, sil
je 0x1400620d4
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
test rdx, rdx
je 0x1400620cb
nop
inc rdi
cmp word [rdx + rdi*2], bx
jne 0x1400620c0
mov ebx, edi
mov r8d, ebx
call fcn.140002a7c
nop
lea rcx, [rsp + 0x48]
call fcn.140009bb8
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14022aa20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400839b0
Capabilities:
Check for time delay via queryperformancecounter
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov r14, r8
mov rsi, rdx
mov rdi, rcx
lea r12, vtable.srl::Timer.0
mov qword [rax - 0x40], r12
lea rcx, [rax - 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp qword [rdi + 0x18], 8
jb 0x1400839f7
mov rdi, qword [rdi]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x84000100
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
je 0x140083ae5
mov ecx, 0x3e9
call fcn.14008ba98
mov rbp, rax
mov edi, ebx
mov dword [rsp + 0x80], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140083ac6
mov r15d, 0x3e8
nop dword [rax + rax]
mov dword [rsp + 0x98], ebx
mov r8d, dword [rsp + 0x80]
cmp r8d, r15d
cmova r8d, r15d
mov dword [rsp + 0x80], r8d
lea r9, [rsp + 0x98]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140083ac6
mov ecx, dword [rsp + 0x98]
add rdi, rcx
test ecx, ecx
je 0x140083ac6
mov dword [rsp + 0x80], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x140083a60
mov qword [r14], rdi
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call fcn.14008ba90
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
jle 0x140083b26
mov rdx, qword [rsp + 0x40]
test rdx, rdx
jle 0x140083b26
mov rax, qword [rsp + 0x48]
cmp rax, rdx
jle 0x140083b26
sub rax, rdx
imul rax, rax, 0x3e8
cqo
idiv rcx
mov rbx, rax
mov qword [rsp + 0x38], r12
mov rax, rbx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140086830
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov r15, r9
mov r14, r8
xor sil, sil
xor r12d, r12d
mov qword [rax - 0x40], r12
mov dword [rax - 0x38], r12d
mov qword [rax - 0x30], r12
mov r9d, 0x20019
mov r8, qword [rdx]
mov rdx, rcx
lea rcx, [rax - 0x40]
call fcn.14003e230
mov rbp, qword [rsp + 0x48]
test eax, eax
jne 0x140086979
mov qword [rsp + 0x38], r12
mov ecx, 0x7d0
call fcn.140237e90
mov qword [rsp + 0x38], rax
mov rbx, rax
mov dword [rsp + 0x98], 0x7d0
mov edi, r12d
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400868f3
cmp eax, 0xea
jne 0x140086924
mov edx, 0x7d0
mov rcx, rbx
call fcn.140235250
test rax, rax
je 0x1400868a0
jmp 0x140086898
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x14008691f
mov ecx, dword [rsp + 0x98]
test rbx, rbx
je 0x140086943
test ecx, ecx
je 0x14008693f
test cl, 1
jne 0x14008691f
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], di
je 0x140086943
mov eax, SafeArrayGetDim
test eax, eax
sete sil
test eax, eax
jne 0x14008696c
mov eax, edi
mov word [rbx + rax*2], r12w
test rbx, rbx
jne 0x14008694c
mov eax, r12d
jmp 0x14008695d
mov word [rbx], r12w
mov edi, ecx
shr edi, 1
mov eax, r12d
jmp 0x140086924
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140086953
mov r8d, eax
mov rdx, rbx
mov rcx, r15
call fcn.140002a7c
nop
mov rcx, rbx
call fcn.1402351a0
mov qword [rsp + 0x38], r12
test rbp, rbp
je 0x14008698c
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r12
movzx eax, sil
mov dword [rsp + 0x50], r12d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14008f720
Capabilities:
Extract resource via kernel32 functions

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 r12
push r14
push r15
sub rsp, 0x30
xor edi, edi
xor ebx, ebx
mov r15, r9
mov rsi, r8
mov rbp, rdx
mov r12, rcx
test r8, r8
je 0x14008f792
call fcn.1400b0138
mov r8d, 0xf0
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14008f792
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14008f7e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov esi, 1
test rdi, rdi
je 0x14008f7c6
mov rcx, qword [r12]
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rax, qword [rcx + 0x40]
mov rcx, r12
call qword [case.0x1400de62a.0]
mov esi, eax
test rbx, rbx
je 0x14008f7c6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14008f7e5
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r15
call qword [case.0x1400de62a.0]
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x1400a0ac0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x1400a0b28
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x1400a0b12
cmp qword [rcx + 0x18], 0
jne 0x1400a0b0d
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x1400a0b2e
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], MsiGetPropertyW
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x1400a0b28
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1400b9158
call fcn.14008cb84
int3
call fcn.14008cb84
int3

Function at 0x1400a21a4
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x1400a221f
xor r8d, r8d
call fcn.1400a246c
mov rsi, rax
test rax, rax
je 0x1400a221b
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400a221b
mov eax, dword [rsp + 0x30]
jmp 0x1400a2235
mov eax, edi
jmp 0x1400a2235
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret