joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024b40
Capabilities:
Execute command
Log keystrokes via polling
Terminate process

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400b2048]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._F1__load_cheat
call fcn.140024cf0
lea rdx, [0x140024ec0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, str._F2__clear_overlay
call fcn.140024cf0
lea rdx, [0x140024ec0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.140009370
mov rcx, rax
call fcn.140009380
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140024c6d
mov qword [rsp + 0x40], rbx
xor ebx, ebx
nop
mov ecx, 0x71
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140024c3e
lea rdx, str.NVIDIA_GeForce_Overlay
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x30]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.cleared_overlay
call fcn.140024cf0
lea rdx, [0x140024ec0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140009370
mov rcx, rax
call fcn.140009380
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140024bd0
mov rbx, qword [rsp + 0x40]
lea rcx, [0x1400a42c8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140024710
int3
Function at 0x14002a250
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14002a2ad
lea rbx, [0x14009f310]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14002a294
cmp r10, 2
jb 0x14002a294
cmp byte [r9], r8b
jne 0x14002a294
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14002a270
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14002a2ef
lea rbx, [0x14009f310]
cmp r8b, 0x23
jne 0x14002a2d3
cmp byte [r9], r8b
jne 0x14002a2d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14002a2c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14002a430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14002a44a
mov qword [r8], 0
lea rdx, [0x1400a52fc]
call fcn.14002a300
mov rbx, rax
test rax, rax
jne 0x14002a46a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14002a541
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002a541
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002a541
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002a541
cmp rdi, 0xffffffffffffffff
je 0x14002a541
mov rax, qword [0x1400b2e68]
test rax, rax
je 0x14002a4de
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14002a541
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14002a52e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400b2e68]
test rax, rax
je 0x14002a523
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002a54a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002a53c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14002a54c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14002e380
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14009f310]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400b2e68]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x14002e416
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140041b00
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14002e420
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x14009f310]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x14003b180
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b2048]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400b2e68]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x14003b1e1
cmp byte [rbx + 0x4a2e], 0
jne 0x14003b1e1
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14002a110
test dil, 1
je 0x14003b308
jmp 0x14003b26a
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400a634c]
mulss xmm1, dword [0x1400a633c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400a624c]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.14002a110
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14003b2c0
lea r11, [0x14009f310]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x14003b2a3
cmp byte [r8], r9b
jne 0x14003b2a3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14003b290
not ecx
call fcn.140032240
test rax, rax
je 0x14003b308
cmp byte [rax + 0xae], 0
je 0x14003b308
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.14002a110
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400349a0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006cea0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400404a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140040547
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400404fa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140042800
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14002abb0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400b2e60]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14004054f
mov rcx, rbx
call fcn.14002abb0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140040ac0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400b2e68]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140040b23
mov qword [rsp], rbx
lea rbx, [0x14009f310]
nop dword [rax]
cmp r9b, 0x23
jne 0x140040b03
cmp byte [r8], r9b
jne 0x140040b03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140040af0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140040b57
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140040b5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140040b44
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140058c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, qword [rcx + 0x188]
mov r10, rcx
movsxd rax, edx
imul rbx, rax, 0x68
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x7c], edx
test dword [rbx], 0x10000
movss xmm0, dword [rbx + 0x34]
je 0x140058ccc
addss xmm0, dword [rcx + 0x94]
lea rsi, [r9 + 0xf8]
movss dword [rsi], xmm0
movss xmm1, dword [rcx + 0xc8]
addss xmm1, dword [rcx + 0x84]
movss dword [r9 + 0x110], xmm0
subss xmm0, dword [r9 + 0x18]
movss dword [r9 + 0xfc], xmm1
subss xmm0, dword [r9 + 0x13c]
movss dword [r9 + 0x140], xmm0
mov eax, dword [rcx + 0x90]
mov dword [r9 + 0x130], eax
movsx eax, byte [rbx + 0x62]
mov dword [r9 + 0x150], eax
movss dword [r9 + 0x214], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r9 + 0x210], eax
mov eax, dword [rbx + 0x38]
mov dword [r9 + 0x218], eax
mov eax, dword [rbx + 0x3c]
mov dword [r9 + 0x1b4], eax
cmp byte [rbx + 0x5a], 0
jne 0x140058d67
maxss xmm1, dword [rcx + 0x88]
movss dword [r9 + 0xfc], xmm1
movzx eax, byte [rbx + 0x60]
mov byte [r9 + 0xb3], al
cmp byte [rbx + 0x60], 0
je 0x140058d8d
mov rax, qword [0x1400b2e68]
xor ecx, ecx
mov dword [rax + 0x473c], ecx
mov dword [rax + 0x4744], ecx
test dword [r10 + 4], 0x100000
je 0x140058da2
mov r8d, 2
jmp 0x140058e22
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r9 + 0x290]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r9 + 0x230], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x290]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx r8d, byte [rbx + 0x57]
mov rdx, qword [r9 + 0x290]
mov rcx, qword [r10 + 0x1a0]
call fcn.14004eca0
mov rdi, qword [0x1400b2e68]
cmp byte [rdi + 0x5c10], 0
je 0x140058e67
cmp byte [rbx + 0x60], 0
jne 0x140058e67
xor r8d, r8d
lea rdx, [0x1400a5b28]
mov rcx, rsi
call fcn.1400405b0
mov dword [rdi + 0x5c40], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005b570
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [0x1400b2e68]
mov rdx, qword [rax + 0x4ae8]
cmp ecx, 0xffffffff
jne 0x14005b58a
cmp dword [rdx + 0x7c], ecx
cmovne ecx, dword [rdx + 0x7c]
cmp ecx, dword [rdx + 0x74]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x14005b609
mov r10d, dword [rdx]
lea r8, [0x1400a5b31]
movzx eax, word [rdx + 0x80]
lea r11, [0x14009f310]
not r10d
mov byte [rdx + 0x208], cl
mov ecx, r10d
mov byte [rdx + 0x216], 1
mov word [rdx + 0x82], ax
mov r9b, 0x23
cmp r9b, 0x23
jne 0x14005b5e3
cmp byte [r8], r9b
jne 0x14005b5e3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14005b5d0
not ecx
xor edx, edx
jmp fcn.14003b390
ret
Function at 0x14006dd00
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006dd4a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006dd4a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006dd4a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006dd4a
cmp dword [rcx + 0x84], 0xe
jbe 0x14006dd4a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14006dd4c
xor al, al
add rsp, 0x28
ret
Function at 0x140004940
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov edi, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
mov ebx, eax
cmp dword [0x14000e02c], 0xffffffff
jne 0x140004a52
cmp byte [0x1400100c0], r14b
mov r9d, 0x20019
mov dword [0x14000e02c], r14d
mov qword [rsp + 0x30], r14
jne 0x1400049b6
cmp byte [0x14000ff08], r14b
mov eax, 0x20119
cmovne r9d, eax
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.SoftwarePoliciesMicrosoftWindowsInstaller
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004a52
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, str.Debug
lea rax, [rsp + 0x38]
mov dword [rsp + 0x48], 0x28
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x38], 0x50
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004a35
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
and ecx, 3
mov dword [0x14000e02c], ecx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x48], 0x28
jle 0x140004a52
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [0x14000e02c]
and eax, 3
test al, al
je 0x140004ab5
xor edx, edx
mov word [rbp - 0x60], r14w
mov r8d, 0x800
lea rcx, [rbp - 0x5e]
call sub.msvcrt.dll_memset
lea rcx, [rbp - 0x60]
mov edx, 0xf3000401
invalid
idiv dh
rcl byte [rdi + 0x2b], cl
invalid
Function at 0x140001db0
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4e8
movaps xmmword [rsp + 0x4d0], xmm6
mov rax, qword [0x140033138]
xor rax, rsp
mov qword [rsp + 0x4c8], rax
test edx, edx
jle 0x140001f4f
mov esi, edx
mov rdi, rcx
add esi, 0xffffffff
xorps xmm6, xmm6
lea r15, [rsp + 0x230]
lea r14, str.maintenanceservice.log
lea rbx, [rsp + 0x440]
lea r12, [rsp + 0x20]
lea r13, str.maintenanceservice__d.log
jmp 0x140001e2c
lea eax, [rsi + 2]
cmp eax, 1
jbe 0x140001f4f
mov ebp, esi
movaps xmmword [rsp + 0x4b0], xmm6
movaps xmmword [rsp + 0x4a0], xmm6
movaps xmmword [rsp + 0x490], xmm6
movaps xmmword [rsp + 0x480], xmm6
movaps xmmword [rsp + 0x470], xmm6
movaps xmmword [rsp + 0x460], xmm6
movaps xmmword [rsp + 0x450], xmm6
movaps xmmword [rsp + 0x440], xmm6
mov r8d, 0x3f
mov rcx, r15
mov rdx, rdi
call fcn.140014804
mov edx, 0x40
mov rcx, rbx
sub esi, 1
jae 0x140001ea0
mov r8, r14
call fcn.140001d30
jmp 0x140001eab
mov r8, r13
mov r9d, ebp
call fcn.140001d30
mov rcx, r15
mov rdx, rbx
call fcn.140009d40
test eax, eax
je 0x140001e20
add ebp, 1
movaps xmmword [rsp + 0x4b0], xmm6
movaps xmmword [rsp + 0x4a0], xmm6
movaps xmmword [rsp + 0x490], xmm6
movaps xmmword [rsp + 0x480], xmm6
movaps xmmword [rsp + 0x470], xmm6
movaps xmmword [rsp + 0x460], xmm6
movaps xmmword [rsp + 0x450], xmm6
movaps xmmword [rsp + 0x440], xmm6
mov r8d, 0x3f
mov rcx, r12
mov rdx, rdi
call fcn.140014804
mov edx, 0x40
mov rcx, rbx
mov r8, r13
mov r9d, ebp
call fcn.140001d30
mov rcx, r12
mov rdx, rbx
call fcn.140009d40
test eax, eax
je 0x140001e20
mov rcx, r15
mov rdx, r12
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140001e20
mov rcx, qword [rsp + 0x4c8]
xor rcx, rsp
call fcn.14000acd0
movaps xmm6, xmmword [rsp + 0x4d0]
add rsp, 0x4e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400027e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10048
call fcn.14000ac60
sub rsp, rax
mov r14, r8
mov rbx, rdx
mov rax, qword [0x140033138]
xor rax, rsp
mov qword [rsp + 0x10040], rax
mov dword [r8], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor edi, edi
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000297d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor edi, edi
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002967
mov rbp, qword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
mov rcx, rsi
xor edx, edx
call rbp
mov r15d, eax
mov rcx, rbx
xor edx, edx
call rbp
cmp r15d, 0xffffffff
je 0x140002967
cmp eax, 0xffffffff
je 0x140002967
mov edi, 1
cmp r15d, eax
jne 0x140002967
cmp r15d, 0x8000
jae 0x1400029b9
and r15d, 0x7fff
je 0x14000295b
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x8040]
lea r9, [rsp + 0x3c]
mov rcx, rsi
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
test eax, eax
je 0x140002967
cmp dword [rsp + 0x3c], r15d
jne 0x140002967
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140002967
cmp dword [rsp + 0x3c], r15d
jne 0x140002967
mov r8d, r15d
lea rcx, [rsp + 0x8040]
lea rdx, [rsp + 0x40]
call fcn.14000c640
mov edi, 1
test eax, eax
jne 0x140002967
mov dword [r14], 1
mov edi, 1
mov rax, rbx
add rax, 1
cmp rax, 2
jb 0x14000297d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
add rax, 1
cmp rax, 2
jb 0x140002993
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.14000acd0
mov eax, edi
add rsp, 0x10048
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, r15d
shr ebp, 0xf
lea rdi, [rsp + 0x8040]
mov r13, qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r12, rdi
mov rdx, rdi
mov r8d, 0x8000
lea r9, [rsp + 0x3c]
call r13
xor edi, edi
test eax, eax
je 0x140002967
cmp dword [rsp + 0x3c], 0x8000
jne 0x140002967
mov qword [rsp + 0x20], 0
mov rcx, rbx
lea rdx, [rsp + 0x40]
mov r8d, 0x8000
lea r9, [rsp + 0x3c]
call r13
test eax, eax
je 0x140002967
cmp dword [rsp + 0x3c], 0x8000
jne 0x140002967
mov r8d, 0x8000
mov rdi, r12
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.14000c640
test eax, eax
jne 0x140002962
add ebp, 0xffffffff
jne 0x1400029d0
jmp 0x1400028db