joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400033e0
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 0x14000343d
lea rbx, [0x14005ab10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003424
cmp r10, 2
jb 0x140003424
cmp byte [r9], r8b
jne 0x140003424
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 0x140003400
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000347f
lea rbx, [0x14005ab10]
cmp r8b, 0x23
jne 0x140003463
cmp byte [r9], r8b
jne 0x140003463
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 0x140003450
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400035e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400035fa
mov qword [r8], 0
lea rdx, [0x14005a660]
call fcn.140003490
mov rbx, rax
test rax, rax
jne 0x14000361a
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 0x140003705
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 0x140003705
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003705
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 0x140003705
cmp rdi, 0xffffffffffffffff
je 0x140003705
mov rax, qword [0x140069b90]
test rax, rax
je 0x140003696
inc dword [rax + 0xf0]
mov rdx, qword [0x140069b80]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x140003705
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 0x1400036f2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140069b90]
test rax, rax
je 0x1400036e1
dec dword [rax + 0xf0]
mov rdx, qword [0x140069b80]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000370e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140003700
mov qword [r14], rdi
mov rax, rsi
jmp 0x140003710
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 0x140006960
Capabilities:
Hash data with crc32

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

Function at 0x140006a00
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x14005ab10]
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 0x14000a3f0
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 [0x140069b90]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov r15, qword [rdi + 0x3ed8]
cmp qword [r15 + 0x1a8], 0
jne 0x14000a437
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000a43c
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 0x14000a483
lea eax, [rbx + 1]
je 0x14000a485
mov eax, ebx
ucomiss xmm0, xmm3
jp 0x14000a491
jne 0x14000a491
mov ebx, 2
movss xmm2, dword [0x140060b30]
or ebx, eax
comiss xmm3, xmm1
jb 0x14000a4ac
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x14000a4ac
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14000a4bd
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000a4bd
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 0x14000a506
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140003340
jmp 0x14000a51c
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.140003340
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000d1c0
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 0x14000a56d
movsd xmm0, qword [rsi + 0x20]
movsd qword [r15 + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x140059b11]
not r9d
lea r10, [0x14005ab10]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x14000a59a
cmp byte [rdx], r8b
jne 0x14000a59a
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 0x14000a587
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000a5ca
xor edx, edx
xor ecx, ecx
call fcn.140006c60
cmp dword [rdi + 0x48e0], r14d
jne 0x14000a610
cmp word [rsi + 0x15c], 0
jne 0x14000a5e6
cmp byte [rsi + 0x162], 0
je 0x14000a610
xor edx, edx
mov rcx, rsi
call fcn.14000f500
xor edx, edx
mov rcx, rsi
call fcn.140015930
mov rdx, rsi
mov ecx, ebx
call fcn.140006c60
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 0x1400136d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140069b90]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x140013731
cmp byte [rbx + 0x4a92], 0
jne 0x140013731
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003230
test dil, 2
je 0x14001385f
jmp 0x1400137ba
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 [0x140060b68]
mulss xmm1, dword [0x140060b58]
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 [0x140060a44]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140003230
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013810
lea r11, [0x14005ab10]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400137f3
cmp byte [r8], r9b
jne 0x1400137f3
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 0x1400137e0
not ecx
call fcn.14000a960
test rax, rax
je 0x14001385f
cmp byte [rax + 0xb6], 0
je 0x14001385f
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.140003230
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d1c0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140056530
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140019480
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 0x140019527
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400194da
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.14001b890
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003e10
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, [0x140069b88]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001952f
mov rcx, rbx
call fcn.140003e10
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400199d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140069b90]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140019a33
mov qword [rsp], rbx
lea rbx, [0x14005ab10]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019a13
cmp byte [r8], r9b
jne 0x140019a13
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 0x140019a00
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140019a67
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x140019a6e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140019a54
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 0x14002e330
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140069b90]
mov edx, 0x210
call fcn.14000ff00
cmp byte [rax], 0
je 0x14002e3a6
xor edx, edx
mov ecx, 0x210
call fcn.1400123b0
test al, al
je 0x14002e3a6
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002e3a6
mov rbx, qword [0x140069b90]
cmp byte [rbx + 0x37b1], 0
je 0x14002e392
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002c40
mov dword [rbx + 0x37c], 0x210
mov dword [rbx + 0x93c], 0xa0
mov rcx, qword [0x140069b90]
mov edx, 0x214
call fcn.14000ff00
cmp byte [rax], 0
je 0x14002e416
xor edx, edx
mov ecx, 0x214
call fcn.1400123b0
test al, al
je 0x14002e416
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002e416
mov rbx, qword [0x140069b90]
cmp byte [rbx + 0x37b1], 0
je 0x14002e402
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002c40
mov dword [rbx + 0x380], 0x214
mov dword [rbx + 0x94c], 0xa1
mov rcx, qword [0x140069b90]
mov edx, 0x212
call fcn.14000ff00
cmp byte [rax], 0
je 0x14002e486
xor edx, edx
mov ecx, 0x212
call fcn.1400123b0
test al, al
je 0x14002e486
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002e486
mov rbx, qword [0x140069b90]
cmp byte [rbx + 0x37b1], 0
je 0x14002e472
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002c40
mov dword [rbx + 0x268], 0x212
mov dword [rbx + 0x944], 0x5b
mov rcx, qword [0x140069b90]
mov edx, 0x216
call fcn.14000ff00
cmp byte [rax], 0
je 0x14002e4f6
xor edx, edx
mov ecx, 0x216
call fcn.1400123b0
test al, al
je 0x14002e4f6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14002e4f6
mov rbx, qword [0x140069b90]
cmp byte [rbx + 0x37b1], 0
je 0x14002e4e2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002c40
mov dword [rbx + 0x26c], 0x216
mov dword [rbx + 0x954], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x140043230
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov eax, r8d
cmp byte [0x140069b8b], 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 [0x14006a7bc]
mov dword [r11 - 0x34], r9d
mov qword [r11 - 0x30], rcx
mov rcx, qword [0x14006a7f8]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], r9
mov r9d, 0x20
mov dword [rsp + 0x40], eax
jne 0x14004329a
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140056530
add rsp, 0x78
ret
Function at 0x14004b280
Capabilities:
Encode data using xor
Interact with driver via ioctl

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4a0
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov ebx, edx
mov r14, rcx
mov qword [rsp + 0x40], rcx
mov eax, edx
sar eax, 0x10
lea ecx, [rax*8]
mov rdx, qword [0x14006a938]
add rdx, 0xf33b490
add rdx, rcx
call fcn.1400558b0
mov rcx, rax
movzx eax, bx
lea r13, [rcx + rax*2]
mov rdx, r13
call fcn.140055b10
movzx r15d, ax
shr r15d, 6
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rdi, [rsp + 0x90]
mov rax, qword [0x14006a938]
add rax, 0xf2655bc
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x4c], r12d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 4
mov eax, dword [0x14006a7bc]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x38], r12
lea r9d, [r12 + 0x20]
lea r8, [rsp + 0x48]
mov rcx, qword [0x14006a7f8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
cmp byte [0x140069b8b], r12b
mov edx, 0x222404
jne 0x14004b380
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebp, dword [rsp + 0x40]
mov esi, ebp
xor esi, 0x9c677cc5
mov eax, 0x3e0f83e1
mul ebp
shr edx, 3
imul eax, edx, 0x21
sub ebp, eax
mov ebx, r12d
test r15d, r15d
je 0x14004b484
mov dword [rsp + 0x6c], r12d
lea rax, [r13 + 2]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x78], rax
lea ecx, [r15 + r15]
mov qword [rsp + 0x80], rcx
mov eax, dword [0x14006a7bc]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x38], r12
mov r9d, 0x20
lea r8, [rsp + 0x68]
mov rcx, qword [0x14006a7f8]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
cmp byte [0x140069b8b], bl
mov edx, 0x222404
jne 0x14004b416
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax]
lea eax, [rbx + rbp]
inc ebx
add esi, eax
xor byte [rdi], sil
lea rdi, [rdi + 1]
cmp ebx, r15d
jl 0x14004b420
cmp r15d, 0x400
jae 0x14004b4d7
mov byte [rsp + r15 + 0x90], r12b
mov qword [r14], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
lea rax, [rsp + 0x90]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14004b470
lea rdx, [rsp + 0x90]
jmp 0x14004b4a1
mov qword [r14], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
xor r8d, r8d
lea rdx, [0x140059856]
mov rcx, r14
call fcn.140040c10
mov rax, r14
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140056530
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140056658
int3
Function at 0x1400558b0
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
cmp byte [0x140069b8b], 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 [0x14006a7bc]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov qword [r11 - 0x38], rcx
mov rcx, qword [0x14006a7f8]
mov qword [r11 - 0x18], 8
mov dword [rsp + 0x48], eax
jne 0x14005591f
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.140056530
add rsp, 0x78
ret

Function at 0x140055940
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
cmp byte [0x140069b8b], 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 [0x14006a7bc]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov rcx, qword [0x14006a7f8]
mov qword [r11 - 0x18], 8
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
jne 0x1400559b4
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.140056530
add rsp, 0x78
ret

Function at 0x1400559e0
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
cmp byte [0x140069b8b], 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 [0x14006a7bc]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov rcx, qword [0x14006a7f8]
mov qword [r11 - 0x18], 4
movss dword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
jne 0x140055a54
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.140056530
add rsp, 0x78
ret
Function at 0x140055a80
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
cmp byte [0x140069b8b], 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 [0x14006a7bc]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x14006a7f8]
mov qword [r11 - 0x18], 4
mov dword [rsp + 0x48], eax
jne 0x140055aef
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140056530
add rsp, 0x78
ret

Function at 0x140055b10
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x140069010]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
lea rax, [r11 - 0x38]
cmp byte [0x140069b8b], 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 [0x14006a7bc]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], rcx
mov word [rsp + 0x40], cx
mov rcx, qword [0x14006a7f8]
mov qword [r11 - 0x18], 2
mov dword [rsp + 0x48], eax
jne 0x140055b80
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140056530
add rsp, 0x78
ret
Function at 0x1405d9058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1405d91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405d9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405d906f
add dl, dl
jne 0x1405d9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405d90f6
xor eax, eax
add dl, dl
jne 0x1405d90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405d91ad
add dl, dl
jne 0x1405d90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405d90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405d907e
mov eax, 1
add dl, dl
jne 0x1405d9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405d9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405d90fb
sub eax, ebx
mov ebx, 1
jne 0x1405d914c
mov ecx, 1
add dl, dl
jne 0x1405d912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405d913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405d9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405d907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405d9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405d9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405d915d
cmp eax, 0x7d00
jae 0x1405d919b
cmp eax, 0x500
jb 0x1405d9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405d907e
cmp eax, 0x7f
ja 0x1405d919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405d907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405d91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405d907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20