joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012d6b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14012d6f2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14012d739
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14012d792
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14012d750
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14012d7d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140142a62]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140142a63]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14012d7a0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14012e790
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14012e7da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14012e7da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14012e7da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14012e7da
cmp dword [rcx + 0x84], 0xe
jbe 0x14012e7da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14012e7dc
xor al, al
add rsp, 0x28
ret
Function at 0x140003180
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 0x1400031dd
lea rbx, [0x14005ba50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400031c4
cmp r10, 2
jb 0x1400031c4
cmp byte [r9], r8b
jne 0x1400031c4
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 0x1400031a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000321f
lea rbx, [0x14005ba50]
cmp r8b, 0x23
jne 0x140003203
cmp byte [r9], r8b
jne 0x140003203
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 0x1400031f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000337a
mov qword [r8], 0
lea rdx, [0x14005b5a0]
call fcn.140003230
mov rbx, rax
test rax, rax
jne 0x14000339a
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 0x140003471
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 0x140003471
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003471
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 0x140003471
cmp rdi, 0xffffffffffffffff
je 0x140003471
mov rax, qword [0x14006abc0]
test rax, rax
je 0x14000340e
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 0x140003471
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 0x14000345e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14006abc0]
test rax, rax
je 0x140003453
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000347a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000346c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000347c
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 0x140006d40
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x14005ba50]
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 0x140006dd6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001af80
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006de0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x14005ba50]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
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 0x14000a5f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x14006abc0]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov r15, qword [rdi + 0x3ed8]
cmp qword [r15 + 0x1a8], 0
jne 0x14000a637
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000a63c
mov eax, 0x220
movss xmm4, dword [rax + r15]
xorps xmm3, xmm3
movss xmm5, dword [rax + r15 + 4]
xor ebx, ebx
cvttss2si eax, dword [r8]
subss xmm4, dword [r15 + 0x100]
subss xmm5, dword [r15 + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x14000a683
lea eax, [rbx + 1]
je 0x14000a685
mov eax, ebx
ucomiss xmm0, xmm3
jp 0x14000a691
jne 0x14000a691
mov ebx, 2
movss xmm2, dword [0x140061a20]
or ebx, eax
comiss xmm3, xmm1
jb 0x14000a6ac
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x14000a6ac
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14000a6bd
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000a6bd
movaps xmm0, xmm2
or dword [rdi + 0x47b8], 2
xor edx, edx
movss dword [rdi + 0x47d8], xmm1
movss dword [rdi + 0x47dc], xmm0
mov dword [rdi + 0x47c0], 1
mov r9, qword [r15 + 8]
test rcx, rcx
je 0x14000a706
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140003060
jmp 0x14000a71c
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.140003060
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000d2d0
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r14d
mov byte [rsi + 0xd2], bl
jne 0x14000a76d
movsd xmm0, qword [rsi + 0x20]
movsd qword [r15 + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x14005aa51]
not r9d
lea r10, [0x14005ba50]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000a79a
cmp byte [rdx], r8b
jne 0x14000a79a
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 0x14000a787
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000a7ca
xor edx, edx
xor ecx, ecx
call fcn.140006fa0
cmp dword [rdi + 0x48e0], r14d
jne 0x14000a810
cmp word [rsi + 0x15c], 0
jne 0x14000a7e6
cmp byte [rsi + 0x162], 0
je 0x14000a810
xor edx, edx
mov rcx, rsi
call fcn.14000f720
xor edx, edx
mov rcx, rsi
call fcn.140015bd0
mov rdx, rsi
mov ecx, ebx
call fcn.140006fa0
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 0x140013980
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14006abc0]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x1400139e1
cmp byte [rbx + 0x4a92], 0
jne 0x1400139e1
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002fe0
test dil, 2
je 0x140013b0f
jmp 0x140013a6a
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bc2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140061a5c]
mulss xmm1, dword [0x140061a4c]
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 [0x14006193c]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140002fe0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013ac0
lea r11, [0x14005ba50]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013aa3
cmp byte [r8], r9b
jne 0x140013aa3
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 0x140013a90
not ecx
call fcn.14000ab60
test rax, rax
je 0x140013b0f
cmp byte [rax + 0xb6], 0
je 0x140013b0f
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 + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.140002fe0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d2d0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400577d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400197d0
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 0x140019877
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001982a
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.14001bcc0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003af0
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, [0x14006abb8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001987f
mov rcx, rbx
call fcn.140003af0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019d00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14006abc0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019d63
mov qword [rsp], rbx
lea rbx, [0x14005ba50]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019d43
cmp byte [r8], r9b
jne 0x140019d43
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 0x140019d30
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019d97
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140019d9e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019d84
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 0x140044b50
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov eax, r8d
cmp byte [0x14006abbb], r9b
lea r8, [r11 - 0x38]
mov qword [r11 - 0x40], r9
mov qword [r11 - 0x48], r9
mov dword [r11 - 0x50], r9d
mov qword [r11 - 0x20], rax
mov eax, dword [0x14006b830]
mov dword [r11 - 0x34], r9d
mov qword [r11 - 0x30], rcx
mov rcx, qword [0x14006b828]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], r9
mov r9d, 0x20
mov dword [rsp + 0x40], eax
jne 0x140044bba
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400577d0
add rsp, 0x78
ret
Function at 0x140049d00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea r12, [rsp + 0x2f8]
movabs r13, 0xff00ff00ff00ff00
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r12
mov rdi, qword [r12]
mov r14, rdi
xor r14, r13
mov qword [rsp + 0x58], r14
xor r15d, r15d
mov qword [r12], r15
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x10], r15
jne 0x140049da4
mov qword [r12], rdi
mov rdx, qword [rdx + 0x18]
jmp 0x140049ed2
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140049de0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [r12], rdi
jmp 0x140049ece
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x30]
call fcn.140056520
mov r8, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140049e02
mov rcx, qword [rbx]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x140049e10
mov r8, qword [rax]
cmp rdx, qword [rbx + 0x10]
jne 0x140049e39
test rdx, rdx
je 0x140049e34
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140049e39
add rcx, 2
sub rdx, 1
jne 0x140049e20
mov dil, 1
jmp 0x140049e3c
xor dil, dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140049e7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049e79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049f47
call fcn.140057a8c
test dil, dil
je 0x140049ea7
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140049e9a
mov eax, dword [rsp + 0x78]
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x140049ea7
lea r8, [rsp + 0x78]
mov rcx, rsi
call fcn.140057250
lea rdx, [rsp + 0x70]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140049de0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor r14, r13
mov qword [r12], r14
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140049f09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140049f04
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140049f4e
mov rcx, r8
call fcn.140057a8c
mov word [rbx], r15w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r15
mov rax, rsi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400577d0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400546b0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x14006abc0]
xor esi, esi
test rax, rax
je 0x1400546dc
mov rcx, qword [rax + 0x98]
jmp 0x1400546df
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x1400546ea
call fcn.14002eb00
call fcn.14002fae0
call fcn.140007e30
mov ecx, 0x2d
call fcn.140048fe0
test ax, ax
je 0x1400547e4
mov rax, qword [0x14006ba60]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
movzx ecx, byte [rax]
test cl, cl
jne 0x140054724
mov byte [rax], 1
jmp 0x14005472c
cmp cl, 1
jne 0x14005472c
mov byte [rax], sil
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x1400547b7
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x1400547b7
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xe51931ea
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x1400547b2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140054790
cmp r8d, 0xe6d7f02d
je 0x1400547bc
test r9d, r9d
jne 0x140054770
mov rax, qword [rax]
jmp 0x140054740
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov ecx, 0x96
add rax, r10
call rax
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [0x14006ba60]
movzx ecx, byte [rcx]
call fcn.140051e90
call fcn.14004e9c0
call fcn.140009f30
mov rcx, qword [0x14006b800]
lea r8, [0x14006b928]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rsp + 0x20], xmm0
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x14006b800]
lea r8, [rsp + 0x20]
mov rdx, qword [0x14006b928]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14006abc0]
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.14002e0a0
mov rcx, qword [0x14006b910]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400577d0
add rsp, 0x40
pop rsi
ret
Function at 0x140056a20
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
cmp byte [0x14006abbb], cl
lea r8, [r11 - 0x30]
mov qword [r11 - 0x40], rcx
mov dword [rsp + 0x4c], ecx
mov qword [r11 - 0x48], rcx
lea r9d, [rcx + 0x20]
mov dword [rsp + 0x28], ecx
mov qword [r11 - 0x20], rax
mov eax, dword [0x14006b830]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov qword [r11 - 0x38], rcx
mov rcx, qword [0x14006b828]
mov qword [r11 - 0x18], 8
mov dword [rsp + 0x48], eax
jne 0x140056a8f
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400577d0
add rsp, 0x78
ret

