joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140071848
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r14d, r8d
mov r15, rdx
mov rsi, rcx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
xor r9d, r9d
xor edi, edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov r12d, 0x80070000
mov r13d, 0x80004005
test rax, rax
je 0x140071898
mov rdi, rax
jmp 0x1400718b7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, r12d
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r13d
test ebx, ebx
js 0x14007197a
xor edx, edx
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
movups xmm1, xmmword [rbp - 0x10]
lea rax, [rbp - 0x40]
xor r9d, r9d
movups xmm0, xmmword [rbp - 0x20]
mov r8d, r14d
mov rdx, r15
movups xmmword [rbp - 0x30], xmm1
mov rcx, rsi
mov qword [rbp - 0x28], rdi
movups xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x1400718fd
xor ebx, ebx
jmp 0x140071968
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, r12d
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r13d
cmp ebx, 0x800703e5
jne 0x140071968
or r9d, 0xffffffff
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0x48]
mov rcx, rsi
lea rdx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_io_l1_1_1.dll_GetOverlappedResultEx]
test eax, eax
je 0x140071941
xor ebx, ebx
jmp 0x14007195c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, r12d
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r13d
test ebx, ebx
js 0x140071968
cmp dword [rbp + 0x48], r14d
mov eax, 0x80070026
cmovne ebx, eax
test rdi, rdi
je 0x14007197a
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x14007199a
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
call fcn.14000b684
int3
Function at 0x1400719b4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r14d, r8d
mov r15, rdx
mov rsi, rcx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
xor r9d, r9d
xor edi, edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov r12d, 0x80070000
mov r13d, 0x80004005
test rax, rax
je 0x140071a04
mov rdi, rax
jmp 0x140071a23
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, r12d
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r13d
test ebx, ebx
js 0x140071ae6
xor edx, edx
lea rcx, [rbp - 0x20]
lea r8d, [rdx + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
movups xmm1, xmmword [rbp - 0x10]
lea rax, [rbp - 0x40]
xor r9d, r9d
movups xmm0, xmmword [rbp - 0x20]
mov r8d, r14d
mov rdx, r15
movups xmmword [rbp - 0x30], xmm1
mov rcx, rsi
mov qword [rbp - 0x28], rdi
movups xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
test eax, eax
je 0x140071a69
xor ebx, ebx
jmp 0x140071ad4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, r12d
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r13d
cmp ebx, 0x800703e5
jne 0x140071ad4
or r9d, 0xffffffff
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0x48]
mov rcx, rsi
lea rdx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_io_l1_1_1.dll_GetOverlappedResultEx]
test eax, eax
je 0x140071aad
xor ebx, ebx
jmp 0x140071ac8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, r12d
test eax, eax
cmovle ebx, eax
test ebx, ebx
cmovns ebx, r13d
test ebx, ebx
js 0x140071ad4
cmp dword [rbp + 0x48], r14d
mov eax, 0x80070026
cmovne ebx, eax
test rdi, rdi
je 0x140071ae6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140071b06
lea r11, [rsp + 0x70]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, r12d
test eax, eax
cmovle ecx, eax
call fcn.14000b684
int3
Function at 0x140072058
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov bpl, r8b
mov rsi, rdx
mov rbx, rcx
cmp word [rdx], di
je 0x140072128
mov rcx, qword [rcx + 0x10]
lea r8d, [rdi + 0x5c]
test rcx, rcx
je 0x1400720ae
lea rdx, [rcx - 1]
cmp rcx, rdx
jbe 0x14007213f
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x1400720a7
mov rax, qword [rbx]
cmp word [rax + rdx*2], r8w
je 0x1400720e4
cmp word [rsi], r8w
je 0x1400720e4
mov rax, qword [rbx + 0x18]
sub rax, rcx
cmp rax, 1
jb 0x1400720dc
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400720d6
mov rax, qword [rbx]
mov dword [rax + rcx*2], r8d
jmp 0x1400720e4
mov rcx, rbx
call fcn.140072384
mov rdx, rsi
mov rcx, rbx
call fcn.140007674
test bpl, bpl
je 0x140072128
cmp qword [rbx + 0x18], 8
jb 0x1400720fe
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateDirectoryW]
test eax, eax
jne 0x140072128
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
je 0x140072128
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call fcn.140007d74
int3
Function at 0x140072148
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, r8
mov r14b, dl
mov qword [rsp + 0x50], r8
movdqa xmm0, xmmword [0x1400b7ce0]
movdqu xmmword [rsp + 0x70], xmm0
xor r15d, r15d
mov word [rsp + 0x60], r15w
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140004628
nop
xor r8d, r8d
lea rdx, [0x1400b2040]
lea rcx, [rsp + 0x60]
call fcn.140072058
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileExW]
mov rsi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x140072211
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140072214
mov ebx, r15d
test ebx, ebx
js 0x1400722f5
mov byte [rsp + 0x30], 1
mov eax, dword [rbp - 0x80]
shr eax, 4
and al, 1
test r14b, r14b
je 0x14007226d
test al, al
je 0x1400722a6
movzx ecx, word [rbp - 0x54]
movzx eax, word [rbp - 0x52]
cmp cx, word [0x1400b2048]
jne 0x14007224c
cmp ax, word [0x1400b204a]
je 0x1400722a6
cmp cx, word [0x1400b2038]
jne 0x140072271
cmp ax, word [0x1400b203a]
jne 0x140072271
movzx eax, word [rbp - 0x50]
cmp ax, word [0x1400b203c]
jne 0x140072271
jmp 0x1400722a6
test al, al
jne 0x1400722a6
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400722c7
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rax, qword [rax + 0x10]
call qword [0x1400aa8c0]
mov ebx, eax
test ebx, ebx
js 0x1400722ff
cmp byte [rsp + 0x30], r15b
je 0x1400722ff
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
je 0x1400722ce
jmp 0x140072221
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
cmp byte [rsp + 0x30], r15b
je 0x1400722ff
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x12
jne 0x1400722e5
mov ebx, r15d
jmp 0x1400722ff
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400722ff
cmp ebx, 0x80070003
cmove ebx, r15d
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140072313
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop
lea rcx, [rsp + 0x60]
call fcn.1400045b4
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14007233e
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [0x1400aa8c0]
mov qword [rdi + 0x38], r15
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140098120
mov rbx, qword [rsp + 0x318]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400741e4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
sub rsp, 0x28
mov r10, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [rsp + r9 + 0x38]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x1400741fd
mov rcx, qword [r10 + 0x80]
and rcx, r8
mov r8, qword [r10 + 0x68]
mov rax, rcx
add rax, rax
lea r9, [rcx + rcx]
mov r11, qword [r8 + r9*8]
mov rax, qword [r8 + rax*8]
cmp r11, qword [r10 + 0x58]
jne 0x140074249
mov rcx, qword [r10 + 0x58]
jmp 0x140074251
mov rcx, qword [r8 + r9*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140074261
cmp qword [rax + 0x10], rdx
je 0x140074265
mov rax, qword [rax]
jmp 0x14007423d
mov rax, qword [r10 + 0x58]
cmp rax, qword [r10 + 0x58]
je 0x14007427d
mov rax, qword [rax + 0x18]
cmp byte [rax + 8], 0
je 0x140074284
cmp byte [rax + 9], 0
je 0x14007427f
jmp 0x14007429b
xor eax, eax
add rsp, 0x28
ret
mov rcx, qword [rsp + 0x28]
lea r8, str.analoginput_spectrum_service_servercomponentmanager.cpp
mov edx, 0x312
call fcn.14000379c
int3
mov rcx, qword [rsp + 0x28]
lea r8, str.analoginput_spectrum_service_servercomponentmanager.cpp
mov edx, 0x313
call fcn.14000379c
int3

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

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
xor rcx, rax
movabs r9, 0x100000001b3
imul rcx, r9
inc r8
cmp r8, 8
jb 0x1400768a0
mov rax, qword [rsi + 0x30]
and rax, rcx
mov rbp, rax
add rbp, rbp
mov r9, qword [rsi + 0x18]
mov rbx, qword [r9 + rbp*8]
lea r10, [rax + rax]
mov rax, qword [rsi + 8]
mov r11, qword [r9 + r10*8]
cmp r11, rax
jne 0x1400768ea
mov rcx, rax
jmp 0x1400768f2
mov rcx, qword [r9 + r10*8 + 8]
mov rcx, qword [rcx]
cmp rbx, rcx
je 0x14007692f
mov r8, qword [rdx]
cmp qword [rbx + 0x10], r8
je 0x140076905
mov rbx, qword [rbx]
jmp 0x1400768e0
mov rdi, rbx
cmp r11, rax
jne 0x140076912
mov rcx, rax
jmp 0x14007691a
mov rcx, qword [r9 + rbp*8 + 8]
mov rcx, qword [rcx]
cmp rbx, rcx
je 0x14007692a
cmp r8, qword [rbx + 0x10]
jne 0x14007692a
mov rbx, qword [rbx]
jmp 0x140076908
cmp rdi, rbx
jne 0x140076935
mov rbx, rax
mov rdi, rax
mov rcx, rdi
xor ebp, ebp
cmp rdi, rbx
je 0x14007694a
inc rbp
mov rcx, qword [rcx]
cmp rcx, rbx
jne 0x14007693f
mov rcx, qword [rax]
cmp rdi, rcx
jne 0x1400769a1
cmp rbx, rax
jne 0x1400769a1
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
and qword [rsi + 0x10], 0
cmp rcx, qword [rsi + 8]
je 0x14007697e
mov rbx, qword [rcx]
call fcn.1400986c0
mov rcx, rbx
cmp rbx, qword [rsi + 8]
jne 0x14007696d
mov edx, 8
mov rcx, rsi
call fcn.14004d8e4
nop
jmp 0x1400769a6
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140076c44
cmp rdi, rbx
jne 0x14007698e
mov rax, rbp
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400769c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov r10, rdx
mov rbx, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x1400769dd
mov rcx, qword [rbx + 0x30]
and rcx, r8
mov r8, qword [rbx + 0x18]
mov rax, rcx
add rax, rax
lea r9, [rcx + rcx]
mov rcx, qword [rbx + 8]
mov rax, qword [r8 + rax*8]
cmp qword [r8 + r9*8], rcx
jne 0x140076a24
mov rdx, rcx
jmp 0x140076a2c
mov rdx, qword [r8 + r9*8 + 8]
mov rdx, qword [rdx]
cmp rax, rdx
je 0x140076a3f
mov rdx, qword [r10]
cmp qword [rax + 0x10], rdx
je 0x140076a42
mov rax, qword [rax]
jmp 0x140076a19
mov rax, rcx
cmp rax, rcx
jne 0x140076abc
mov rdi, qword [rcx]
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x20], rax
mov r8, qword [rdi + 8]
call fcn.14007726c
mov rdx, rax
movabs rcx, 0x7fffffffffffffe
mov rax, qword [rbx + 0x10]
sub rcx, rax
cmp rcx, 1
jae 0x140076a8d
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov rcx, rbx
mov qword [rbx + 0x10], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
lea rdx, [rsp + 0x30]
mov r9, qword [rbx + 8]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.14007704c
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 8
jb 0x140076c61
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140076cb9
cmp qword [rcx + rdx*8], r8
jne 0x140076cae
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140076cb2
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140076cc6
cmp qword [rcx + rdx*8], r8
jne 0x140076cc6
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.1400986c0
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007704c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x50
mov qword [rax - 0x38], 0xfffffffffffffffe
mov rbx, r9
mov r10, r8
mov r9, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r10]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140077082
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rdi, qword [rsi + 8]
add r8, r8
mov rax, qword [rsi + 0x18]
cmp rdi, qword [rax + r8*8]
je 0x14007710e
mov rdi, qword [rax + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rax + r8*8]
je 0x14007710e
mov rcx, qword [r10]
mov rdi, qword [rdi + 8]
cmp rcx, qword [rdi + 0x10]
je 0x1400770dc
cmp rdi, qword [rax + r8*8]
jne 0x1400770ca
jmp 0x14007710e
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
mov rcx, rbx
call fcn.1400986c0
mov rax, qword [rsp + 0x78]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x14007723c
mov qword [rsp + 0x28], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x140077148
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140077165
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140077194
cmp rax, rdi
jne 0x140077170
mov qword [rdx + r8*8], rbx
jmp 0x140077194
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140077194
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400b7c5c]
test rax, rax
jns 0x1400771b5
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1400771c6
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140077231
cmp rdx, 0x200
jae 0x1400771de
shl rdx, 3
jmp 0x1400771f0
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1400771f0
add rdx, rdx
mov rcx, rsi
call fcn.14004d8e4
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14007722c
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14007704c
cmp rdi, qword [rsp + 0x20]
jne 0x14007720a
mov r9, qword [rsp + 0x78]
mov qword [r9], rbx
mov byte [r9 + 8], 1
mov rax, r9
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14007c094
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
lea rax, [r11 + 0x10]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x18], rax
lea r8, [0x1400b5228]
lea rax, [r11 + 8]
xor ebx, ebx
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
mov r9d, 0x10010
mov qword [r11 - 0x28], rbx
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x50], ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
cmove ebx, dword [rsp + 0x50]
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x14007c144
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x60]
xor bl, bl
call qword [sym.imp.ext_ms_win_resourcemanager_gamemode_l1_2_0.dll_RmGameModeGetLargestValidResourceRequest]
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14007c28d
lea rcx, [rsp + 0x78]
call qword [sym.imp.ext_ms_win_resourcemanager_gamemode_l1_2_0.dll_RmGameModeInitializeResourceRequest]
or dword [rbp - 0x68], 7
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov eax, dword [rsp + 0x68]
cmp eax, 4
jbe 0x14007c1ae
shr eax, 1
cmp dword [rbp - 0x5c], eax
cmovb eax, dword [rbp - 0x5c]
mov dword [rsp + 0x7c], eax
jmp 0x14007c1c4
jne 0x14007c2ac
mov dword [rsp + 0x7c], 2
mov qword [rbp - 0x80], 0xa
mov eax, dword [rbp - 0x6c]
and eax, 0xffffffef
or eax, 0xf
mov dword [rbp - 0x6c], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1000
mov r8d, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_OpenProcess]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x40]
call fcn.14000ddf0
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x78]
xor r8d, r8d
call qword [sym.imp.ext_ms_win_resourcemanager_gamemode_l1_2_0.dll_RmGameModeRegisterProcess]
movzx ebx, bl
mov ecx, 1
test eax, eax
mov dword [rsp + 0x30], eax
cmovns ebx, ecx
cmp dword [section..data], 5
jbe 0x14007c283
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
and dword [rbp - 4], 0
and dword [rbp + 0xc], 0
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x10], rax
lea rax, [rsp + 0x30]
mov qword [rbp], rax
mov dword [rbp - 8], 4
mov dword [rbp + 8], 4
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400c473e]
xor r8d, r8d
mov dword [rsp + 0x20], 4
lea rcx, [section..data]
call fcn.140001118
lea rcx, [rsp + 0x40]
call fcn.14000ddd4
mov al, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140098120
mov rbx, qword [rsp + 0x130]
add rsp, 0x120
pop rbp
ret
cmp dword [section..data], 5
jbe 0x14007c2f7
and dword [rbp - 4], 0
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 4
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400c4710]
xor r8d, r8d
mov dword [rsp + 0x20], 3
lea rcx, [section..data]
call fcn.140001118
xor al, al
jmp 0x14007c28f
Function at 0x14009779c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, r8
mov rbx, rcx
mov ebp, 0x4e
lea rcx, [rsp + 0x50]
mov r8d, ebp
xor edx, edx
mov rsi, r9
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor ebp, ebp
lea rax, [rsp + 0x50]
mov r8, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rbp
lea r9d, [rbp + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ecx, eax
test eax, eax
je 0x140097816
mov word [rsp + 0x50], bp
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
js 0x140097835
mov rdx, rsi
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CLSIDFromString]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140098120
mov rbx, qword [rsp + 0xd8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140097858
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_VirtualQuery]
test rax, rax
jne 0x140097886
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x1400978db
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
lea ecx, [r9 - 1]
mov eax, ecx
lea r8, [r9 - 1]
and eax, edi
and ecx, ebx
add eax, ecx
not r8
dec rax
and r8, rbx
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add eax, ecx
je 0x1400978db
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x1400978cd
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret