joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003d30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
xor ecx, ecx
movups xmm0, xmmword [0x140008638]
movups xmmword [rax - 0x48], xmm0
movups xmm1, xmmword [0x140008648]
movups xmmword [rax - 0x38], xmm1
movsd xmm0, qword [0x140008658]
movsd qword [rax - 0x28], xmm0
mov eax, dword [0x140008660]
mov dword [rsp + 0x78], eax
movzx eax, byte [0x140008664]
mov byte [rsp + 0x7c], al
cmp dword [0x14000b050], 2
jl 0x140003ec2
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmm0, xmmword [str.7777777777777777O]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x140003dc0
cmp ecx, 0x2d
jge 0x140003efc
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2d
jl 0x140003ed0
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140003f10
call fcn.140005b88
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002300
nop
lea rcx, [rsp + 0x30]
call fcn.140002dd0
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140003f91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006080
test bl, bl
setne al
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
Function at 0x140003fb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm6
xor ecx, ecx
movups xmm0, xmmword [0x140008610]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x140008620]
movups xmmword [rsp + 0x60], xmm1
mov eax, dword [0x140008630]
mov dword [rsp + 0x70], eax
movzx eax, word [0x140008634]
mov word [rsp + 0x74], ax
cmp dword [0x14000b050], 2
jl 0x140004132
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmm0, xmmword [str.7777777777777777O]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140004030
cmp ecx, 0x26
jge 0x14000416c
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x26
jl 0x140004140
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140004180
call fcn.140005b88
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002300
nop
lea rcx, [rsp + 0x30]
call fcn.140002dd0
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004201
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006080
test bl, bl
setne al
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
Function at 0x140004220
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
xor ecx, ecx
movups xmm0, xmmword [0x1400085e0]
movups xmmword [rax - 0x48], xmm0
movups xmm1, xmmword [0x1400085f0]
movups xmmword [rax - 0x38], xmm1
movsd xmm0, qword [0x140008600]
movsd qword [rax - 0x28], xmm0
movzx eax, word [0x140008608]
mov word [rsp + 0x78], ax
cmp dword [0x14000b050], 2
jl 0x1400043a2
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmm6, xmmword [0x140008870]
movdqa xmm0, xmmword [str.7777777777777777O]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x1400042a0
cmp ecx, 0x2a
jge 0x1400043dc
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2a
jl 0x1400043b0
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400043f0
call fcn.140005b88
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140002300
nop
lea rcx, [rsp + 0x30]
call fcn.140002dd0
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140004471
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000446c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000446c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006080
test bl, bl
setne al
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
ret
Function at 0x140004490
Capabilities:
Check for debugger via api
Terminate process

Disassembly:
sub rsp, 0x48
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
call fcn.1400035b0
test al, al
jne 0x1400045b1
call fcn.140003d30
test al, al
jne 0x1400045b1
call fcn.140003fb0
test al, al
jne 0x1400045b1
call fcn.1400037b0
test al, al
jne 0x1400045b1
call fcn.140004220
test al, al
jne 0x1400045b1
call fcn.140003970
test al, al
jne 0x1400045b1
call fcn.140003b80
test al, al
jne 0x1400045b1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x30], 0
jne 0x1400045b1
call fcn.140002ed0
test eax, eax
jne 0x1400045b1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1400045b1
lea rcx, str.ntdll.dll
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov qword [rsp + 0x20], 0
mov rcx, rax
lea r8, [rsp + 0x30]
lea edx, [r9 + 0x1a]
call rbx
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x140004596
cmp qword [rsp + 0x30], 0
jne 0x1400045b1
call fcn.140003130
test eax, eax
jne 0x1400045b1
call fcn.140003370
test eax, eax
jne 0x1400045b1
call fcn.140003590
test eax, eax
je 0x1400045bd
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140006060
add rsp, 0x48
ret

Function at 0x1400045d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
lea r15, [0x14000b090]
xor r9d, r9d
lea r12, [rsp + 0x20]
mov r11d, 1
mov r14, qword [r12]
mov ebx, 2
mov edi, 3
mov qword [r12], r9
mov esi, 4
sub r11, r15
sub rbx, r15
sub rdi, r15
sub rsi, r15
mov ebp, 5
sub rbp, r15
mov r10, r8
movabs r13, 0xc0c0c0c0c0c0c0c1
nop dword [rax]
lea r8, [r9 + r15]
mov rcx, r9
mov rax, r13
mul r9
add r9, 6
shr rdx, 7
imul rax, rdx, 0xaa
sub rcx, rax
movzx eax, byte [rcx + r10]
lea rcx, [r8 + r11]
xor byte [r8], al
mov rax, r13
mul rcx
shr rdx, 7
imul rax, rdx, 0xaa
sub rcx, rax
movzx eax, byte [rcx + r10]
lea rcx, [r8 + rbx]
xor byte [r8 + 1], al
mov rax, r13
mul rcx
shr rdx, 7
imul rax, rdx, 0xaa
sub rcx, rax
movzx eax, byte [rcx + r10]
lea rcx, [r8 + rdi]
xor byte [r8 + 2], al
mov rax, r13
mul rcx
shr rdx, 7
imul rax, rdx, 0xaa
sub rcx, rax
movzx eax, byte [rcx + r10]
lea rcx, [r8 + rsi]
xor byte [r8 + 3], al
mov rax, r13
mul rcx
shr rdx, 7
imul rax, rdx, 0xaa
sub rcx, rax
movzx eax, byte [rcx + r10]
lea rcx, [r8 + rbp]
xor byte [r8 + 4], al
mov rax, r13
mul rcx
shr rdx, 7
imul rax, rdx, 0xaa
sub rcx, rax
movzx eax, byte [rcx + r10]
xor byte [r8 + 5], al
cmp r9, 0x117000
jb 0x140004640
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov qword [r12], r14
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140004740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rdi, [rsp + 0x48]
xor ecx, ecx
mov rbx, qword [rdi]
lea r10, [0x140122090]
mov qword [rdi], rcx
cmp byte [0x14012213a], cl
je 0x140004900
cmp dword [0x14000b050], 2
jl 0x1400048c0
movdqa xmm0, xmmword [str.7777777777777777O]
lea rdx, [0x140122094]
movdqa xmm5, xmmword [0x140008850]
movdqa xmm4, xmmword [0x1400088a0]
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm6
movdqa xmm6, xmmword [0x140008870]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
mov eax, ecx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140008880]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0xa8
jl 0x1400047b0
movaps xmm6, xmmword [rsp + 0x30]
cmp eax, 0xab
jge 0x140004900
movsxd r9, ecx
add r9, r10
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r9 - 1], al
cmp ecx, 0xab
jl 0x1400048d0
mov r8, r10
call fcn.1400045d0
mov qword [rdi], rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140005ae8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140005b22
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140005b27
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140005b70
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140008350]
cmp byte [rcx + rax], 0
je 0x140005b70
dec r8
sub rdx, 1
jne 0x140005b56
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140006a5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006aa6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006aa6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006aa6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006aa6
cmp dword [rcx + 0x84], 0xe
jbe 0x140006aa6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006aa8
xor al, al
add rsp, 0x28
ret
Function at 0x14000ceb0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov qword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x5000
lea rcx, [0x14002fad0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14000cf5f
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14000cf5f
lea rcx, [rsp + 0x30]
call fcn.140005830
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_static_class_QString___cdecl_QDir::cleanPath_class_QString_const____ptr64_]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140024980
add rsp, 0x60
pop rbx
ret
Function at 0x14000d8e0
Capabilities:
Delete registry key

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.14000d5a0
test al, al
jne 0x14000d954
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x14000d9d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core_Ad_5.dll__trimmed_QString__QEGBA_AV1_XZ]
mov rcx, qword [rax]
cmp dword [rcx + 4], 0
sete bl
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test bl, bl
jne 0x14000d93b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1400057b0
xor r9d, r9d
mov r8d, 0x100
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov ebx, eax
mov rcx, qword [rsp + 0x20]
call fcn.140024c88
test ebx, 0xfffffffd
sete bl
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140024980
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14000d9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x1088
call fcn.140025ff0
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x60], r9
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.14000d190
mov r15, rax
test rax, rax
jne 0x14000da75
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
jmp 0x14000dae2
mov dword [rsp + 0x68], 0x1000
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.1400057b0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call fcn.140024c88
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
test ebx, ebx
je 0x14000dad7
mov rdx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
jmp 0x14000dae2
lea rdx, [rsp + 0x70]
call fcn.140005830
nop
mov rcx, r14
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbp
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.140024980
add rsp, 0x1088
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000dc00
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1070
call fcn.140025ff0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140050008]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], r8
mov rdx, rcx
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov r9b, 1
movzx r8d, r9b
xor edx, edx
mov rcx, rax
call fcn.14000d190
mov r14, rax
test rax, rax
jne 0x14000dc92
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbp
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x14000dd1c
mov r8d, 0x800
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400153d0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.1400057b0
mov rdx, qword [rax]
mov rcx, qword [rsi]
mov eax, dword [rcx + 4]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call fcn.140024c88
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bl
mov rcx, rdi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rbp
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rcx, rsi
call qword [sym.imp.Qt5Core_Ad_5.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.140024980
add rsp, 0x1070
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140024b34
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140024bc5
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140024bc5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140024bc5
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140024ba9
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140024ba3
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140024bab
add rdx, 0x28
jmp 0x140024b88
xor edx, edx
test rdx, rdx
jne 0x140024bb4
xor al, al
jmp 0x140024bcb
test dword [rdx + 0x24], 0x80000000
je 0x140024bc1
xor al, al
jmp 0x140024bcb
mov al, 1
jmp 0x140024bcb
xor al, al
jmp 0x140024bcb
add rsp, 0x18
ret