Function at 0x140056ab0
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
cmp byte [0x14006abbb], cl
lea r8, [r11 - 0x30]
mov qword [r11 - 0x40], rcx
xorps xmm0, xmm0
mov dword [rsp + 0x4c], ecx
mov qword [r11 - 0x48], rcx
lea r9d, [rcx + 0x20]
mov dword [rsp + 0x28], ecx
mov qword [r11 - 0x20], rax
mov eax, dword [0x14006b830]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov rcx, qword [0x14006b828]
mov qword [r11 - 0x18], 8
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
jne 0x140056b24
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movsd xmm0, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400577d0
add rsp, 0x78
ret

Function at 0x140056b50
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
mov dword [rsp + 0x40], 0
cmp byte [0x14006abbb], cl
lea rax, [r11 - 0x38]
mov qword [r11 - 0x40], rcx
lea r8, [r11 - 0x30]
mov dword [rsp + 0x4c], ecx
mov qword [r11 - 0x48], rcx
lea r9d, [rcx + 0x20]
mov dword [rsp + 0x28], ecx
mov qword [r11 - 0x20], rax
mov eax, dword [0x14006b830]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov rcx, qword [0x14006b828]
mov qword [r11 - 0x18], 4
mov dword [rsp + 0x48], eax
jne 0x140056bc3
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm0, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400577d0
add rsp, 0x78
ret