joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400072a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14004d9d0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007336
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001b120
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140007340
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x14004d9d0]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140013e60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14005b748]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x140013ec1
cmp byte [rbx + 0x4a56], 0
jne 0x140013ec1
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002e90
test dil, 1
je 0x140013fef
jmp 0x140013f4a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140052e40]
mulss xmm1, dword [0x140052e30]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x140052da0]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.140002e90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013fa0
lea r11, [0x14004d9d0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013f83
cmp byte [r8], r9b
jne 0x140013f83
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140013f70
not ecx
call fcn.14000b010
test rax, rax
je 0x140013fef
cmp byte [rax + 0xb6], 0
je 0x140013fef
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.140002e90
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d730
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140049f00
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140019a50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140019af7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140019aaa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001be30
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003a70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14005b740]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140019aff
mov rcx, rbx
call fcn.140003a70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019f80
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14005b748]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019fe3
mov qword [rsp], rbx
lea rbx, [0x14004d9d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019fc3
cmp byte [r8], r9b
jne 0x140019fc3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140019fb0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001a017
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001a01e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001a004
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400442b0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14004433c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140044310
lea r11, [0x14004d9d0]
nop
cmp r9b, 0x23
jne 0x1400442f3
cmp byte [r8], r9b
jne 0x1400442f3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400442e0
mov rcx, qword [0x14005b748]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x140044327
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x140044399
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x14005b748]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed0]
movsxd rcx, dword [rbx + 0xf0]
mov rax, qword [rbx + 0xf8]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rdi
call fcn.140003030
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f18], eax
jne 0x140044392
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.14001b120
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001a06c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rcx
call fcn.14001a914
mov qword [rdi + 0x28], rax
test rax, rax
jne 0x14001a0a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14001a12d
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14001a0dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov ebx, eax
call fcn.14001a144
mov eax, ebx
jmp 0x14001a12d
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
nop dword [rax + rax]
mov qword [rdi + 0x20], rax
test rax, rax
je 0x14001a0c3
mov rcx, qword [rdi + 0x28]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
nop dword [rax + rax]
mov dword [rdi + 0x18], eax
test eax, eax
je 0x14001a0c3
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LockResource]
nop dword [rax + rax]
mov qword [rdi], rax
test rax, rax
je 0x14001a0c3
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001af98
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140033880], eax
call fcn.14001b6d0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140033880], 0
jne case.default.0x14001afee
mov ecx, 1
call fcn.14001b6d0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
fnstenv [rdx]
add eax, 0xcbf1acec
retf
xor ah, dl
or al, 2
sub byte [rax + riz*2], r12b
scasd eax, dword [rdi]
mov dl, 0x3b
invalid
Function at 0x140596058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405961df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140596089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14059606f
add dl, dl
jne 0x140596096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405960f6
xor eax, eax
add dl, dl
jne 0x1405960a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405961ad
add dl, dl
jne 0x1405960b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405960c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405960d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405960dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405960ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14059607e
mov eax, 1
add dl, dl
jne 0x140596106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140596113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405960fb
sub eax, ebx
mov ebx, 1
jne 0x14059614c
mov ecx, 1
add dl, dl
jne 0x14059612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14059613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140596123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14059607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140596168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140596175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14059615d
cmp eax, 0x7d00
jae 0x14059619b
cmp eax, 0x500
jb 0x140596196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14059607e
cmp eax, 0x7f
ja 0x14059619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14059607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405961d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14059607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003130
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rax, vtable.CDeviceInformationDlg.0
mov qword [rcx], rax
mov rcx, qword [0x140277e00]
test rcx, rcx
je 0x140003180
xor edx, edx
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140277e00]
test rcx, rcx
je 0x140003180
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rbx + 0xb40]
call fcn.140025278
nop
lea rcx, [rbx + 0xa68]
call fcn.1400252e0
nop
lea rcx, [rbx + 0x990]
call fcn.1400251dc
nop
lea rcx, [rbx + 0x8b8]
call fcn.1400251dc
nop
lea rcx, [rbx + 0x7e0]
call fcn.1400251dc
nop
lea rcx, [rbx + 0x708]
call fcn.1400251dc
nop
lea rcx, [rbx + 0x630]
call fcn.1400252e0
nop
lea rcx, [rbx + 0x558]
call fcn.1400252e0
nop
lea rcx, [rbx + 0x480]
call fcn.1400252e0
nop
lea rcx, [rbx + 0x3a8]
call fcn.14002e4d0
nop
lea rcx, [rbx + 0x2d0]
call fcn.1400251dc
nop
lea rcx, [rbx + 0x1f8]
call fcn.1400251dc
nop
lea rcx, [rbx + 0x120]
call fcn.1400251dc
nop
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.14001f748
Function at 0x14000ea20
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x310], rbx
mov rax, qword [0x1402669b0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x60], rcx
xor r15d, r15d
mov dword [rsp + 0x64], r15d
mov byte [rbp + 0xb0], r15b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0xb1]
call fcn.14019c230
mov dword [rsp + 0x68], 0x104
mov dword [rsp + 0x60], r15d
lea rcx, [rdi + 8]
lea rax, [fcn.14001bad0]
mov qword [rsp + 0x20], rax
lea r9, [fcn.14001ba90]
lea edx, [r15 + 8]
mov r8d, 0x400
call fcn.14019a884
mov dword [rsp + 0x64], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0xb0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, r15d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14000ebab
mov ebx, r15d
mov dword [rsp + 0x6c], 0xff
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000eb9f
mov ecx, ebx
inc rcx
lea rcx, [rdi + rcx*8]
lea rdx, [rbp - 0x50]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14000eb80
mov r8d, eax
lea rdx, [rbp - 0x50]
call fcn.14001bef0
inc esi
cmp esi, 0x400
jae 0x14000eba7
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x14000eb32
mov dword [rdi], esi
jmp 0x14000ebae
mov dword [rdi], r15d
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14019a4e0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400103d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1402669b0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x1ff
mov byte [rsp + 0x40], 0
call fcn.14019c230
mov rdx, qword [rdi]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x38], 0x200
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001045d
cmp dword [rsp + 0x30], 3
jne 0x14001045d
mov eax, dword [rsp + 0x38]
lea rbx, [rsp + 0x40]
mov dword [rsi], eax
jmp 0x140010462
mov rbx, qword [rsp + 0x38]
mov rdx, qword [rdi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001047a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14019a4e0
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400104a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x58]
mov rdi, rdx
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x48]
xor r8d, r8d
mov dword [rsp + 0x50], 0
or ebx, 0xffffffff
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400104fb
cmp dword [rsp + 0x48], 4
cmove ebx, dword [rsp + 0x50]
mov rdx, qword [rdi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010513
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140010520
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1402669b0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x38], 0
lea rdx, [0x140225ea8]
call fcn.14001c020
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov edi, 0x200
mov dword [rsp + 0x34], edi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x1400106bf
mov ecx, dword [rsp + 0x30]
lea eax, [rcx - 1]
lea rbx, [0x140223400]
cmp eax, 1
jbe 0x1400105d9
cmp ecx, 7
jne 0x140010661
mov eax, dword [rsp + 0x34]
lea rcx, [rsp + 0x60]
test eax, eax
je 0x1400105fb
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400105f0
jmp 0x14001064d
mov rdx, rdi
mov r8, rbx
lea rax, [rsp + 0x60]
sub r8, rax
nop dword [rax]
lea rax, [rdx + 0x7ffffdfe]
test rax, rax
je 0x140010631
movzx eax, byte [r8 + rcx]
test al, al
je 0x140010631
mov byte [rcx], al
inc rcx
dec rdx
jne 0x140010610
jmp 0x140010636
test rdx, rdx
jne 0x140010639
dec rcx
mov byte [rcx], 0
lea rcx, [rsp + 0x60]
mov rax, rsi
inc rax
cmp byte [rcx + rax], 0
jne 0x140010644
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.14001bef0
mov ecx, dword [rsp + 0x30]
test ecx, ecx
jne 0x1400106bf
lea rcx, [rsp + 0x60]
lea rax, [rsp + 0x60]
sub rbx, rax
lea rax, [rdi + 0x7ffffdfe]
test rax, rax
je 0x140010692
movzx eax, byte [rbx + rcx]
test al, al
je 0x140010692
mov byte [rcx], al
inc rcx
dec rdi
jne 0x140010672
jmp 0x140010697
test rdi, rdi
jne 0x14001069a
dec rcx
mov byte [rcx], 0
lea rcx, [rsp + 0x60]
mov rax, rsi
inc rax
cmp byte [rcx + rax], 0
jne 0x1400106a5
mov r8d, eax
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.14001bef0
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400106d7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rbp
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14019a4e0
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140010970
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x278], rbx
mov rax, qword [0x1402669b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call fcn.140024fb0
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x1400109c7
mov ecx, 0x80004005
call fcn.14001bed0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140010a68
mov dword [rsp + 0x34], 0x200
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProgramFilesDir
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rax, [rsp + 0x50]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140010a44
mov r8d, ecx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14001bef0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14019a4e0
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
Function at 0x140010a90
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1402669b0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdx
xor ebx, ebx
mov dword [rsp + 0x34], ebx
lea rdx, [0x140225ea8]
call fcn.14001c020
mov dword [rsp + 0x34], 1
lea rdx, [0x140225ea8]
mov rcx, qword [rsi]
call fcn.14019add8
test eax, eax
jne 0x140010b10
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x140010b5c
mov r8, qword [rsi]
mov edx, 0x104
lea rax, [rsp + 0x70]
lea rcx, [rsp + 0x70]
sub r8, rcx
nop word [rax + rax]
lea rcx, [rdx + 0x7ffffefa]
test rcx, rcx
je 0x140010b51
movzx ecx, byte [r8 + rax]
test cl, cl
je 0x140010b51
mov byte [rax], cl
inc rax
dec rdx
jne 0x140010b30
jmp 0x140010b56
test rdx, rdx
jne 0x140010b59
dec rax
mov byte [rax], 0
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebp, eax
test eax, eax
je 0x140010c11
mov dword [rsp + 0x38], ebx
mov edx, ebp
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov r9, rax
mov r8d, ebp
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x70]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
lea rdx, [0x140222b6c]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov rax, qword [rsp + 0x48]
movzx r10d, word [rax + 0x12]
mov word [rsp + 0x40], r10w
movzx r8d, word [rax + 0x10]
mov word [rsp + 0x42], r8w
movzx edx, word [rax + 0x16]
mov word [rsp + 0x44], dx
movzx eax, word [rax + 0x14]
mov word [rsp + 0x46], ax
mov r9d, r8d
mov r8d, r10d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._d._d._d._d
mov rcx, rdi
call fcn.14001b830
nop
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140010c29
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14019a4e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret