joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060d68
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x140107070]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x140107098]
js 0x140060d90
cvtsi2ss xmm0, rcx
jmp 0x140060da5
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x140107060]
call fcn.1400a882c
movss xmm1, dword [0x1400f5f64]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140060dd7
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140060dd7
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140060e05
cmp rbx, 0x200
jae 0x140060e02
shl rbx, 3
cmp rbx, rcx
jae 0x140060e05
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x140060f7d
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [0x140107068]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140107078]
lea rdx, [rdi + rdi]
call fcn.14005f7ac
mov rax, qword [0x140107068]
lea r9, [rdi - 1]
mov qword [0x140107090], r9
mov qword [0x140107098], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140060f72
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x140060e8c
mov rdi, qword [0x140107078]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x140060eca
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x140060f38
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x140060f0d
mov r10, qword [r10]
cmp r10, rax
je 0x140060ec3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140060ec3
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x140060f4c
cmp qword [rdi + r11*8], r10
jne 0x140060f03
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x140060f72
mov r9, qword [0x140107090]
jmp 0x140060e7c
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140060f38
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140080800
int3
Function at 0x140060f8c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x140060fbc
cvtsi2ss xmm0, rdx
jmp 0x140060fd1
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.1400a882c
movss xmm1, dword [0x1400f5f64]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140060fff
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140060fff
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14006102d
cmp rbx, 0x200
jae 0x14006102a
shl rbx, 3
cmp rbx, rcx
jae 0x14006102d
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x14006119b
mov rsi, qword [rdi + 8]
lea rax, [rbx - 1]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rsi
inc ecx
shl rbx, cl
lea rcx, [rdi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14005f7ac
mov qword [rdi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rdi + 0x30], rax
mov rcx, qword [rdi + 8]
mov rcx, qword [rcx]
cmp rcx, rsi
je 0x14006115f
mov rax, rcx
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [rax + r9 + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 8
jb 0x1400610a5
mov r11, qword [rdi + 0x30]
mov rbx, qword [rdi + 0x18]
and r11, r8
add r11, r11
cmp qword [rbx + r11*8], rsi
jne 0x1400610e4
mov qword [rbx + r11*8], rax
mov qword [rbx + r11*8 + 8], rax
jmp 0x140061153
mov r10, qword [rbx + r11*8 + 8]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [r10 + 0x10]
jne 0x140061128
mov r10, qword [r10]
cmp r10, rax
je 0x1400610dd
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400610dd
mov r10, qword [r10 + 8]
cmp rdx, qword [r10 + 0x10]
je 0x140061175
cmp qword [rbx + r11*8], r10
jne 0x14006111e
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rbx + r11*8], rax
mov rax, rcx
cmp rcx, rsi
jne 0x140061095
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140061153
lea rcx, str.invalid_hash_bucket_count
call fcn.140080800
int3
Function at 0x14006d9b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x14006da03
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x14006d9f7
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdx + rdi]
test al, al
jne 0x14006d9e1
test rdi, rdi
jne 0x14006da2f
xor eax, eax
jmp 0x14006dab2
mov rdx, rcx
test r8, r8
je 0x14006d9f7
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14006da2a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x14006da10
jmp 0x14006d9f7
mov ecx, 0x11
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14006daaa
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14006da99
cmp dword [rbx + 0x14], ebp
jne 0x14006da99
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14006da8a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.1400a8910
test eax, eax
je 0x14006daa1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14006da71
test rbx, rbx
je 0x14006daaa
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400762f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401060c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x1400763e3
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x140076378
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x140076350
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140075bb0
mov dword [r14], eax
test eax, eax
jne 0x14007640b
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.14007b820
mov dword [r14], eax
test eax, eax
jne 0x14007640b
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140076080
test eax, eax
je 0x1400763e3
mov ecx, dword [rsi]
test eax, ecx
jne 0x140076404
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.14007b8b0
cmp al, 2
jne 0x1400763e3
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x140076330
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140082e40
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x1400763e8
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.14007b8b0
cmp al, 2
jne 0x140076482
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x140076482
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x14007646a
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x140076440
lea rcx, [rsp + 0x20]
call fcn.140076080
cmp eax, 0x10
jne 0x140076482
or dword [rsi], eax
xor eax, eax
jmp 0x1400763e8
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x1400763e8
Function at 0x140080898
Capabilities:
Get geographical location

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

Function at 0x140083d50
Capabilities:
Parse pe header

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

Function at 0x140094be4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140094a77
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140094a77
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140094a77
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140094a77
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140094a77
cmp dword [rcx + 0x84], 0xe
jbe 0x140094a77
cmp dword [rcx + 0xf8], 0
je 0x140094a77
mov ecx, ebx
call fcn.140094b18
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140094908
cmp dword [rbp + 0x20], 0
je 0x140094ac4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140094acc
int3
xor r8d, r8d
xor edx, edx
jmp 0x140094a10
Function at 0x1400a85a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a85c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400a85c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001128f
Capabilities:
Terminate process

Disassembly:
jmp 0x140015be0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011339
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016f20
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016f40
xor al, al
jmp 0x140016fc1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016f53
xor al, al
jmp 0x140016fc1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140016f7d
xor al, al
jmp 0x140016fc1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016f91
xor al, al
jmp 0x140016fc1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016fa3
xor al, al
jmp 0x140016fc1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140016fbf
xor al, al
jmp 0x140016fc1
mov al, 1
add rsp, 0x38
ret
Function at 0x140014e20
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011488
movzx eax, al
test eax, eax
jne 0x140014e40
mov ecx, 7
call fcn.1400113e8
nop
mov byte [rsp + 0x20], 0
call fcn.140011401
mov byte [rsp + 0x21], al
cmp dword [0x140021888], 1
jne 0x140014e64
mov ecx, 7
call fcn.1400113e8
nop
jmp 0x140014ebc
cmp dword [0x140021888], 0
jne 0x140014eb7
mov dword [0x140021888], 1
lea rdx, [0x14001d660]
lea rcx, [0x14001d330]
call fcn.14001122b
test eax, eax
je 0x140014e98
mov eax, 0xff
jmp 0x140014fc1
lea rdx, [0x14001d220]
lea rcx, [section..rdata]
call fcn.1400113f7
mov dword [0x140021888], 2
jmp 0x140014ebc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113cf
call fcn.14001135c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140014f19
mov rcx, qword [rsp + 0x30]
call fcn.1400111c2
movzx eax, al
test eax, eax
je 0x140014f19
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140028020]
nop
call fcn.140011398
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140014f4d
mov rcx, qword [rsp + 0x38]
call fcn.1400111c2
movzx eax, al
test eax, eax
je 0x140014f4d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001143d
nop
call fcn.140015070
mov dword [rsp + 0x28], eax
call fcn.140011339
movzx eax, al
test eax, eax
jne 0x140014f6c
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140014f7b
call fcn.140011447
nop
xor edx, edx
mov cl, 1
call fcn.1400111b3
mov eax, dword [rsp + 0x28]
jmp 0x140014fc1
add rsp, 0x68
ret
Function at 0x11008
Capabilities:
Create device object
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x60
and qword [rax + 0x18], 0
mov rdi, rcx
lea rcx, [0x00011be0]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [0x00011c00]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x80]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], r11
mov r9d, 0x8010
xor edx, edx
mov rcx, rdi
mov byte [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov ebx, eax
test eax, eax
js 0x110d5
lea rax, [0x00011100]
lea rdx, [0x00011c20]
lea rcx, [rsp + 0x50]
mov qword [rdi + 0xe0], rax
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x70], rax
lea rax, [0x000114c0]
mov qword [rdi + 0x68], rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov ebx, eax
test eax, eax
jns 0x110e1
lea rcx, [0x00011c50]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x110e1
lea rcx, [0x00011c80]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x00011ca0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x11528
Capabilities:
Map section object
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
sub rsp, 0xb0
and qword [rax - 0x78], 0
mov r12, rcx
lea rcx, [0x00011e90]
mov rsi, r9
mov rbp, r8
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [0x00011ec0]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsi], 0
mov rbx, qword [rsp + 0xf0]
and qword [rbx], 0
and qword [rsp + 0x88], 0
and qword [rsp + 0xa0], 0
and qword [rsp + 0xa8], 0
lea rax, [rsp + 0x70]
lea r8, [rsp + 0x80]
mov edx, 0xf001f
mov rcx, rsi
mov dword [rsp + 0x80], 0x30
mov dword [rsp + 0x98], 0x40
mov qword [rsp + 0x90], rax
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov edi, eax
test eax, eax
js 0x11774
mov rcx, qword [rsi]
and qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov edi, eax
test eax, eax
js 0x1176b
mov rax, qword [rsp + 0xd8]
and dword [rsp + 0xe8], 0
xor edx, edx
lea rcx, [r12 + rax]
mov qword [rsp + 0x60], r12
mov r8, r12
lea r12d, [rdx + 1]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rcx
lea r9, [rsp + 0xe8]
mov ecx, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.HAL.dll_HalTranslateBusAddress]
mov r8, qword [rsp + 0x58]
and dword [rsp + 0xe8], 0
mov bl, al
lea rax, [rsp + 0x58]
lea r9, [rsp + 0xe8]
xor edx, edx
mov ecx, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.HAL.dll_HalTranslateBusAddress]
test bl, bl
je 0x11762
test al, al
je 0x11762
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov dword [rsp + 0x48], 0x204
and dword [rsp + 0x40], 0
sub rcx, rax
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsi]
lea r8, [rsp + 0x50]
xor r9d, r9d
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edi, eax
cmp eax, 0xc0000018
jne 0x11738
mov rcx, qword [rsi]
mov dword [rsp + 0x48], 4
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0xd8]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd8]
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov edi, eax
test edi, edi
jns 0x11745
lea rcx, [0x00011ef0]
jmp 0x1177b
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
sub rax, qword [rsp + 0x68]
add rcx, rax
mov qword [rsp + 0x50], rcx
mov qword [rbp], rcx
jmp 0x11780
lea rcx, [0x00011f20]
jmp 0x1177b
lea rcx, [0x00011f50]
jmp 0x1177b
lea rcx, [0x00011f80]
call sub.ntoskrnl.exe_DbgPrint
test edi, edi
jns 0x1178d
mov rcx, qword [rsi]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [0x00011fa0]
call sub.ntoskrnl.exe_DbgPrint
lea r11, [rsp + 0xb0]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x16064
Capabilities:
Create device object
Print debug messages

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r9, rcx
call fcn.00016008
mov rdx, r8
mov rcx, r9
add rsp, 0x28
jmp fcn.00011008
Function at 0x141b64058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141b641df
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 0x141b64089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b6406f
add dl, dl
jne 0x141b64096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b640f6
xor eax, eax
add dl, dl
jne 0x141b640a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b641ad
add dl, dl
jne 0x141b640b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b640c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b640d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b640dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141b640ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141b6407e
mov eax, 1
add dl, dl
jne 0x141b64106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b64113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b640fb
sub eax, ebx
mov ebx, 1
jne 0x141b6414c
mov ecx, 1
add dl, dl
jne 0x141b6412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b6413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b64123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b6407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141b64168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b64175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b6415d
cmp eax, 0x7d00
jae 0x141b6419b
cmp eax, 0x500
jb 0x141b64196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b6407e
cmp eax, 0x7f
ja 0x141b6419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b6407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141b641d2
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 0x141b6407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20