joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400112f8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
xorps xmm0, xmm0
mov rdi, rcx
lea rcx, [rbp + 7]
mov r15, rdx
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
and qword [rdi + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xor edx, edx
movups xmmword [rbp - 0x49], xmm0
movups xmmword [rbp - 0x39], xmm0
jmp 0x140011439
cmp dword [rbp - 0x39], 0x1000
jne 0x14001142e
mov rsi, qword [rdi + 0x18]
movups xmm0, xmmword [rbp - 0x59]
mov rbx, rsi
mov rcx, rsi
movups xmm1, xmmword [rbp - 0x49]
movups xmm2, xmmword [rbp - 0x39]
movq rdx, xmm0
mov qword [rbp + 0x67], rdx
mov rax, qword [rsi + 8]
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 9], xmm2
jmp 0x14001139a
cmp qword [rax + 0x20], rdx
jae 0x140011394
mov rax, qword [rax + 0x10]
jmp 0x14001139a
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140011388
cmp rbx, rcx
je 0x1400113ab
cmp rdx, qword [rbx + 0x20]
jae 0x140011407
mov ecx, 0x58
call fcn.140034324
mov rcx, qword [rbp + 0x67]
lea rdx, [rbp + 0x77]
xorps xmm0, xmm0
mov qword [rsp + 0x20], rax
mov r8, rbx
lea r9, [rax + 0x20]
mov qword [r9], rcx
lea rcx, [rdi + 0x18]
movups xmmword [r9 + 8], xmm0
movups xmmword [r9 + 0x18], xmm0
movups xmmword [r9 + 0x28], xmm0
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
and word [rax + 0x18], 0
call fcn.1400124ec
movups xmm0, xmmword [rbp - 0x29]
mov rbx, qword [rbp + 0x77]
movups xmm1, xmmword [rbp - 0x19]
movups xmm2, xmmword [rbp - 9]
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x38], xmm1
movups xmmword [rbx + 0x48], xmm2
test byte [rbp - 0x35], 0x70
je 0x14001142e
mov r8, qword [rbp - 0x41]
xor edx, edx
mov ecx, dword [rbp + 0xb]
mov rax, r8
div rcx
add qword [rdi + 0x10], rax
jmp 0x140011432
mov r8, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x59]
add rdx, r8
mov r9d, 0x30
lea r8, [rbp - 0x59]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
je 0x14001134a
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015bbc
Capabilities:
Create pipe

Disassembly:
push rbx
sub rsp, 0x40
cmp dword [rcx + 0xe0], 0
mov rbx, rcx
jne 0x140015ca3
xor r8d, r8d
mov dword [rcx + 0xe0], 2
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x70], rax
test rax, rax
je 0x140015ca3
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x100], rax
test rax, rax
je 0x140015ca3
lea rcx, [rbx + 0x68]
mov dword [rsp + 0x28], 4
or dword [rsp + 0x20], 0xffffffff
lea r8, [0x1400164d0]
mov r9, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x140015ca3
mov rax, qword [rbx + 0x58]
lea rcx, [rbx + 0x38]
cmp qword [rcx + 0x18], 8
jb 0x140015c54
mov rcx, qword [rcx]
mov qword [rsp + 0x38], rax
mov edx, 0x40080003
and dword [rsp + 0x30], 0
mov eax, 0x40
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9d, [rax - 0x3f]
lea r8d, [rax - 0x3a]
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x140015ca3
mov rcx, qword [rbx + 0x100]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x140015cab
mov dword [rbx + 0xe0], 1
xor al, al
add rsp, 0x40
pop rbx
ret
mov al, 1
jmp 0x140015ca5
Function at 0x140015e44
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r15d, r15d
mov dword [rbp - 9], 2
xorps xmm0, xmm0
mov dword [rbp - 1], r15d
xorps xmm1, xmm1
movdqa xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r15
mov rbx, rdx
movups xmmword [rbp + 0x1f], xmm1
mov qword [rbp + 0x2f], r15
mov rdi, rcx
movdqa xmmword [rbp + 0x37], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 5], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rbx + 0x40]
lea r9, [rbp + 0x2f]
mov rdx, qword [rbx + 0x48]
mov rcx, rax
mov dword [rsp + 0x30], r15d
mov rsi, rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140015f84
mov r8, qword [rbx + 0x40]
lea r9, [rbp + 0x37]
mov rdx, qword [rbx + 0x50]
mov rcx, rsi
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x100002
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140015f84
mov r8, qword [rbx + 0x40]
lea r9, [rbp + 0x3f]
mov rdx, qword [rdi + 0x70]
mov rcx, rsi
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140015f84
mov rcx, qword [rdi + 0x60]
lea rax, [rdi + 0xe8]
lea r9, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
lea r8d, [r15 + 0x50]
mov dword [rbp + 0x6f], r15d
lea rdx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne sil
test eax, eax
je 0x140015f5e
mov eax, r15d
jmp 0x140015f64
call qword [sym.imp.KERNEL32.dll_GetLastError]
test sil, sil
jne 0x140015f74
cmp eax, 0x3e5
jne 0x140016006
mov rdx, rbx
mov rcx, rdi
call fcn.1400163d0
jmp 0x140016008
mov rdx, qword [rbp + 0x2f]
mov edi, 1
test rdx, rdx
je 0x140015fb4
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov qword [rbp + 0x2f], r15
mov rdx, qword [rbp + 0x37]
test rdx, rdx
je 0x140015fdf
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov qword [rbp + 0x37], r15
mov rdx, qword [rbp + 0x3f]
test rdx, rdx
je 0x140016006
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
Function at 0x140018370
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rsi, rdx
mov byte [rbp + 0x28], 0
mov rdi, rcx
lea rdx, [rbp + 0x28]
lea rcx, [0x14001847c]
mov rbx, r8
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.14000144c
mov rcx, rax
test rax, rax
je 0x14001846f
mov rax, qword [rax]
call qword [rax + 0x18]
mov r9, rbx
lea rdx, str._s_s.dmp
add rax, 0x18
lea rcx, [rbp - 0x10]
mov r8, rsi
mov qword [rbp - 0x10], rax
call fcn.14000b014
lea rcx, [rbp - 0x10]
call fcn.14000b7d8
mov dl, byte [rdi]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.140019194
cmp byte [rdi + 1], 0
je 0x14001843c
mov r9, rbx
lea rdx, str._s_s_full.dmp
mov r8, rsi
lea rcx, [rbp - 0x10]
call fcn.14000b014
lea rcx, [rbp - 0x10]
call fcn.14000b7d8
mov rbx, qword [rbp - 0x10]
mov rcx, rbx
call fcn.1400065a4
test al, al
je 0x140018440
mov dl, byte [rdi]
lea r8, [rbp - 0x10]
mov cl, byte [rbp + 0x28]
xor r9d, r9d
call fcn.140019194
jmp 0x140018440
mov rbx, qword [rbp - 0x10]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001845a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x140018a40
Capabilities:
Delete directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x30], 0
mov r14, rdx
mov sil, cl
call fcn.14001a584
call fcn.14000144c
test sil, sil
je 0x140018ad1
test rax, rax
je 0x140018c3f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rdx, str.GoogleCrashReports
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x20], rax
call fcn.1400055c0
mov rdx, rax
lea r9, [rbp - 0x20]
mov r8b, 1
mov ecx, 0x26
call fcn.140019ae8
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140018ac6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp - 0x20]
mov ebx, 1
jmp 0x140018b39
mov rcx, rax
test rax, rax
je 0x140018c3f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rdx, str.GoogleCrashReports
lea rcx, [rbp - 0x10]
mov qword [rbp + 0x48], rax
call fcn.1400055c0
mov rdx, rax
lea r9, [rbp + 0x48]
mov r8b, 1
mov ecx, 0x1c
call fcn.140019ae8
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140018b30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rbp + 0x48]
mov ebx, 2
lea rcx, [rbp + 0x40]
call fcn.14000564c
test bl, 2
je 0x140018b68
mov rdx, qword [rbp + 0x48]
and ebx, 0xfffffffd
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140018b68
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bl, 1
je 0x140018b8b
mov rdx, qword [rbp - 0x20]
mov eax, edi
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140018b8b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
je 0x140018bb6
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
je 0x140018bc0
lea rcx, [rbp + 0x40]
call fcn.140018814
test eax, eax
jns 0x140018bb6
mov rbx, qword [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140018bba
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
jne 0x140018c04
lea rcx, [rbp - 8]
call fcn.1400061a8
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1400017c8
mov rdx, qword [rbp - 8]
mov eax, edi
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140018bf3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x40]
cmp dword [rbx - 0x10], 0
jne 0x140018c04
mov esi, 0x8004fffc
jmp 0x140018c17
test r14, r14
je 0x140018c15
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.1400017c8
xor esi, esi
lea rdx, [rbx - 0x18]
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140018c32
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, esi
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x140018dc8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbp, rcx
lea rdx, str.ClientCustomData
lea rcx, [rsp + 0x30]
call fcn.1400055c0
call fcn.14000144c
xor edi, edi
mov rcx, rax
test rax, rax
je 0x140018f33
mov rax, qword [rax]
call qword [rax + 0x18]
mov r8, qword [rsp + 0x30]
lea rdx, str.__s__r_n
add rax, 0x18
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
call fcn.14000b05c
mov rax, qword [rsi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140018e8f
mov r9, qword [rbx + 0x28]
lea rdx, str._s_s_r_n
mov r8, qword [rbx + 0x20]
lea rcx, [rsp + 0x78]
call fcn.14000b05c
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], dil
je 0x140018e6f
mov rax, qword [rbx + 8]
jmp 0x140018e64
cmp rbx, qword [rax + 0x10]
jne 0x140018e6a
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], dil
je 0x140018e57
mov rbx, rax
jmp 0x140018e8a
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], dil
jne 0x140018e8a
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], dil
je 0x140018e7b
cmp rbx, qword [rsi]
jne 0x140018e2e
mov rbx, qword [rsp + 0x78]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], edi
mov rdx, rbx
mov rcx, rbp
mov qword [rsp + 0x20], rdi
mov r8d, dword [rbx - 0x10]
add r8d, r8d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140018ee0
call fcn.14000b9b8
lea rdx, [rbx - 0x18]
mov esi, eax
or ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x140018eff
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
jmp 0x140018eff
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140018efd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov esi, edi
mov rdx, qword [rsp + 0x30]
mov ecx, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ecx
add ecx, ebx
test ecx, ecx
jg 0x140018f1f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rbx, qword [rsp + 0x60]
test esi, esi
cmovs edi, esi
mov eax, edi
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x14001b4a0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call fcn.140021750
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
lea rdx, [rsp + 0x30]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
xor ebx, ebx
test eax, eax
je 0x14001b506
lea rcx, [rsp + 0x30]
call fcn.140006850
test al, al
je 0x14001b506
mov al, 1
jmp 0x14001b54c
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
mov edx, 0x64
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov rdi, qword [rsp + 0x28]
test eax, eax
jne 0x14001b541
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14001b541
lea rdx, str.google
call fcn.14002fc14
test eax, eax
jne 0x14001b541
mov bl, 1
mov rcx, rdi
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140020b40
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x14001cfe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x30], 0
mov r14b, cl
xorps xmm0, xmm0
lea rcx, [rbp - 0x30]
movdqu xmmword [rbp - 0x28], xmm0
call fcn.14001c924
test eax, eax
js 0x14001d180
mov rax, qword [rbp - 0x28]
cmp qword [rbp - 0x30], rax
je 0x14001d180
call fcn.14001a584
lea rax, str.HKCUSoftwareGoogleUpdate_
test r14b, r14b
lea rdx, str.HKLMSoftwareGoogleUpdate_
cmove rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400055c0
lea rdx, [0x14004def0]
lea rcx, [rbp + 0x40]
call fcn.1400055c0
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x48]
call fcn.140004d08
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400017c8
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d090
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d0ae
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x38]
mov rcx, rbx
call fcn.14000a684
test al, al
jne 0x14001d0cf
mov dl, 1
mov cl, r14b
call fcn.14001d1a4
mov edi, eax
jmp 0x14001d160
and qword [rbp - 0x10], 0
lea rax, [0x14004a910]
mov r8d, 1
mov qword [rbp - 0x18], rax
mov rdx, rbx
mov dword [rbp - 8], 0x200
lea rcx, [rbp - 0x18]
call fcn.140009ee8
mov edi, eax
test eax, eax
js 0x14001d14c
mov rdi, qword [rbp - 0x28]
xor esi, esi
mov r15, qword [rbp - 0x30]
sub rdi, r15
sar rdi, 3
test rdi, rdi
je 0x14001d140
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rdx, qword [r15 + rsi*8]
xor r8d, r8d
mov rcx, qword [rbp - 0x10]
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14001d17c
inc rsi
cmp rsi, rdi
jb 0x14001d114
xor edx, edx
mov cl, r14b
call fcn.14001d1a4
mov edi, eax
lea rax, [0x14004a910]
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], rax
call fcn.140009ca0
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d185
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14001d185
xor edi, edi
jmp 0x14001d14c
mov edi, 1
lea rcx, [rbp - 0x30]
call fcn.1400064f4
mov rbx, qword [rsp + 0x90]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d1a4
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x20], 0
lea rax, [0x14004b738]
mov sil, dl
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x28]
mov dil, cl
call fcn.14001ccc0
mov rax, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call qword [rax + 8]
and qword [rbp - 0x10], 0
lea r12, [0x14004a910]
mov qword [rbp - 0x18], r12
mov dword [rbp - 8], 0x200
call fcn.14001a584
lea rax, str.HKCUSoftwareGoogleUpdate_
test dil, dil
lea rdx, str.HKLMSoftwareGoogleUpdate_
mov r8d, 0xf003f
cmove rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140009ee8
mov rcx, qword [rbp - 0x10]
lea rdx, str.old_uid
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [0x14004def0]
test eax, eax
jne 0x14001d259
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x14001d361
and qword [rbp + 0x48], 0
lea rax, [rbp + 0x48]
and dword [rbp + 0x30], 0
lea r9, [rbp - 0x30]
lea r8, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x18]
call fcn.14000a164
test eax, eax
jns 0x14001d28b
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14001d2cf
jmp 0x14001d2ca
mov eax, dword [rbp + 0x30]
lea rdx, str.old_uid
mov rbx, qword [rbp - 0x30]
lea rcx, [rbp - 0x18]
mov r9, qword [rbp + 0x48]
mov r8, rbx
mov dword [rsp + 0x20], eax
call fcn.14000a63c
test eax, eax
js 0x14001d2c2
mov rcx, qword [rbp - 0x10]
lea rdx, [0x14004def0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rbx, rbx
je 0x14001d2cf
mov rcx, rbx
call fcn.140020dec
test sil, sil
je 0x14001d361
call fcn.14000144c
mov rcx, rax
test rax, rax
je 0x14001d399
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea r8, [rbp + 0x40]
lea rdx, str.old_uid
mov qword [rbp + 0x40], rax
lea rcx, [rbp - 0x18]
call fcn.14000a350
lea rcx, str.__legacy
call fcn.140034f34
mov r8d, eax
lea rdx, str.__legacy
lea rcx, [rbp + 0x40]
call fcn.1400057dc
mov rbx, qword [rbp + 0x40]
lea rdx, str.old_uid
mov r8, rbx
lea rcx, [rbp - 0x18]
mov r9d, 1
call fcn.14000a5cc
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001d361
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov cl, dil
call fcn.14001d3a4
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], r12
mov ebx, eax
call fcn.140009ca0
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call qword [rdx + 0x10]
lea rcx, [rbp - 0x28]
call fcn.140009b18
mov eax, ebx
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3
Function at 0x14001d664
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov bl, cl
test cl, cl
je 0x14001d689
call fcn.14000b438
test al, al
je 0x14001d746
and qword [rbp - 0x28], 0
lea rax, [0x14004b738]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
mov cl, bl
call fcn.14001ccc0
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [rax + 8]
and qword [rbp - 0x18], 0
lea rdi, [0x14004a910]
mov qword [rbp - 0x20], rdi
mov dword [rbp - 0x10], 0x200
call fcn.14001a584
lea rax, str.HKCUSoftwareGoogleUpdate_
test bl, bl
lea rdx, str.HKLMSoftwareGoogleUpdate_
mov r8d, 0xf003f
cmove rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140009ee8
test eax, eax
js 0x14001d725
mov rcx, qword [rbp - 0x18]
lea rdx, [0x14004def0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x18]
lea rdx, str.old_uid
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x18]
lea rdx, [0x14004def0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rdi
call fcn.140009ca0
mov rax, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [rax + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140009b18
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x14001d868
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test dl, dl
je 0x14001d883
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x14001d889
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, 0x409
lea r10, [0x140049640]
movzx edx, ax
mov r8, rdi
mov eax, ecx
cmp dx, ax
je 0x14001d8b6
inc r8
imul rax, r8, 0x1a
movzx eax, word [rax + r10]
test ax, ax
jne 0x14001d89d
movzx edx, cx
mov r9, rdi
mov r8d, edi
cmp cx, dx
je 0x14001d8de
inc r9
inc r8d
imul rax, r9, 0x1a
movzx ecx, word [rax + r10]
test cx, cx
jne 0x14001d8bc
lea rdx, [0x140047b18]
jmp 0x14001d8ef
movsxd rax, r8d
imul rdx, rax, 0x1a
lea rax, [0x140049642]
add rdx, rax
mov rcx, rbx
call fcn.1400055c0
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f02c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
mov rsi, rdx
lea rcx, [0x140053cb8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r14, qword [rsi + 0x28]
lea rcx, [0x140053cb8]
and qword [rsi + 0x28], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14, r14
je 0x14001f135
lea rdi, [rbx + 0x38]
cmp qword [rdi], 0
jne 0x14001f091
mov rdx, qword [rbx + 0x20]
lea r8, str.Counts
mov rcx, rdi
call fcn.14001edb4
test eax, eax
jne 0x14001f135
mov rdx, qword [rsi + 8]
lea rcx, [rbp - 0x10]
call fcn.140006eec
mov rbx, qword [rbp - 0x10]
lea rax, [rbp + 0x38]
mov rcx, qword [rdi]
lea r9, [rbp + 0x40]
and qword [rbp + 0x48], 0
mov esi, 8
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp + 0x48]
mov dword [rbp + 0x38], esi
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001f0e7
cmp dword [rbp + 0x40], 3
jne 0x14001f0e7
test eax, eax
jne 0x14001f0e7
cmp dword [rbp + 0x38], esi
je 0x14001f0f5
mov r8, rsi
lea rcx, [rbp + 0x48]
xor edx, edx
call fcn.140021750
mov rcx, qword [rdi]
lea rax, [rbp + 0x48]
add qword [rbp + 0x48], r14
mov r9d, 3
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f135
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14001f2dc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
lea rcx, [0x140053cb8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [rsi + 0x28]
lea rcx, [0x140053cb8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x58], rbx
test rbx, rbx
je 0x14001f38e
lea rbx, [rdi + 0x68]
cmp qword [rbx], 0
jne 0x14001f33a
mov rdx, qword [rdi + 0x20]
lea r8, str.Integers
mov rcx, rbx
call fcn.14001edb4
test eax, eax
jne 0x14001f38e
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x60]
call fcn.140006eec
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rcx
mov r9d, 3
mov rcx, qword [rbx]
xor r8d, r8d
mov rdx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f38e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret