joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001680
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x88], rsi
mov qword [rbp - 0x20], 1
call fcn.140001950
xorps xmm0, xmm0
mov qword [rbp - 0x28], 7
lea rax, str.cs2.exe
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
call section..text
mov qword [rbp - 0x28], 0xa
lea rax, str.client.dll
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
movaps xmm0, xmmword [rbp - 0x30]
lea rcx, [rbp - 0x20]
movdqa xmmword [rbp - 0x30], xmm0
call fcn.140001140
mov qword [rbp - 0x28], 9
lea rdx, [rbp - 0x30]
mov rsi, rax
lea rcx, [rbp - 0x20]
lea rax, str.tier0.dll
mov qword [rbp - 0x30], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
call fcn.140001140
cmp byte [0x1400507f5], 1
mov rdi, qword [rbp - 0x18]
jne 0x140001852
mov qword [rsp + 0x80], rbx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x90], r14
mov qword [rbp - 0x20], 1
call fcn.140001950
xor r14d, r14d
lea rdx, [rsi + 0x187cfc8]
lea r8, [rbp - 0x20]
mov qword [rbp - 0x20], r14
mov rcx, rdi
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x20]
lea r9d, [r14 + 4]
lea r8, [rbp - 0x30]
mov dword [rbp - 0x30], r14d
mov rcx, rdi
mov qword [rsp + 0x20], r14
lea rdx, [rbx + 0x3bf]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, [rsi + 0x178fc88]
mov qword [rbp - 0x30], r14
lea r9d, [r14 + 8]
mov qword [rsp + 0x20], r14
lea r8, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rdx, [rbx + 0x428]
mov byte [rbp - 0x40], r14b
lea r9d, [r14 + 1]
mov qword [rsp + 0x20], r14
lea r8, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [r14 + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [rsp + 0x80]
test ax, ax
je 0x14000184a
movzx eax, byte [rbp - 0x40]
lea rdx, [rsi + 0x1697300]
test al, al
jne 0x140001826
mov qword [rbp - 0x20], 0x10001
jmp 0x140001832
cmp al, 0xff
jne 0x14000184a
mov qword [rbp - 0x20], 0x100
mov r9d, 8
mov qword [rsp + 0x20], r14
lea r8, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
test rdi, rdi
je 0x140001868
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003d9c0
mov rdi, qword [rsp + 0x98]
add rsp, 0x70
pop rbp
ret
Function at 0x140003880
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 0x1400038dd
lea rbx, [0x140041a70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400038c4
cmp r10, 2
jb 0x1400038c4
cmp byte [r9], r8b
jne 0x1400038c4
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 0x1400038a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000391f
lea rbx, [0x140041a70]
cmp r8b, 0x23
jne 0x140003903
cmp byte [r9], r8b
jne 0x140003903
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 0x1400038f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003a60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140003a7a
mov qword [r8], 0
lea rdx, [0x1400415d0]
call fcn.140003930
mov rbx, rax
test rax, rax
jne 0x140003a9a
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 0x140003b71
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 0x140003b71
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003b71
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 0x140003b71
cmp rdi, 0xffffffffffffffff
je 0x140003b71
mov rax, qword [0x140050800]
test rax, rax
je 0x140003b0e
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003b71
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 0x140003b5e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140050800]
test rax, rax
je 0x140003b53
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003b7a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140003b6c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140003b7c
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 0x1400070a0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x140041a70]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140007136
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001a560
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14000a5f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x140050800]
mov r15d, edx
movaps xmmword [rsp + 0x30], xmm6
mov r14, qword [rdi + 0x3ed8]
cmp qword [r14 + 0x1a8], 0
jne 0x14000a63c
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000a641
mov eax, 0x220
movss xmm4, dword [rax + r14]
xorps xmm3, xmm3
movss xmm5, dword [rax + r14 + 4]
xor ebx, ebx
cvttss2si eax, dword [r8]
subss xmm4, dword [r14 + 0x100]
subss xmm5, dword [r14 + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x14000a688
lea eax, [rbx + 1]
je 0x14000a68a
mov eax, ebx
ucomiss xmm0, xmm3
jp 0x14000a696
jne 0x14000a696
mov ebx, 2
movss xmm2, dword [0x1400468d4]
or ebx, eax
comiss xmm3, xmm1
jb 0x14000a6b1
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x14000a6b1
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14000a6c2
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000a6c2
movaps xmm0, xmm2
or dword [rdi + 0x47b8], 2
lea rax, str.Trigger_Delay
movss dword [rdi + 0x47d8], xmm1
lea r8, str._s__s__08X
movss dword [rdi + 0x47dc], xmm0
lea rcx, [rsp + 0x60]
mov dword [rdi + 0x47c0], 1
xor edx, edx
mov r9, qword [r14 + 8]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call fcn.140003760
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000d360
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r15d
mov byte [rsi + 0xd2], bl
jne 0x14000a75c
movsd xmm0, qword [rsi + 0x20]
movsd qword [r14 + 0x100], xmm0
mov r9d, r15d
lea rdx, [0x140040ad9]
not r9d
lea r10, [0x140041a70]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000a789
cmp byte [rdx], r8b
jne 0x14000a789
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000a776
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000a7b9
xor edx, edx
xor ecx, ecx
call fcn.140007140
cmp dword [rdi + 0x48e0], r15d
jne 0x14000a7ff
cmp word [rsi + 0x15c], 0
jne 0x14000a7d5
cmp byte [rsi + 0x162], 0
je 0x14000a7ff
xor edx, edx
mov rcx, rsi
call fcn.14000f840
xor edx, edx
mov rcx, rsi
call fcn.1400156a0
mov rdx, rsi
mov ecx, ebx
call fcn.140007140
mov eax, dword [rdi + 0x4904]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x68]
movzx eax, bpl
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140013a40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140050800]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x140013aa1
cmp byte [rbx + 0x4a92], 0
jne 0x140013aa1
movsx r9d, word [rbx + 0x5bc4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400036e0
test dil, 2
je 0x140013bcf
jmp 0x140013b2a
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc4]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400468f4]
mulss xmm1, dword [0x1400468ec]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x140046870]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.1400036e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013b80
lea r11, [0x140041a70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013b63
cmp byte [r8], r9b
jne 0x140013b63
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 0x140013b50
not ecx
call fcn.14000ab50
test rax, rax
je 0x140013bcf
cmp byte [rax + 0xb6], 0
je 0x140013bcf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc4]
movsx r9d, word [rbx + 0x5bc4]
call fcn.1400036e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d360
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003d9c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018f10
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 + 0x5cb0], 0
lea rbx, [rcx + 0x5cb8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018fb7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140018f6a
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.14001b170
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003f80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5cb0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cc0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400507f7]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140018fbf
mov rcx, rbx
call fcn.140003f80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019440
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140050800]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400194a3
mov qword [rsp], rbx
lea rbx, [0x140041a70]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019483
cmp byte [r8], r9b
jne 0x140019483
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 0x140019470
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
not eax
mov r8, qword [r10 + 0x5c28]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x1400194cf
cmp dword [r8 + 8], eax
je 0x1400194d6
add r8, 0x48
cmp r8, rcx
jne 0x1400194c0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14002c6a0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x14004f010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140050800]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002c86e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002c86e
mov rax, qword [0x140050800]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
test rax, rax
je 0x14002c70b
inc dword [rax + 0xf0]
mov ecx, 0x50
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ebx, ebx
mov rdi, rax
test rax, rax
je 0x14002c738
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
jmp 0x14002c73b
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov rax, qword [0x140050800]
mov dword [rdi + 0x28], 9
test rax, rax
je 0x14002c785
mov rsi, qword [rax + 0x90]
jmp 0x14002c788
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002c7b3
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140050800]
mov rcx, qword [rax + 0x48c8]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop dword [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002c82e
inc rbx
cmp rbx, 5
jl 0x14002c810
jmp 0x14002c85a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14002c870
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003d9c0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14003e4cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003e516
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003e516
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003e516
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003e516
cmp dword [rcx + 0x84], 0xe
jbe 0x14003e516
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003e518
xor al, al
add rsp, 0x28
ret
Function at 0x14000105c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x150
mov rsi, rcx
mov rdi, rdx
xor ebx, ebx
lea rcx, [rax - 0x78]
lea r8d, [rbx + 0x68]
xor edx, edx
call fcn.140019180
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xe0]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0xe0], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x140001128
lea r8d, [rbx + 0x70]
lea rcx, [rsp + 0x70]
xor edx, edx
call fcn.140019180
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x40
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0xa0], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, ebx
je 0x14000112d
mov rbx, qword [rsp + 0xd8]
jmp 0x14000112d
mov rbx, qword [rsp + 0x50]
lea r11, [rsp + 0x150]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140001148
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREIntelDisplayigfxcuihkcmd
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1400011d6
mov rcx, qword [rsp + 0x58]
lea eax, [rbx + 4]
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.ExpansionAllDisplay
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1400011cb
lea eax, [rbx + 1]
cmp dword [rsp + 0x40], eax
cmove ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140002464
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x350
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov r12, rdx
mov rsi, rcx
mov qword [r11 - 0x2f8], rcx
xor edi, edi
cmp qword [rcx + 0x20], rdi
jne 0x1400024b3
jmp 0x14000271b
or r15, 0xffffffffffffffff
mov r8, r15
xor edx, edx
mov rcx, r12
call fcn.1400015b4
lea rcx, str..exe
call fcn.140018b20
mov r8, rax
lea rdx, str..exe
mov rcx, rsi
call fcn.14000198c
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths_
lea rcx, [rsp + 0x88]
call fcn.14000224c
nop
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], dil
mov r9, r15
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x88]
call fcn.140001870
lea rdx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae rdx, qword [rsp + 0x98]
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, edi
jne 0x140002702
mov dword [rsp + 0x3c], 0x104
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
jne 0x140002702
cmp dword [rsp + 0x38], 1
je 0x1400025b4
cmp dword [rsp + 0x38], 2
jne 0x140002702
lea rcx, [rsp + 0x120]
call fcn.140018b20
mov r8, rax
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x50]
call fcn.140001c08
mov byte [rsp + 0x30], 0x25
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001318
mov rbp, rax
cmp rax, r15
jne 0x140002616
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140001af8
mov dil, 1
jmp 0x140002702
mov byte [rsp + 0x30], 0x25
mov r9d, 1
lea r8, [rax + 1]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140001318
mov rbx, rax
cmp rax, r15
je 0x140002702
sub rbx, rbp
lea r9, [rbx - 1]
lea r8, [rbp + 1]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x50]
call fcn.1400022c4
nop
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 0x10
cmovae rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x230]
call fcn.140019490
lea rcx, [rsp + 0x230]
call fcn.14001ac70
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14000224c
nop
cmp qword [rsp + 0x108], rdi
je 0x1400026e6
lea r8, [rbx + 1]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xe8]
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.140001d2c
mov r9, r15
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.140001af8
mov dil, 1
lea rcx, [rsp + 0xe8]
call fcn.140001800
nop
lea rcx, [rsp + 0xb8]
call fcn.140001800
nop
lea rcx, [rsp + 0x50]
call fcn.140001800
nop
lea rcx, [rsp + 0x88]
call fcn.140001800
nop
mov rcx, rsi
call fcn.140001800
mov al, dil
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1400193c0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14000570c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1d0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x14005c8c0]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov rbx, rdx
mov qword [r11 - 0x18], rdx
xor dil, dil
xor edx, edx
mov r8d, 0x178
lea rcx, [rsp + 0x40]
call fcn.140019180
mov r11d, dword [rbx + 0x1c0]
mov dword [rsp + 0x58], r11d
movzx eax, word [rbx + 4]
mov word [rsp + 0x7c], ax
movzx eax, word [rbx + 8]
mov word [rsp + 0x7e], ax
movzx eax, word [rbx + 0x10]
mov word [rsp + 0x82], ax
movzx eax, word [rbx + 0xc]
mov word [rsp + 0x80], ax
movzx eax, word [rbx + 0x34]
mov word [rsp + 0x8c], ax
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x5c], eax
mov eax, dword [rbx]
mov dword [rsp + 0x60], eax
mov eax, dword [rbx + 0x1c]
mov dword [rsp + 0x64], eax
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0x90], eax
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x98], eax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x16c], eax
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x17c], eax
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x18c], eax
mov eax, dword [rbx + 0x3c]
mov dword [rsp + 0x19c], eax
movzx eax, word [rbx + 0x74]
mov word [rsp + 0xc0], ax
movzx eax, word [rbx + 0x78]
mov word [rsp + 0xc2], ax
movzx eax, word [rbx + 0x80]
mov word [rsp + 0xc6], ax
movzx eax, word [rbx + 0x7c]
mov word [rsp + 0xc4], ax
movzx eax, word [rbx + 0xa4]
mov word [rsp + 0xd0], ax
mov eax, dword [rbx + 0xa0]
mov dword [rsp + 0xa0], eax
mov eax, dword [rbx + 0x70]
mov dword [rsp + 0xa4], eax
mov eax, dword [rbx + 0x8c]
mov dword [rsp + 0xa8], eax
mov eax, dword [rbx + 0x94]
mov dword [rsp + 0xd4], eax
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0xdc], eax
mov eax, dword [rbx + 0x88]
mov dword [rsp + 0x170], eax
mov eax, dword [rbx + 0x84]
mov dword [rsp + 0x180], eax
mov eax, dword [rbx + 0xa8]
mov dword [rsp + 0x190], eax
mov eax, dword [rbx + 0xac]
mov dword [rsp + 0x1a0], eax
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140046de8]
xor edx, edx
lea r8d, [rdx + 0x15]
lea rcx, [0x140046e48]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400058f1
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005907
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
mov edx, 0x178
call qword [rax + 0x198]
movzx edi, dil
mov ecx, 1
test eax, eax
cmovns edi, ecx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005907
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsp + 0x30], 0
lea rcx, [rbx + 0x190]
call fcn.140001800
nop
lea rcx, [rbx + 0x120]
call fcn.140001800
nop
lea rcx, [rbx + 0xb0]
call fcn.140001800
nop
lea rcx, [rbx + 0x40]
call fcn.140001800
mov al, dil
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.1400193c0
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret