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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x60
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
xor r14d, r14d
call fcn.140075980
test eax, eax
jne 0x140051e7c
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x70], rdi
jb 0x140051dd4
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
test r8, r8
je 0x140051e03
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x140051df0
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xf0]
call fcn.14005d2f0
mov rax, qword [rax + 8]
test rax, rax
jne 0x140051e27
mov rax, qword [rbp + 0xf8]
cmp rax, qword [rbp + 0xf8]
jne 0x140051e39
mov qword [rsi], r14
mov qword [rsi + 8], r14
jmp 0x140051e55
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140051e46
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call fcn.1400759a4
mov rdi, qword [rsp + 0x70]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rax, rsi
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, eax
call fcn.14007548c
int3

Function at 0x140051ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x68]
call fcn.140027a70
nop
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x140051f83
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140051f70
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0xf0]
call fcn.14005d2f0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140051fa9
mov rcx, qword [rsi + 0xf8]
lea r8, [rsp + 0x68]
cmp rcx, qword [rsi + 0xf8]
jne 0x140052041
lea rdx, [rsp + 0x38]
lea rcx, [rsi + 0xf0]
call fcn.1400586e0
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rdi
call fcn.140054ce0
nop
lea rcx, [rsp + 0x68]
call fcn.14000cfa0
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14005201c
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005201c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14005201c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0x88]
call fcn.140055760
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140055480
mov rcx, rax
call fcn.1400515b0
int3
Function at 0x140055660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x20
mov r15, qword [r8 + 0x18]
mov rdi, r8
mov rbp, qword [r8 + 0x10]
mov r12, rdx
mov r10, rcx
cmp r15, 0x10
jb 0x140055690
mov r8, qword [r8]
xor esi, esi
movabs r9, 0xcbf29ce484222325
mov edx, esi
test rbp, rbp
je 0x1400556c4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor r9, rax
imul r9, rcx
cmp rdx, rbp
jb 0x1400556b0
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r9
mov r13, qword [r10 + 8]
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, r13
je 0x140055732
mov qword [rsp + 0x50], r14
mov r14, qword [rax + rcx*8]
nop dword [rax]
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x140055702
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0x10
jb 0x14005570e
mov rcx, qword [rdi]
cmp rbp, rax
jne 0x14005571f
mov r8, rbp
call fcn.14007be30
test eax, eax
je 0x14005572a
cmp rbx, r14
je 0x14005572d
mov rbx, qword [rbx + 8]
jmp 0x1400556f0
mov rsi, rbx
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
test rsi, rsi
mov rbp, qword [rsp + 0x60]
mov rax, r12
cmove rsi, r13
mov qword [r12], rsi
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14005cdf0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14005cf7f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140055320
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14005cf44
mov qword [rsp + 0x38], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rax + 0x10]
mov rcx, qword [rcx]
mov r11d, r9d
xor r11, rdi
imul r11, rbp
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x14005cebf
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14005cf33
mov rdx, qword [r11 + 8]
cmp r9b, byte [rdx + 0x10]
jne 0x14005cef8
mov r10, qword [rdx]
cmp r10, rax
je 0x14005cef2
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14005cf33
cmp r8, rdx
je 0x14005cf0f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r9b, byte [rdx + 0x10]
je 0x14005cf59
cmp r8, rdx
jne 0x14005cf00
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14005ce90
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14005cf33
lea rcx, str.invalid_hash_bucket_count
call fcn.1400756d0
int3
Function at 0x14005ea20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14005ebfb
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.140075980
test eax, eax
jne 0x14005ec28
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp byte [rdi + 0x20], r14b
je 0x14005eb8f
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x14005eb8f
test rax, rax
je 0x14005eaed
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l2_1_0.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x14005eb0e
lea ebp, [rax + 7]
jmp 0x14005eb29
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l2_1_0.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
cmp rcx, r8
jbe 0x14005eb56
sub ecx, r8d
mov rdx, qword [rsp + 0x58]
add rdx, r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l2_1_0.dll_SetConsoleTextAttribute]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x14005ebb3
sub ecx, edx
add rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_console_l1_1_0.dll_WriteConsoleA]
jmp 0x14005ebb3
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14005ebf3
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ebed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ec22
call fcn.140078eb4
nop
mov rcx, rbx
call fcn.1400759a4
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140078e50
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14007fed8
nop
mov ecx, eax
call fcn.14007548c
int3
Function at 0x14005fee0
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor eax, eax
mov qword [rsp + 0x60], rax
lea rbx, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.14000bd30
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14005ffa6
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ffa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060004
call fcn.140078eb4
nop
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x14005ffe5
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ffe0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005fffe
call fcn.140078eb4
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140078e50
add rsp, 0x180
pop rbx
ret
call fcn.14007fed8
nop
call fcn.14007fed8
nop
int3
Function at 0x140060060
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, rcx
lea rdx, [rcx + 0xa8]
lea rcx, [rsp + 0x40]
call fcn.1400072d0
nop
lea rbx, [rbp + 0xd0]
mov rcx, qword [rbx]
lea rdi, [rbx + 0x10]
lea r14, [rbx + 8]
test rcx, rcx
je 0x1400601b7
mov rax, qword [rbx + 0x10]
inc rax
xor edx, edx
div rcx
cmp rdx, qword [rbx + 8]
jne 0x1400601b7
mov rcx, qword [rbp + 0xd8]
shl rcx, 5
mov rax, qword [rbp + 0xf0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rcx + rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
xor edx, edx
mov qword [rcx + rax + 0x10], rdx
mov qword [rcx + rax + 0x18], 7
mov word [rcx + rax], dx
mov rax, qword [rbx + 8]
inc rax
div qword [rbx]
mov qword [rbx + 8], rdx
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140060165
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.140089280
test eax, eax
jne 0x140060237
lea rdi, [rbx + 0x10]
lea r14, [rbx + 8]
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400601b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400601aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140060231
call fcn.140078eb4
lea rdi, [rbx + 0x10]
lea r14, [rbx + 8]
cmp qword [rbx], 0
jbe 0x1400601fa
mov rcx, qword [rdi]
shl rcx, 5
add rcx, qword [rbx + 0x20]
lea rdx, [rsp + 0x40]
call fcn.14000d900
mov rcx, qword [rbx]
mov rax, qword [rdi]
inc rax
xor edx, edx
div rcx
mov qword [rdi], rdx
mov rax, qword [r14]
cmp rdx, rax
jne 0x1400601fa
inc rax
xor edx, edx
div rcx
mov qword [r14], rdx
inc qword [rbx + 0x18]
lea rcx, [rsp + 0x40]
call fcn.1400073a0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14007fed8
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140060370
call fcn.14008562c
mov ebx, dword [rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140052100
nop
mov r8, rax
lea rdx, str.Failed_removing_daily_file
lea rcx, [rsp + 0x80]
call fcn.1400603d0
nop
mov edx, ebx
mov rcx, rax
call fcn.140051520
int3
Function at 0x140068170
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
xor ebx, ebx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rbx
mov rdx, rcx
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x14006822d
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rbx
call sub.api_ms_win_core_sysinfo_l1_2_0.dll_GetSystemTimePreciseAsFileTime
movabs rcx, 0xfe624e212ac18000
mov dword [rsp + 0x28], 8
add rcx, qword [rsp + 0x70]
lea r9d, [rbx + 0xb]
movabs rax, 0xd6bf94d5e57a42bd
xor r8d, r8d
imul rcx
add rdx, rcx
mov rcx, qword [rsp + 0x68]
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x78], rdx
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
test eax, eax
je 0x140068235
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor al, al
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x140068250
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov ecx, 4
call fcn.140078e70
mov rbx, rax
lea r8, str.AppsUseLightTheme
mov r9d, 0x10
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
mov rcx, 0xffffffff80000001
lea rdi, [rax + 4]
xor eax, eax
mov dword [rbx], eax
mov eax, edi
sub eax, ebx
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x1400682f5
test rbx, rbx
je 0x1400682ee
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1400682e3
mov rbx, qword [rbx - 8]
mov edi, 0x2b
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068358
mov rdx, rdi
mov rcx, rbx
call fcn.140078eb4
mov esi, 1
jmp 0x140068343
movsx eax, byte [rbx + 2]
sub rdi, rbx
movsx esi, byte [rbx + 3]
shl esi, 8
or esi, eax
movsx eax, byte [rbx + 1]
shl esi, 8
or esi, eax
movsx eax, byte [rbx]
shl esi, 8
or esi, eax
mov rax, rbx
cmp rdi, 0x1000
jb 0x140068338
mov rbx, qword [rbx - 8]
mov edi, 0x2b
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068358
mov rdx, rdi
mov rcx, rbx
call fcn.140078eb4
mov rbx, qword [rsp + 0x58]
test esi, esi
mov rsi, qword [rsp + 0x60]
sete al
add rsp, 0x40
pop rdi
ret
call fcn.14007fed8
int3
Function at 0x14006e2f0
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x78
mov rbx, rcx
xor edi, edi
lea rax, [0x1400fcde8]
mov qword [rbp + 0x38], rax
lock inc qword [0x1400fcde8]
cmp qword [0x1400fcde0], rdi
je 0x14006e33b
lea r8, [0x1400fcde0]
mov rdx, rcx
call fcn.14006e000
nop
lock dec qword [0x1400fcde8]
jmp 0x14006e35b
lock dec qword [0x1400fcde8]
lea rax, [0x14006e0c0]
mov qword [rbp + 0x30], rax
lea r8, [rbp + 0x30]
mov rdx, rbx
call fcn.14006e180
nop
mov qword [rbp + 0x30], rdi
mov dword [rbp - 0x48], 0x5f
mov dword [rbp - 0x44], 9
lea rax, str.C:_a_work1_s_srccommonupdatingx64ReleaseGenerated_FileswinrtWindows.Web.Http.h
mov qword [rbp - 0x40], rax
lea rax, str.auto___cdecl_winrt::impl::consume_Windows_Web_Http_IHttpClient_struct_winrt::Windows::Web::Http::IHttpClient_::DefaultRequestHeaders_void__const
mov qword [rbp - 0x38], rax
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
call qword [rax + 0x80]
test eax, eax
js 0x14006e470
mov rcx, qword [rbp + 0x30]
mov qword [rbp - 0x50], rcx
mov qword [rbp + 0x40], rdi
mov dword [rbp - 0x48], 0x43c
mov dword [rbp - 0x44], 9
lea rsi, str.C:_a_work1_s_srccommonupdatingx64ReleaseGenerated_FileswinrtWindows.Web.Http.Headers.h
mov qword [rbp - 0x40], rsi
lea rax, str.auto___cdecl_winrt::impl::consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection_struct_winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection_::UserAgent_void__const
mov qword [rbp - 0x38], rax
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + 0x100]
test eax, eax
js 0x14006e47c
mov rdi, qword [rbp + 0x40]
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 0x47
lea rax, str.Mozilla_5.0__compatible__MSIE_10.0__Windows_NT_6.2__WOW64__Trident_6.0_
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rbp - 0x30], rax
mov byte [rbp + 0x30], 0
mov dword [rbp - 0x48], 0x394
mov dword [rbp - 0x44], 9
mov qword [rbp - 0x40], rsi
lea rax, str.auto___cdecl_winrt::impl::consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection_struct_winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection_::TryParseAdd_const_struct_winrt::param::hstring___const
mov qword [rbp - 0x38], rax
mov rax, qword [rdi]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call qword [rax + 0x38]
test eax, eax
js 0x14006e464
test rdi, rdi
je 0x14006e44e
lea rcx, [rbp - 0x58]
call fcn.140019250
nop
lea rcx, [rbp - 0x50]
call fcn.140019250
nop
mov rax, rbx
add rsp, 0x78
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [rbp - 0x48]
mov ecx, eax
call fcn.140019e90
nop
lea rdx, [rbp - 0x48]
mov ecx, eax
call fcn.140019e90
nop
lea rdx, [rbp - 0x48]
mov ecx, eax
call fcn.140019e90
int3
Function at 0x140070750
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov rax, qword [rcx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov ecx, 0x10
call fcn.140078e70
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140072450]
xor edx, edx
xor ecx, ecx
call fcn.14007f9bc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400707d4
cmp dword [rsp + 0x38], 0
je 0x1400707e7
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140075ba8
test eax, eax
jne 0x1400707cc
add rsp, 0x58
ret
mov ecx, eax
call fcn.14007548c
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400754c8
nop
mov ecx, 1
call fcn.1400754c8
int3

Function at 0x140070970
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov rax, qword [rcx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov ecx, 0x10
call fcn.140078e70
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400724b0]
xor edx, edx
xor ecx, ecx
call fcn.14007f9bc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400709f4
cmp dword [rsp + 0x38], 0
je 0x140070a07
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.140075ba8
test eax, eax
jne 0x1400709ec
add rsp, 0x58
ret
mov ecx, eax
call fcn.14007548c
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.1400754c8
nop
mov ecx, 1
call fcn.1400754c8
int3

Function at 0x140075cb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140075d34
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400b8970]
cmp byte [rcx + rax], 0
je 0x140075d34
dec r8
sub rdx, 1
jne 0x140075d1a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140079e68
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x1400892a0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, eax
call fcn.1400855a0
or eax, 0xffffffff
jmp 0x1400892a2
xor eax, eax
add rsp, 0x28
ret

Function at 0x140092d3c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140092b2c