joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b860
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14000d240]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.14000b5f0
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x14000b86d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14000d240]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
call fcn.14000b5f0
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x14000b940
Capabilities:
Encode data using xor

Disassembly:
xor eax, dword [r15]
xor ebx, dword [r15 + 4]
xor ecx, dword [r15 + 8]
xor edx, dword [r15 + 0xc]
mov r13d, dword [r15 + 0xf0]
sub r13d, 1
jmp 0x14000b960
movzx esi, al
movzx edi, bl
movzx ebp, cl
mov r10d, dword [r14 + rsi*8]
mov r11d, dword [r14 + rdi*8]
mov r12d, dword [r14 + rbp*8]
movzx esi, dh
movzx edi, ah
movzx ebp, dl
xor r10d, dword [r14 + rsi*8 + 3]
xor r11d, dword [r14 + rdi*8 + 3]
mov r8d, dword [r14 + rbp*8]
movzx esi, bh
shr eax, 0x10
movzx ebp, ch
xor r12d, dword [r14 + rsi*8 + 3]
shr edx, 0x10
xor r8d, dword [r14 + rbp*8 + 3]
shr ebx, 0x10
lea r15, [r15 + 0x10]
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
xor r10d, dword [r14 + rsi*8 + 2]
xor r11d, dword [r14 + rdi*8 + 2]
xor r12d, dword [r14 + rbp*8 + 2]
movzx esi, bh
movzx edi, ch
movzx ebp, bl
xor r10d, dword [r14 + rsi*8 + 1]
xor r11d, dword [r14 + rdi*8 + 1]
xor r8d, dword [r14 + rbp*8 + 2]
movzx esi, dh
mov edx, dword [r15 + 0xc]
movzx ebp, ah
xor r12d, dword [r14 + rsi*8 + 1]
mov eax, dword [r15]
xor r8d, dword [r14 + rbp*8 + 1]
xor eax, r10d
mov ebx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
xor ecx, r12d
xor ebx, r11d
xor edx, r8d
sub r13d, 1
jne 0x14000b960
lea r14, [r14 + 0x800]
movzx esi, al
movzx edi, bl
movzx ebp, cl
movzx r10d, byte [r14 + rsi]
movzx r11d, byte [r14 + rdi]
movzx r12d, byte [r14 + rbp]
movzx esi, dl
movzx edi, dh
movzx ebp, ah
movzx r8d, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl edi, 8
shl ebp, 8
xor r10d, edi
xor r11d, ebp
shr edx, 0x10
movzx esi, bh
movzx edi, ch
shr eax, 0x10
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
shl esi, 8
shl edi, 8
shr ebx, 0x10
xor r12d, esi
xor r8d, edi
shr ecx, 0x10
movzx esi, cl
movzx edi, dl
movzx ebp, al
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x10
shl ebp, 0x10
xor r10d, esi
xor r11d, edi
xor r12d, ebp
movzx esi, bl
movzx edi, bh
movzx ebp, ch
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
movzx ebp, byte [r14 + rbp]
shl esi, 0x10
shl edi, 0x18
shl ebp, 0x18
xor r8d, esi
xor r10d, edi
xor r11d, ebp
movzx esi, dh
movzx edi, ah
mov edx, dword [r15 + 0x1c]
movzx esi, byte [r14 + rsi]
movzx edi, byte [r14 + rdi]
mov eax, dword [r15 + 0x10]
shl esi, 0x18
shl edi, 0x18
xor r12d, esi
xor r8d, edi
mov ebx, dword [r15 + 0x14]
mov ecx, dword [r15 + 0x18]
lea r14, [r14 - 0x800]
xor eax, r10d
xor ebx, r11d
xor ecx, r12d
xor edx, r8d
repz ret
Function at 0x14000be10
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14000de80]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.14000bb20
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret

Function at 0x14000be1d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rax, rsp
push rbx
push rbp
push r12
push r13
push r14
push r15
lea rcx, [rdx - 0x3f]
and rsp, 0xffffffffffffffc0
sub rcx, rsp
neg rcx
and rcx, 0x3c0
sub rsp, rcx
sub rsp, 0x20
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rax
mov r15, rdx
mov r13d, dword [r15 + 0xf0]
mov eax, dword [rdi]
mov ebx, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov edx, dword [rdi + 0xc]
shl r13d, 4
lea rbp, [r15 + r13]
mov qword [rsp], r15
mov qword [rsp + 8], rbp
lea r14, [0x14000de80]
lea rbp, [rsp + 0x300]
sub rbp, r14
and rbp, 0x300
lea r14, [r14 + rbp]
shr rbp, 3
add r14, rbp
call fcn.14000bb20
mov r9, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov dword [r9], eax
mov dword [r9 + 4], ebx
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], edx
mov r15, qword [rsi - 0x30]
mov r14, qword [rsi - 0x28]
mov r13, qword [rsi - 0x20]
mov r12, qword [rsi - 0x18]
mov rbp, qword [rsi - 0x10]
mov rbx, qword [rsi - 8]
lea rsp, [rsi]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x140011990
Capabilities:
Encode data using xor

Disassembly:
lea r11, [0x140013740]
movdqu xmm7, xmmword [rcx]
lea rcx, [rcx + 0x10]
movdqa xmm0, xmmword [r11]
movdqa xmm1, xmmword [r11 + 0x10]
movdqa xmm2, xmmword [r11 + 0x20]
movdqa xmm3, xmmword [r11 + 0x30]
movdqa xmm4, xmmword [r11 + 0x40]
pcmpeqd xmm5, xmm5
movdqu xmm6, xmmword [rcx]
movdqa xmmword [rax], xmm7
lea rax, [rax + 0x10]
dec r10d
jmp 0x1400119e0
pshufb xmm6, xmm4
movdqa xmm8, xmm0
movdqa xmm9, xmm1
pand xmm8, xmm6
pand xmm9, xmm6
movdqa xmm10, xmm2
pcmpeqb xmm8, xmm0
psllq xmm0, 4
movdqa xmm11, xmm3
pcmpeqb xmm9, xmm1
psllq xmm1, 4
pand xmm10, xmm6
pand xmm11, xmm6
movdqa xmm12, xmm0
pcmpeqb xmm10, xmm2
psllq xmm2, 4
movdqa xmm13, xmm1
pcmpeqb xmm11, xmm3
psllq xmm3, 4
movdqa xmm14, xmm2
movdqa xmm15, xmm3
pxor xmm8, xmm5
pxor xmm9, xmm5
pand xmm12, xmm6
pand xmm13, xmm6
movdqa xmmword [rax], xmm8
pcmpeqb xmm12, xmm0
psrlq xmm0, 4
movdqa xmmword [rax + 0x10], xmm9
pcmpeqb xmm13, xmm1
psrlq xmm1, 4
lea rcx, [rcx + 0x10]
pand xmm14, xmm6
pand xmm15, xmm6
movdqa xmmword [rax + 0x20], xmm10
pcmpeqb xmm14, xmm2
psrlq xmm2, 4
movdqa xmmword [rax + 0x30], xmm11
pcmpeqb xmm15, xmm3
psrlq xmm3, 4
movdqu xmm6, xmmword [rcx]
pxor xmm13, xmm5
pxor xmm14, xmm5
movdqa xmmword [rax + 0x40], xmm12
movdqa xmmword [rax + 0x50], xmm13
movdqa xmmword [rax + 0x60], xmm14
movdqa xmmword [rax + 0x70], xmm15
lea rax, [rax + 0x80]
dec r10d
jne 0x1400119e0
movdqa xmm7, xmmword [r11 + 0x50]
repz ret
Function at 0x1400140c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400141e0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x140014120
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x140014120
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x140014120
Function at 0x140033664
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x20
and qword [rcx + 8], 0
lea r8, str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
mov rbx, rcx
mov byte [rcx], 0
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 8], rax
test rax, rax
je 0x1400336a4
mov edx, 0x1388
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete al
mov byte [rbx], al
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400342b0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x50], 0
lea r8, [rbp - 0x48]
and qword [rbp - 0x48], 0
lea rcx, str.PTimes
and dword [rbp - 0x40], 0
mov ebx, edx
and qword [rbp - 0x38], 0
mov edx, 0x20006
call fcn.140033b54
mov edx, ebx
lea rcx, [rbp - 0x28]
call fcn.140033a58
cmp qword [rbp - 0x10], 8
lea rdx, [rbp - 0x28]
mov rcx, qword [rbp - 0x48]
cmovae rdx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp qword [rbp - 0x10], 8
lea rax, [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
lea rdx, [rbp - 0x28]
cmovae rdx, qword [rbp - 0x28]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x30]
mov dword [rbp - 0x50], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dl, 1
lea rcx, [rbp - 0x28]
test eax, eax
setne bl
xor r8d, r8d
call fcn.140029bc0
lea rcx, [rbp - 0x48]
call fcn.14005d610
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret

Function at 0x140034580
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov ecx, edx
mov dword [rbp - 0x60], ebx
call fcn.140034d90
mov rdx, rax
test rax, rax
je 0x14003465a
mov qword [rbp - 0x50], rdx
cmp byte [rax], bl
jne 0x1400345c3
mov rax, rbx
jmp 0x1400345cf
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], bl
jne 0x1400345c7
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x50]
lea rcx, [rbp - 0x30]
movdqa xmmword [rbp - 0x50], xmm0
call fcn.140050f50
lea r8, [rbp - 0x50]
mov qword [rbp - 0x50], rbx
mov edx, 0x20006
mov dword [rbp - 0x48], ebx
lea rcx, str.RLZs
mov qword [rbp - 0x40], rbx
call fcn.140033b54
cmp qword [rbp - 0x18], 8
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp - 0x50]
cmovae rdx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp qword [rbp - 0x18], 8
lea rdx, [rbp - 0x30]
lea r8, [rbp - 0x60]
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14005da50
test eax, eax
lea rcx, [rbp - 0x50]
setne bl
call fcn.14005d610
xor r8d, r8d
lea rcx, [rbp - 0x30]
mov dl, 1
call fcn.140029bc0
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rbp
ret
Function at 0x1400368bc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, str.app_host.exe
mov qword [r11 - 0x50], 0xc
mov qword [r11 - 0x58], rax
lea r8, [r11 - 0x48]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [r11 - 0x38]
add rcx, 8
movdqa xmmword [rsp + 0x30], xmm0
call fcn.14005add0
cmp qword [rsp + 0x58], 8
lea rcx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140036964
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14004e490
mov dil, al
xor ebx, ebx
mov rax, qword [0x14017bfe8]
test rax, rax
jne 0x140036952
lea rcx, str.Setup.Install.DeleteAppHost
call fcn.1400546a0
mov qword [0x14017bfe8], rax
mov r8, qword [rax]
test dil, dil
mov rcx, rax
setne bl
mov edx, ebx
call qword [r8 + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400599c0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x140037540
Capabilities:
Create process on windows
Create process suspended
Inject apc
Resume thread
Self delete
Terminate process
Use process replacement

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
xor edi, edi
mov r14, rdx
mov dword [rsp + 0x68], edi
mov rbx, rcx
mov esi, edi
cmp r8d, 0x104
jb 0x140037578
xor al, al
jmp 0x14003776c
xor edx, edx
mov dword [rsp + 0x70], 0x68
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call fcn.140113400
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rax
mov r15d, 4
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, r14
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r14d, eax
test eax, eax
je 0x140037766
mov eax, dword [rbx + 0x10]
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov r9d, 0x1000
mov dword [rsp + 0x20], r15d
lea r8d, [rax*2 + 2]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
test rax, rax
je 0x1400376ef
cmp qword [rbx + 0x18], 8
mov r9, qword [rbx + 0x10]
mov qword [rsp + 0x68], rdi
jb 0x14003762c
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
lea r9, [r9*2 + 2]
mov qword [rsp + 0x20], rax
mov r8, rbx
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14014c58c]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x14014c580]
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x14014c5a8]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test r12, r12
je 0x1400376ea
test rsi, rsi
je 0x1400376ea
test rax, rax
je 0x1400376ea
mov rdx, qword [rsp + 0x58]
mov r8d, 0x2710
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rdx, qword [rsp + 0x58]
mov r8, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140037750
mov r14d, edi
jmp 0x140037750
cmp dword [0x14017c080], 2
jg 0x140037733
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 2
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x20], eax
mov r8d, 0x1b0
call fcn.140068d00
lea rdx, [0x14014c598]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov esi, 1
test sil, 1
je 0x140037742
lea rcx, [rbp - 0x20]
call fcn.140068d80
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
setne al
add rsp, 0x1f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14003b848
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohl
mov rax, rdx
lea rcx, str.VisualElements
mov qword [rbp - 0x69], rcx
lea rdx, [rbp + 0x27]
movaps xmm0, xmmword [rbp - 0x69]
xor ebx, ebx
mov rcx, rax
movdqa xmmword [rbp - 0x49], xmm0
mov dword [rbp - 0x59], ebx
call fcn.14005c170
cmp qword [rax + 0x18], 0x10
jb 0x14003b8ac
mov rcx, qword [rax]
jmp 0x14003b8af
mov rcx, rax
mov rax, qword [rax + 0x10]
lea r8, [rbp - 0x69]
mov qword [rbp - 0x69], rcx
lea rdx, [rbp + 7]
mov qword [rbp - 0x61], rax
mov rcx, rdi
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x69], xmm0
call fcn.14005b2a0
mov rcx, rax
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x19]
call fcn.14005add0
lea rcx, [rbp + 7]
call fcn.1400599c0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14003b909
mov rcx, qword [rbp + 0x27]
inc rdx
mov r8d, 1
call fcn.1400223b0
lea rcx, [rbp - 0x19]
call fcn.14004ed50
test al, al
je 0x14003b9a3
mov rax, qword [0x14017c010]
lea rdx, str.Logo_lsLight.png
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x10]
lea rcx, [rbp - 0x39]
mov r8, qword [rax + 0x20]
call fcn.1400657e0
cmp qword [rbp - 0x21], 8
lea rax, [rbp - 0x39]
lea r8, [rbp - 0x49]
cmovae rax, qword [rbp - 0x39]
lea rdx, [rbp + 7]
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x29]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x49], xmm0
call fcn.14005add0
cmp qword [rax + 0x18], 8
jb 0x14003b97b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
lea rcx, [rbp + 7]
setne bl
inc ebx
call fcn.1400599c0
xor r8d, r8d
lea rcx, [rbp - 0x39]
mov dl, 1
call fcn.140029bc0
lea rcx, [rbp - 0x19]
call fcn.1400599c0
mov eax, ebx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003feb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rax, qword [0x14017c010]
mov rcx, qword [rax + 8]
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp + 0x2f]
mov rdx, qword [rdx + 0x28]
call fcn.140049374
mov rax, qword [0x14017c010]
lea r8, [rbp + 0x2f]
mov r9d, 0x101
mov rcx, qword [rax + 8]
mov al, byte [rcx + 0x38]
lea rcx, [rbp - 9]
neg al
sbb rdx, rdx
xor ebx, ebx
neg rdx
mov qword [rbp - 9], rbx
add rdx, 0xffffffff80000001
mov dword [rbp - 1], ebx
cmp qword [rbp + 0x47], 8
mov qword [rbp + 7], rbx
cmovae r8, qword [rbp + 0x2f]
call fcn.14005d790
test eax, eax
jne 0x14003ffab
mov rcx, qword [rbp - 9]
lea rdx, [0x1401528b8]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003ff60
mov bl, 1
jmp 0x14003ffab
lea r8, [rbp + 0xf]
mov qword [rbp + 0x27], 7
lea rdx, [0x1401528d0]
mov qword [rbp + 0x1f], rbx
lea rcx, [rbp - 9]
mov word [rbp + 0xf], bx
call fcn.14005db50
test eax, eax
jne 0x14003ff9d
lea rdx, [0x14014dab8]
lea rcx, [rbp + 0xf]
call fcn.1400314b8
test eax, eax
setne bl
xor r8d, r8d
lea rcx, [rbp + 0xf]
mov dl, 1
call fcn.140029bc0
lea rcx, [rbp - 9]
call fcn.14005d610
xor r8d, r8d
lea rcx, [rbp + 0x2f]
mov dl, 1
call fcn.140029bc0
mov al, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rbp
ret