joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140069490
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
lea r9, [rsp + 0x20]
xor edx, edx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
mov edi, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140069519
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400694d0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rbp
test eax, eax
js 0x1400695f9
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x1400695f9
nop dword [rax]
mov eax, ebx
mov r8, 0xffffffffffffffff
imul rcx, rax, 0x128
movzx edx, word [rcx + rdi + 0x2e]
lea rbp, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
vpxor xmm0, xmm0, xmm0
add rdx, rdi
vmovups xmmword [rsp + 0x28], xmm0
inc r8
cmp byte [rdx + r8], r14b
jne 0x140069577
lea rcx, [rsp + 0x28]
call fcn.1400093b0
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x140069597
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14006962f
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1400695ef
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400695ea
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140069678
call fcn.1400783d0
inc ebx
cmp ebx, dword [rdi]
jb 0x140069540
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400783b0
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov rbx, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x140069684
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006967f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006967f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400783d0
mov rax, rbx
jmp 0x14006960c
Function at 0x14006a360
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rdx + 0x18], 0xf
mov rdi, r8
jbe 0x14006a38b
mov rdx, qword [rdx]
vpxor xmm0, xmm0, xmm0
vpxor xmm1, xmm1, xmm1
mov rbx, 0xffffffffffffffff
vmovups xmmword [rsp + 0x20], xmm0
vmovdqu xmmword [rsp + 0x30], xmm1
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14006a3b0
lea rcx, [rsp + 0x20]
call fcn.1400093b0
lea rdx, [rsp + 0x20]
call fcn.140069490
mov rdx, qword [rsp + 0x38]
mov rsi, rax
cmp rdx, 0xf
jbe 0x14006a411
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a40c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a40c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400783d0
test rsi, rsi
jne 0x14006a430
lea r9, str.failed_to_get_ntoskrnl._n
lea r8d, [rsi + 0x59]
lea rdx, str.C:UsersAlexDesktop_fortniteembark_fortnitedependenciescommunicationedk.cpp
lea ecx, [rsi + 1]
call fcn.140069240
cmp qword [rdi + 0x18], 0xf
jbe 0x14006a43a
mov rdi, qword [rdi]
vpxor xmm0, xmm0, xmm0
vpxor xmm1, xmm1, xmm1
vmovups xmmword [rsp + 0x20], xmm0
vmovdqu xmmword [rsp + 0x30], xmm1
nop
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14006a450
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.1400093b0
lea rcx, str.ntoskrnl.exe
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x14006a482
xor ebx, ebx
jmp 0x14006a4b3
cmp qword [rsp + 0x38], 0xf
lea rdx, [rsp + 0x20]
mov rcx, rdi
cmova rdx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14006a4b3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
sub rbx, rdi
add rbx, rsi
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14006a4f3
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a4ee
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a4ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400783d0
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400783b0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14006aef0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get uefi variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xd0]
mov rdi, rcx
mov qword [r11 - 0x40], rax
xor esi, esi
mov rax, qword [rsp + 0xd8]
mov qword [r11 - 0x38], rax
lea rax, [r11 - 0x68]
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x50], r8
mov qword [r11 - 0x48], r9
mov qword [r11 - 0x28], rsi
mov qword [r11 - 0x20], 0x89210
mov qword [r11 - 0x68], rsi
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
lea rax, [r11 - 0x50]
mov rbx, qword [rcx + 0x20]
lea rcx, [r11 - 0x60]
mov qword [rbx + 0x18], rdx
lea rdx, str.uefi_interface
mov qword [rbx + 0x10], rax
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rsp + 0x34]
mov byte [rsp + 0x30], sil
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
mov dword [rsp + 0x38], 1
mov rdx, rdi
mov dword [rsp + 0x34], esi
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtQuerySystemEnvironmentValueEx]
test eax, eax
jns 0x14006afd4
mov rax, qword [rbx + 0x18]
mov qword [rdi + 0x268], rax
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x10], rsi
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14006afd6
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400783b0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14006c6c0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14006c76c
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14006c6fa
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp fcn.14006c8a0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14006c73a
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.1400783d0
mov rcx, rbx
test rbx, rbx
jne 0x14006c720
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.14002cf00
add rsp, 0x20
pop rdi
ret

Function at 0x14006c780
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movzx r8d, byte [rdx]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r11, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r10 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
lea r8, [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rcx, qword [rdx + 8]
cmp rcx, qword [r8]
je 0x14006c839
mov rax, qword [r11]
mov r9, qword [rdx]
cmp rax, qword [rcx + 0x10]
je 0x14006c83b
nop
cmp rcx, r9
je 0x14006c835
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x14006c820
lea r8, [r10 + 8]
jmp 0x14006c83b
lea r8, [r10 + 8]
xor ecx, ecx
test rcx, rcx
je 0x14006c899
mov rax, qword [rdx]
cmp qword [rdx + 8], rcx
jne 0x14006c864
cmp rax, rcx
jne 0x14006c85a
mov rax, qword [r8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x14006c86f
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
jmp 0x14006c86f
cmp rax, rcx
jne 0x14006c86f
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x10]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, 0x20
call fcn.1400783d0
mov eax, 1
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14006c8a0
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x14006caa9
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov rax, qword [r14 + 8]
mov qword [rsp + 0x70], rax
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x60], rbx
mov rbx, r14
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [rsi + 0x30]
imul rcx, r8
mov qword [rsp + 0x20], r15
xor rcx, rax
mov qword [rsp + 0x78], rdx
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x14]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x15]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x16]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x17]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r13, rcx
shl r13, 4
add r13, rdx
mov rax, qword [r13]
mov r15, qword [r13 + 8]
mov qword [rsp + 0x68], rax
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400783d0
dec qword [rsi + 0x10]
cmp rdi, r15
je 0x14006c9b5
cmp rbx, rbp
jne 0x14006c980
cmp qword [rsp + 0x68], r14
jne 0x14006ca84
mov qword [r13], rbx
jmp 0x14006ca84
cmp qword [rsp + 0x68], r14
jne 0x14006c9c5
mov qword [r13], r12
mov rax, r12
jmp 0x14006c9ca
mov rax, qword [rsp + 0x70]
mov qword [r13 + 8], rax
cmp rbx, rbp
je 0x14006ca84
mov r13, qword [rsp + 0x78]
nop dword [rax]
movzx ecx, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
mov r15, qword [rsi + 0x30]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movzx eax, byte [rbx + 0x11]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x12]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x13]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x14]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x15]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x16]
imul rcx, rdx
xor rcx, rax
movzx eax, byte [rbx + 0x17]
imul rcx, rdx
xor rcx, rax
imul rcx, rdx
and r15, rcx
shl r15, 4
add r15, r13
mov r14, qword [r15 + 8]
nop
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x20
call fcn.1400783d0
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14006cab5
cmp rbx, rbp
jne 0x14006ca60
mov qword [r15], rbx
mov rax, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x14006c9e0
jmp 0x14006ca84
Function at 0x14006d050
Capabilities:
Hash data using fnv

Disassembly:
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov r11, rdx
movzx eax, byte [r8 + 1]
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 7]
imul r9, rcx
xor r9, rax
imul r9, rcx
and rdx, r9
mov r9, qword [r10 + 8]
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx + 8]
cmp rax, r9
je 0x14006d10e
mov rcx, qword [r8]
mov rdx, qword [rdx]
cmp rcx, qword [rax + 0x10]
je 0x14006d110
cmp rax, rdx
je 0x14006d10e
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x14006d0f1
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
xor eax, eax
test rax, rax
cmove rax, r9
mov qword [r11], rax
mov rax, r11
ret
Function at 0x14006d430
Capabilities:
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov r9d, 1
bsr r8, rax
mov rsi, rcx
shlx rax, r9, r8
cmp rdx, rax
jbe 0x14006d465
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, r9
bsr rcx, rax
mov qword [rsp + 0x40], rdi
mov r8, rbx
inc ecx
mov qword [rsp + 0x48], r14
shlx rdi, r9, rcx
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002cae0
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14006d5e4
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006d55c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14006d5d3
mov rax, qword [r11 + 8]
mov r8, qword [rcx + 0x10]
cmp r8, qword [rax + 0x10]
jne 0x14006d599
mov r8, qword [rax]
cmp r8, rcx
je 0x14006d593
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14006d5d3
cmp r9, rax
je 0x14006d5af
nop
mov rax, qword [rax + 8]
cmp r8, qword [rax + 0x10]
je 0x14006d5f9
cmp r9, rax
jne 0x14006d5a0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x14006d4e0
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14006d5d3
Function at 0x140076ba0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor ebx, ebx
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140076be4
xor eax, eax
jmp 0x140076c72
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140076c67
mov rsi, qword [rsi]
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140076c2b
mov ebx, dword [rsp + 0x28]
jmp 0x140076c67
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140076c67
nop dword [rax]
lea rdx, [rsp + 0x4c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea rdx, [rsp + 0x20]
mov rcx, rdi
test eax, eax
cmove ebx, dword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140076c40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400783b0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140077d54
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140077d8e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140077d93
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140077ddc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14007fb80]
cmp byte [rcx + rax], 0
je 0x140077ddc
dec r8
sub rdx, 1
jne 0x140077dc2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140078f38
Capabilities:
Parse pe header

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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xe0
xor eax, eax
mov rbp, rdx
xor edx, edx
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x7c], eax
mov rdi, r9
mov dword [r11 - 0x68], eax
mov dword [r11 - 0x64], eax
mov rsi, r8
mov qword [r11 + 8], rdx
mov dword [r11 - 0x60], edx
mov dword [r11 - 0x5c], eax
mov qword [r11 - 0x58], rax
mov dword [r11 - 0x50], edx
mov dword [r11 - 0x4c], eax
mov dword [r11 - 0x48], eax
mov dword [r11 - 0x44], eax
mov dword [r11 - 0x40], eax
mov dword [r11 - 0x3c], eax
test rcx, rcx
jne 0x140001b5f
mov eax, 0xc000000d
jmp 0x140001cd0
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 1
mov qword [rsp + 0xc0], rcx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xd8], rdx
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xb0]
lea rcx, [rsp + 0xf0]
mov edx, 0x120089
mov qword [rsp + 0xf8], rbx
mov dword [rsp + 0xb0], 0x30
mov dword [rsp + 0xc8], 0x240
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebx, eax
test eax, eax
js 0x140001cb3
mov rcx, qword [rsp + 0xf0]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x88]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov ebx, eax
test eax, eax
js 0x140001cb3
mov rcx, qword [rsp + 0xf0]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov r9d, 0x28
mov dword [rsp + 0x20], 4
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov ebx, eax
test eax, eax
js 0x140001cb3
test rbp, rbp
je 0x140001c6c
mov eax, dword [rsp + 0x80]
mov dword [rbp], eax
test rsi, rsi
je 0x140001c7c
mov rax, qword [rsp + 0xa0]
mov qword [rsi], rax
test rdi, rdi
je 0x140001c89
mov rax, qword [rsp + 0x60]
mov qword [rdi], rax
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x140001c9e
mov rax, qword [rsp + 0x68]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x140001cb3
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140001cc6
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0xf8]
lea r11, [rsp + 0xe0]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140001cf0
Capabilities:
Get file attributes
Print debug messages
Set file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xd0
xor eax, eax
mov rsi, rdx
xor edx, edx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x6c], eax
mov dword [r11 - 0x58], eax
mov dword [r11 - 0x54], eax
mov qword [r11 - 0x68], rax
mov dword [r11 - 0x50], eax
mov dword [r11 - 0x4c], eax
mov dword [r11 - 0x48], eax
mov dword [r11 - 0x44], eax
mov dword [r11 - 0x40], eax
mov dword [r11 - 0x3c], eax
mov rdi, r9
mov rbp, r8
mov qword [r11 + 8], rdx
test rcx, rcx
jne 0x140001d5b
mov ebx, 0xc000000d
jmp 0x140001edd
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 1
mov qword [rsp + 0xb0], rcx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xc8], rdx
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x68]
lea r8, [rsp + 0xa0]
lea rcx, [rsp + 0xe0]
mov edx, 0x100100
mov dword [rsp + 0xa0], 0x30
mov dword [rsp + 0xb8], 0x240
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov ebx, eax
test eax, eax
js 0x140001ec6
mov rcx, qword [rsp + 0xe0]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
mov r9d, 0x28
mov dword [rsp + 0x20], 4
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov ebx, eax
test eax, eax
js 0x140001ec6
test rsi, rsi
je 0x140001e27
mov eax, dword [rsi]
mov dword [rsp + 0x98], eax
test rbp, rbp
je 0x140001e61
mov rax, qword [rbp]
mov rcx, qword [rsp + 0xe0]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov r9d, 8
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0x14
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov ebx, eax
test eax, eax
js 0x140001ec6
test rdi, rdi
je 0x140001e6e
mov rax, qword [rdi]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x100]
test rax, rax
je 0x140001e86
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x108]
test rax, rax
je 0x140001e9e
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0xe0]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
mov r9d, 0x28
mov dword [rsp + 0x20], 4
call qword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
mov ebx, eax
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x140001ed9
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
jns 0x140001eeb
lea rcx, str.SetFileTime_failed__status___08x_n
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
lea r11, [rsp + 0xd0]
mov eax, ebx
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret