joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400024a4
Capabilities:
Create process on windows
Impersonate user

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x438]
sub rsp, 0x530
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x208
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x210]
call fcn.1400022a8
test eax, eax
je 0x1400026b4
lea rcx, [rbp + 0x210]
call fcn.1400018cc
mov edi, eax
test eax, eax
je 0x1400026b4
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, rsi
lea rcx, [rbp]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
and qword [rsp + 0x68], rbx
lea r8d, [rbx + 0x68]
xor edx, edx
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
xorps xmm0, xmm0
and qword [rsp + 0x60], rax
mov r8d, edi
xor edx, edx
mov qword [rbp - 0x80], rax
mov ecx, 0x400
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140002662
lea r8, [rsp + 0x68]
mov rcx, rax
lea edx, [rbx + 0xb]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140002662
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea esi, [rbx + 1]
lea r9d, [rbx + 2]
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, 0x18b
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140002662
and dword [rbp - 0x78], ebx
mov dword [rbp - 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
neg eax
lea rax, [rsp + 0x70]
sbb ecx, ecx
and dword [rbp - 0x78], ecx
mov rcx, qword [rsp + 0x60]
je 0x140002625
mov qword [rsp + 0x40], rax
lea r9, [rbp]
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
and qword [rsp + 0x30], rbx
and qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x8000000
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
jmp 0x14000265d
mov qword [rsp + 0x50], rax
lea r8, [rbp]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor edx, edx
and qword [rsp + 0x40], rbx
and qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x8000000
and dword [rsp + 0x28], ebx
and qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
cmovne ebx, esi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140002672
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140002680
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140002690
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400026a0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400026b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x1400026b6
xor eax, eax
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.14000a9f0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400026e0
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp + 0x2f], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x2f]
mov edx, 0x20008
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000280e
mov rcx, qword [rbp + 0x2f]
lea rax, [rbp + 0x27]
lea esi, [rdi + 1]
mov dword [rbp + 0x27], edi
mov edx, esi
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140002804
mov ebx, dword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
lea edx, [rdi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140002804
mov r9d, dword [rbp + 0x27]
lea rax, [rbp + 0x27]
mov rcx, qword [rbp + 0x2f]
mov r8, rbx
mov edx, esi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400027f0
lea rax, [rbp + 0x37]
mov dword [rbp + 0x3f], edi
mov qword [rsp + 0x50], rax
lea r8d, [rdi + 0x12]
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x3f]
mov dword [rsp + 0x40], edi
xor r9d, r9d
mov dword [rsp + 0x38], edi
mov dl, sil
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov word [rbp + 0x43], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400027f0
mov rdx, qword [rbx]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
cmovne edi, esi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000a9f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140002838
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x460
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rcx, [rsp + 0x30]
mov ebx, 0x104
mov edx, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8, rdi
lea rcx, [rsp + 0x30]
mov edx, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x240]
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000a9f0
mov rbx, qword [rsp + 0x480]
add rsp, 0x460
pop rdi
ret
Function at 0x140003c4c
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0x140], rax
movups xmm0, xmmword [str._unknown_]
mov eax, dword [0x14000dbc8]
mov ebx, ecx
xor edx, edx
mov dword [rsp + 0x40], eax
mov r8d, 0x1f6
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
xor edi, edi
call sub.VCRUNTIME140.dll_memset
lea ecx, [rdi + 0x16]
call fcn.14000af10
lea r8, str.chrome.exe
mov rcx, rax
lea edx, [rdi + 0xb]
mov r14, rax
mov esi, edi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140003dc4
lea r9, [rsp + 0x28]
mov rcx, rbx
lea r8d, [rdi + 8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
lea r15d, [rdi + 1]
mov rcx, rbx
test eax, eax
je 0x140003d25
mov rdx, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov r9d, 0x105
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
jmp 0x140003d3c
mov r8d, 0x105
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
cmovne esi, r15d
lea rdx, [rsp + 0x30]
lea rcx, str.chrome.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140003da7
test esi, esi
je 0x140003d9e
mov edx, 0x105
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov edx, 0xb
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
mov rdx, r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rax
test rax, rax
je 0x140003d9e
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], di
jne 0x140003d8e
cmp word [rcx + rax*2], di
je 0x140003da7
lea rcx, str._t_tChecking_:
jmp 0x140003db1
lea rcx, str._t_tFound_Match_:
mov edi, r15d
lea rdx, [rsp + 0x30]
call fcn.1400017b8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call fcn.14000aa14
mov eax, edi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14000a9f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140005824
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140005855
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400058c8
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14000586c
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000586e
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400058c2
test ecx, ecx
jle 0x1400058a2
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
add r14, rbp
test rbx, rbx
jle 0x1400058c2
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400058c2
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400058e4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140005909
xor eax, eax
jmp 0x140005a04
cmp qword [rcx + 0x68], 0
je 0x14000591b
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x140005a04
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x140005932
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005934
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005964
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rsi
add r14, rbx
sub rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov r8, rbp
cmp qword [rsi + 0x80], 0
je 0x1400059fe
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14000599f
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x1400059d8
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x140005a15
cmp rbp, r15
ja 0x1400059ad
mov r8, rbx
test rbx, rbx
je 0x1400059fe
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x140005a01
Function at 0x140005db4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140005ded
xor eax, eax
jmp 0x140005f00
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140005e16
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, qword [rax]
cmp qword [rax], r8
jae 0x140005e16
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x140005f00
cmp qword [rcx + 0x80], 0
je 0x140005efe
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140005e51
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005e75
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
cmovne edi, esi
jmp 0x140005efe
lea rax, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x2f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x30]
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005ec3
sub eax, 1
je 0x140005ec3
cmp eax, 2
jne 0x140005efe
movsx ecx, byte [rbp - 0x30]
jmp 0x140005e5e
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140005eee
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x140005efe
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x140005f00
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000a9f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400068d8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006947
cmp byte [rcx + 0x71], 0
je 0x140006947
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000699c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140006961
sub eax, 1
je 0x140006965
cmp eax, 2
jne 0x14000699c
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000a9f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006993
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000699c
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140006949
xor al, al
jmp 0x140006949
Function at 0x1400096a4
Capabilities:
Delete file
Download url
Query environment variable
Receive data

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
lea r8, str.https:__armmf.adobe.com_manifest_arm_manifests_win_DC_acrobat_Logging_killswitch_uc.txt
mov edx, 0x104
lea rcx, [rsp + 0x240]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.TEMP
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000978e
lea r8, str._adnme_ks_uc.txt
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x30]
call fcn.140001884
test eax, eax
je 0x14000974e
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
and qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
xor r9d, r9d
lea rdx, [rsp + 0x240]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
mov ecx, 1
cmove ebx, ecx
lea rcx, [rsp + 0x30]
call fcn.140001884
test eax, eax
je 0x14000978e
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000a9f0
add rsp, 0x460
pop rbx
ret

