joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416470
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x00510bc0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x416490
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x416498
ret
cmp word [r8 + 0x18], 0x20b
jne 0x416490
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x4164e5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x4164dc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x416490
add rax, 0x28
cmp rax, r9
jne 0x4164c8
xor eax, eax
ret

Function at 0x4164f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00510bc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x416510
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x416518
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x416510
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x4165a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00510bc0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4165c0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x4165c8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x4167f0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x005371c8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x416170
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x4161c3
mov dword [rax], edi
lea rcx, [0x005371e0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x005371c0]
lea rcx, [0x005371e0]
mov qword [0x005371c0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x416166
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x416820
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x422180
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x422190
xor eax, eax
ret
jmp 0x416150

Function at 0x416860
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x4168a0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4168b8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x47ead0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x47eaf7
call rbp
cmp dword [rax], 4
jne 0x47eb14
mov rcx, rdi
call fcn.0047e8f0
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x47eaf0
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1400035f0
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 0x14000364d
lea rbx, [0x1400de9e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003634
cmp r10, 2
jb 0x140003634
cmp byte [r9], r8b
jne 0x140003634
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 0x140003610
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000368f
lea rbx, [0x1400de9e0]
cmp r8b, 0x23
jne 0x140003673
cmp byte [r9], r8b
jne 0x140003673
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 0x140003660
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400037d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400037ea
mov qword [r8], 0
lea rdx, [0x1400de530]
call fcn.1400036a0
mov rbx, rax
test rax, rax
jne 0x14000380a
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 0x1400038e1
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 0x1400038e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400038e1
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 0x1400038e1
cmp rdi, 0xffffffffffffffff
je 0x1400038e1
mov rax, qword [0x1400f7590]
test rax, rax
je 0x14000387e
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 0x1400038e1
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 0x1400038ce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400f7590]
test rax, rax
je 0x1400038c3
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400038ea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400038dc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400038ec
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 0x1400071b0
Capabilities:
Hash data with crc32

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

Function at 0x140007250
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1400de9e0]
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 0x14000aa60
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 [0x1400f7590]
mov r14d, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
cmp qword [rbx + 0x1a8], 0
jne 0x14000aaa7
cmp qword [rdi + 0x4b48], 0
mov eax, 0x250
je 0x14000aaac
mov eax, 0x220
movss xmm4, dword [rax + rbx]
xorps xmm3, xmm3
movss xmm5, dword [rax + rbx + 4]
xor r15d, r15d
cvttss2si eax, dword [r8]
subss xmm4, dword [rbx + 0x100]
subss xmm5, dword [rbx + 0x104]
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
jp 0x14000aaf1
lea eax, [r15 + 1]
je 0x14000aaf4
mov eax, r15d
ucomiss xmm0, xmm3
jp 0x14000ab01
jne 0x14000ab01
mov r15d, 2
movss xmm2, dword [0x1400e4a58]
or r15d, eax
comiss xmm3, xmm1
jb 0x14000ab1d
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x14000ab1d
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x14000ab2e
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x14000ab2e
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 [rbx + 8]
test rcx, rcx
je 0x14000ab77
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400034d0
jmp 0x14000ab8d
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
lea rcx, [rsp + 0x60]
call fcn.1400034d0
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.14000d750
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], r15b
jne 0x14000abde
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r14d
lea rdx, [0x1400dd9e1]
not r9d
lea r10, [0x1400de9e0]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14000ac0b
cmp byte [rdx], r8b
jne 0x14000ac0b
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 0x14000abf8
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000ac3b
xor edx, edx
xor ecx, ecx
call fcn.140007410
cmp dword [rdi + 0x48e0], r14d
jne 0x14000ac81
cmp word [rsi + 0x15c], 0
jne 0x14000ac57
cmp byte [rsi + 0x162], 0
je 0x14000ac81
xor edx, edx
mov rcx, rsi
call fcn.14000fba0
xor edx, edx
mov rcx, rsi
call fcn.140016030
mov rdx, rsi
mov ecx, ebx
call fcn.140007410
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 0x140013de0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400f60c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400f7590]
mov edi, ecx
cmp byte [rbx + 0x4a91], 0
jne 0x140013e41
cmp byte [rbx + 0x4a92], 0
jne 0x140013e41
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003450
test dil, 2
je 0x140013f6f
jmp 0x140013eca
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 [0x1400e4a94]
mulss xmm1, dword [0x1400e4a84]
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 [0x1400e4970]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.140003450
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013f20
lea r11, [0x1400de9e0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013f03
cmp byte [r8], r9b
jne 0x140013f03
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 0x140013ef0
not ecx
call fcn.14000afd0
test rax, rax
je 0x140013f6f
cmp byte [rax + 0xb6], 0
je 0x140013f6f
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, reloc.WS2_32.dll_recv
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.140003450
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d750
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c9ee0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140019c30
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 0x140019cd7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140019c8a
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.14001c140
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003f60
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, [0x1400f7588]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140019cdf
mov rcx, rbx
call fcn.140003f60
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001a160
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400f7590]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001a1c3
mov qword [rsp], rbx
lea rbx, [0x1400de9e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001a1a3
cmp byte [r8], r9b
jne 0x14001a1a3
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 0x14001a190
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14001a1f7
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001a1fe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14001a1e4
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 0x140045110
Capabilities:
Interact with driver via ioctl

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x1400f60c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor r9d, r9d
mov eax, r8d
cmp byte [0x1400f758b], 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 [0x1400f8200]
mov dword [r11 - 0x34], r9d
mov qword [r11 - 0x30], rcx
mov rcx, qword [0x1400f81f8]
mov qword [r11 - 0x28], rdx
mov edx, 0x222404
mov qword [r11 - 0x58], r9
mov r9d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x40], eax
jne 0x14004517a
mov edx, 0x220c58
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c9ee0
add rsp, 0x78
ret
Function at 0x14004a2c0
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 [0x1400f60c0]
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 0x14004a364
mov qword [r12], rdi
mov rdx, qword [rdx + 0x18]
jmp 0x14004a492
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 0x14004a3a0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [r12], rdi
jmp 0x14004a48e
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x30]
call fcn.1400580a0
mov r8, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14004a3c2
mov rcx, qword [rbx]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14004a3d0
mov r8, qword [rax]
cmp rdx, qword [rbx + 0x10]
jne 0x14004a3f9
test rdx, rdx
je 0x14004a3f4
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14004a3f9
add rcx, 2
sub rdx, 1
jne 0x14004a3e0
mov dil, 1
jmp 0x14004a3fc
xor dil, dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14004a43e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a439
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a507
call fcn.1400ca19c
test dil, dil
je 0x14004a467
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14004a45a
mov eax, dword [rsp + 0x78]
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x14004a467
lea r8, [rsp + 0x78]
mov rcx, rsi
call fcn.140059510
lea rdx, [rsp + 0x70]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004a3a0
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 0x14004a4c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004a4c4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004a50e
mov rcx, r8
call fcn.1400ca19c
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.1400c9ee0
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 0x140054d10
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 [0x1400f60c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [0x1400f7590]
xor esi, esi
test rax, rax
je 0x140054d3c
mov rcx, qword [rax + 0x98]
jmp 0x140054d3f
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x140054d4a
call fcn.14002eff0
call fcn.14002ffd0
call fcn.1400082a0
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call fcn.1400495a0
test ax, ax
je 0x140054e44
mov rax, qword [0x1400f8430]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
movzx ecx, byte [rax]
test cl, cl
jne 0x140054d84
mov byte [rax], 1
jmp 0x140054d8c
cmp cl, 1
jne 0x140054d8c
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 0x140054e17
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140054e17
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x92a4c4e7
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x140054e12
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x140054df0
cmp r8d, 0x8b27df8a
je 0x140054e1c
test r9d, r9d
jne 0x140054dd0
mov rax, qword [rax]
jmp 0x140054da0
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, __WSAFDIsSet
add rax, r10
call rax
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [0x1400f8430]
movzx ecx, byte [rcx]
call fcn.1400524f0
call fcn.14004f020
call fcn.14000a3a0
mov rcx, qword [0x1400f81d0]
lea r8, [0x1400f82f8]
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 [0x1400f81d0]
lea r8, [rsp + 0x20]
mov rdx, qword [0x1400f82f8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400f7590]
mov rcx, qword [rax + 0x48c8]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.14002e590
mov rcx, qword [0x1400f82e0]
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.1400c9ee0
add rsp, 0x40
pop rsi
ret