Function at 0x140009e90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, r9
mov r15, r8
mov rdi, rdx
call fcn.140009d04
mov r13d, 0x208
mov rbx, rax
mov ecx, r13d
call fcn.14000af10
mov r8d, r13d
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
lea ecx, [r13 + 2]
call fcn.14000af10
xor edx, edx
lea r8d, [r13 + 2]
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov dword [rsp + 0x38], 0x20a
mov rdx, rdi
call fcn.14000a30c
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x140009f76
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140009f76
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bx
jne 0x140009f5c
cmp rax, r13
jae 0x140009f76
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.14000aa14
mov rcx, rsi
call fcn.14000aa14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000a9f0
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009fb0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x60
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
xor esi, esi
call fcn.140009d04
mov ecx, 0x208
mov rdi, rax
call fcn.14000af10
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov rdx, rbx
call fcn.14000a30c
lea r15, str.https:__clients2.google.com_service_update2_crx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov ebx, eax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a0ac
mov rcx, qword [rsp + 0x50]
lea eax, [rbx + rbx]
mov dword [rsp + 0x28], eax
lea ebx, [rsi + 1]
mov r9d, ebx
mov qword [rsp + 0x20], r15
xor r8d, r8d
lea rdx, str.update_url
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, ebx
mov rcx, rbp
call fcn.14000aa14
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000a9f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret

Function at 0x14000a0d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, r9d
mov r14, r8
mov rbx, rdx
call fcn.140009d04
mov r15d, 0x208
mov rdi, rax
mov ecx, r15d
call fcn.14000af10
mov r8d, r15d
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
xor r15d, r15d
mov dword [rsp + 0x3c], 4
mov r8, rbp
mov dword [rsp + 0x38], r15d
mov rdx, rbx
call fcn.14000a30c
lea rax, [rsp + 0x30]
neg esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
sbb r9d, r9d
mov rcx, rdi
and r9d, 0x100
xor r8d, r8d
add r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a1a9
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x38]
test eax, eax
cmovne ecx, r15d
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.14000aa14
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000a9f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a1e4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, r8
mov dword [rsp + 0x58], r9d
mov rdi, rdx
xor ebp, ebp
call fcn.140009d04
mov ebx, 0x208
mov rsi, rax
mov ecx, ebx
call fcn.14000af10
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
neg dword [rsp + 0xc0]
mov r8, r14
mov rdx, rdi
sbb ebx, ebx
and ebx, 0x100
add ebx, 0xf003f
call fcn.14000a30c
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rdx, r14
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x50]
mov r9d, ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a2e1
mov rcx, qword [rsp + 0x50]
lea r9d, [rbp + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, 1
mov rcx, r14
call fcn.14000aa14
mov eax, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000a9f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000a3c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, r8
mov rdi, rdx
call fcn.140009d04
mov esi, 0x208
mov rbx, rax
mov ecx, esi
call fcn.14000af10
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
mov r8, rbp
mov rdx, rdi
xor esi, esi
call fcn.14000a30c
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000a465
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
lea ecx, [rsi + 1]
cmove esi, ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbp
call fcn.14000aa14
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000a9f0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret