joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140032f2c
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
and dword [rax - 0x38], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov dword [rax - 0x38], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x140032f98
mov r8b, byte [rsp + 0x60]
mov rdx, rax
call fcn.14001d7fc
and qword [rbx + 0x10], 0
mov rax, qword [rdi + 0x10]
xor esi, esi
lea r14d, [rsi - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x140032fb0
mov rbp, qword [rdi]
mov rcx, rbp
mov rdi, rbp
jmp 0x140032fb6
mov rbp, rdi
mov rcx, rdi
lea r12, [rax + rcx]
cmp rdi, r12
je 0x1400330db
lea r8, [0x14006a370]
shl esi, 8
movzx eax, byte [rbp]
add esi, eax
add r14d, 8
js 0x140033053
movsxd r13, esi
movsxd rdi, r14d
lea ecx, [r14 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov r15d, edx
imul eax, edx, 0xfffffffa
add r14d, eax
mov rax, r13
mov rcx, rdi
sar rax, cl
and eax, 0x3f
mov r9b, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140033030
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140033025
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140033049
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.140006670
lea r8, [0x14006a370]
sub rdi, 6
sub r15, 1
jne 0x140032ff6
inc rbp
cmp rbp, r12
jne 0x140032fca
cmp r14d, 0xfffffffa
jle 0x1400330db
lea ecx, [r14 + 8]
shl esi, 8
movsxd rax, esi
sar rax, cl
and eax, 0x3f
mov r9b, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x1400330c9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140033098
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400330db
cmp rcx, qword [rbx + 0x18]
jae 0x1400330c6
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400330be
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x1400330db
mov r9b, 0x3d
mov r8b, byte [rsp + 0x60]
mov edx, 1
mov rcx, rbx
call fcn.140006670
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x1400330a3
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14003659c
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x470
mov rax, qword [0x140091180]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r14d, 2
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp word [rcx], r14w
je 0x1400365dd
cmp word [rcx], 0x17
jne 0x140036681
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
mov dword [rsi], eax
lea rcx, [rsp + 0x50]
mov esi, 0x401
mov r8d, esi
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x50]
xor r14d, r14d
mov r9d, esi
mov dword [rsp + 0x28], r14d
mov edx, ebp
mov rcx, rbx
mov qword [rsp + 0x20], r14
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x140036681
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140036632
cmp rbx, qword [rdi + 0x18]
ja 0x140036668
cmp qword [rdi + 0x18], 0x10
mov rsi, rdi
jb 0x14003664e
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x50]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], r14b
jmp 0x14003667d
mov r8b, byte [rsp + 0x40]
lea r9, [rsp + 0x50]
mov rdx, rbx
mov rcx, rdi
call fcn.1400067d0
mov al, 1
jmp 0x140036683
xor al, al
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140060d70
add rsp, 0x470
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400366a4
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400366b0
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140091180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov dword [rsp + 0x20], 0x80
mov rbx, rdx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140036705
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14003659c
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140060d70
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret

Function at 0x1400366b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1400366b0
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140091180]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov dword [rsp + 0x20], 0x80
mov rbx, rdx
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x140036705
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14003659c
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140060d70
mov rbx, qword [rsp + 0xe8]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400573b4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
xor r15d, r15d
lea r12, [0x140000000]
movzx eax, byte [r15 + r12 + 0x6f9e0]
mov edi, eax
mov r8d, eax
shr edi, 5
mov r11d, eax
shr r8d, 6
mov ebp, edi
lea edx, [rax + rax]
shr r11d, 7
xor edx, eax
and ebp, 4
mov r10d, edi
mov r9d, r8d
and edi, 1
and r10d, 2
imul ecx, edi, 0x1b000000
and r8d, 1
lea ebx, [rdx + rdx]
and r9d, 2
lea edx, [rdx*4]
xor ebx, eax
xor edx, eax
shl ebx, 0x19
shl edx, 8
mov esi, eax
xor rbx, rcx
mov r14d, eax
imul ecx, r10d, 0x1b000000
xor rbx, rcx
imul ecx, r8d, 0x1b000000
xor rbx, rcx
imul ecx, r9d, 0x1b000000
xor rbx, rcx
imul ecx, ebp, 0x1b000000
xor rbx, rcx
imul ecx, r11d, 0x1b000000
xor rbx, rcx
imul ecx, edi, 0x11b00
xor rdx, rcx
imul ecx, r10d, 0x11b00
xor rdx, rcx
imul ecx, r8d, 0x11b00
xor rdx, rcx
imul ecx, r9d, 0x11b00
xor rdx, rcx
imul ecx, ebp, 0x11b00
xor rdx, rcx
imul ecx, edi, 0x11b0000
or rbx, rdx
lea edx, [rax*8]
xor edx, eax
lea eax, [rax*4]
shl edx, 0x10
xor eax, r14d
xor rdx, rcx
imul ecx, r10d, 0x11b0000
xor rdx, rcx
imul ecx, ebp, 0x11b0000
xor rdx, rcx
imul ecx, edi, 0x11b
or rbx, rdx
lea edx, [rax + rax]
xor rdx, rcx
imul ecx, r10d, 0x11b
xor rdx, rcx
imul ecx, ebp, 0x11b
xor rdx, rcx
imul ecx, r11d, 0x11b
xor rdx, rcx
xor rdx, rsi
or rdx, rbx
shl rdx, 0x20
or rdx, rbx
or rdx, rsi
mov qword [r12 + r15*8 + 0x97810], rdx
inc r15
cmp r15, 0x100
jl 0x1400573d7
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [0x140098011], 1
pop r15
pop r14
pop r12
ret

Function at 0x140057540
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
lea rbx, [0x140000000]
movzx r9d, byte [r11 + rbx + 0x6f8e0]
mov edx, r9d
shr edx, 7
imul r10d, edx, 0x1b000000
lea r8d, [r9 + r9]
imul ecx, edx, 0x11b
mov eax, r8d
shl eax, 0x18
xor r10, rax
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [rbx + r11*8 + 0x97000], rcx
inc r11
cmp r11, 0x100
jl 0x14005754f
and qword [0x140097808], 0
and qword [0x140097800], 0
mov rbx, qword [rsp + 8]
mov byte [0x140098010], 1
ret
Function at 0x140059004
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140091180]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x140098110]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140098020], ecx
jg 0x1400590e6
mov eax, ebx
cmp rbx, rax
jne 0x1400590a8
xor ecx, ecx
test rbx, rbx
setne cl
xor eax, eax
test ebx, ebx
setne al
cmp ecx, eax
jne 0x1400590a8
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x140098018]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x140059129
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140060d70
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.1400056a0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140058d34
lea rdx, [0x14008d900]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [0x140098020]
call fcn.14006142c
cmp dword [0x140098020], 0xffffffff
jne 0x140059050
lea rcx, [0x140098018]
call fcn.140058c48
lea rcx, [0x140066d7c]
call fcn.140061028
nop
lea rcx, [0x140098020]
call fcn.1400613c0
jmp 0x140059050
mov ecx, eax
call fcn.14005916c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x14006e468]
lea rcx, [rsp + 0x20]
call fcn.1400056a0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140058d34
lea rdx, [0x14008d900]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x14005a570
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x14005a5e3
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x14005a5a2
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x14005a625
sub rsi, rbx
movzx ecx, byte [rsi + rbx]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x14005a611
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14005a640
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x14005a706
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x14005a6d1
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x14005a686
test rbx, rbx
je 0x14005a6ee
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x14005a6dc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14005a708
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14005a7b5
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x14005a78d
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x14005a745
test rbx, rbx
je 0x14005a7a3
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x14005a795
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400606d4
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x140060723
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x1400606fa
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x140061b44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140061b8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140061b8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140061b8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140061b8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140061b8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140061b90
xor al, al
add rsp, 0x28
ret
Function at 0x180004b56
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor esi, esi
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rcx + rax + 0x88]
mov rbx, rcx
mov r12d, edx
add rax, rcx
mov ebp, dword [rax + 0x20]
mov edi, dword [rax + 0x24]
mov r14d, dword [rax + 0x1c]
mov r13d, dword [rax + 0x18]
add rbp, rcx
add rdi, rcx

Function at 0x18000724c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
lea rcx, str._JAVA_SPLASH_JAR
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea rcx, str._JAVA_SPLASH_FILE
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov dword [rsp + 0x50], 0x3f800000
mov rdi, rax
test rax, rax
je 0x180007398
call fcn.18000a86c
test eax, eax
je 0x18000735c
mov rcx, rdi
call fcn.18000a82c
movsxd rbx, eax
mov rcx, rbx
call sym.jli.dll_JLI_MemAlloc
mov r9, rax
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x50]
mov rdx, rdi
mov rcx, rsi
mov rbp, rax
call fcn.18000a7b4
test rsi, rsi
je 0x18000732d
test al, al
je 0x1800072e5
lea r8, [rsp + 0x58]
mov rdx, rbp
mov rcx, rsi
call fcn.1800092fc
mov rbx, rax
test rax, rax
jne 0x180007305
lea r8, [rsp + 0x58]
mov dword [rsp + 0x50], 0x3f800000
mov rdx, rdi
mov rcx, rsi
call fcn.1800092fc
mov rbx, rax
test rax, rax
je 0x180007326
movss xmm0, dword [rsp + 0x50]
call fcn.18000a970
mov edx, dword [rsp + 0x58]
mov rcx, rbx
call fcn.18000a8e0
mov rcx, rbx
call sym.jli.dll_JLI_MemFree
jmp 0x180007349
call fcn.18000a784
jmp 0x180007349
test al, al
je 0x180007341
movss xmm0, dword [rsp + 0x50]
call fcn.18000a970
mov rcx, rbp
jmp 0x180007344
mov rcx, rdi
call fcn.18000a8a0
mov rcx, rbp
call sym.jli.dll_JLI_MemFree
mov rdx, rsi
mov rcx, rdi
call fcn.18000a928
lea rcx, str._JAVA_VERSION_SET
call fcn.180008c84
lea rcx, str._JAVA_SPLASH_FILE
call fcn.180008c84
lea rcx, str._JAVA_SPLASH_JAR
call fcn.180008c84
mov rcx, qword [0x1800150f8]
call sym.jli.dll_JLI_MemFree
mov rcx, qword [0x1800150f0]
call sym.jli.dll_JLI_MemFree
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x11270
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rbp, rcx
mov qword [rsp + 0x40], r12
mov r12d, dword [rdx + 0x10]
lea rcx, [0x000137c0]
mov qword [rsp + 0x38], r13
mov r13d, dword [rdx + 8]
mov edi, r8d
call sub.ntoskrnl.exe_DbgPrint
cmp edi, 0xc3506404
je 0x112de
cmp edi, 0xc3506408
je 0x112cf
movzx eax, word [rbx]
movzx edx, word [rsp + 0x2c]
mov esi, 1
jmp 0x112eb
mov dx, word [rbx]
mov ax, word [rsp + 0x20]
mov esi, 4
jmp 0x112eb
mov dx, word [rbx]
mov ax, word [rsp + 0x20]
mov esi, 2
cmp r12d, 4
mov r12, qword [rsp + 0x40]
jne 0x1134e
cmp r13d, esi
jb 0x1134e
cmp edi, 0xc3506400
je 0x1132f
cmp edi, 0xc3506404
je 0x11320
cmp edi, 0xc3506408
jne 0x11344
in eax, dx
mov dword [rbx], eax
mov eax, esi
mov qword [rbp + 0x38], rax
xor eax, eax
jmp 0x11353
in ax, dx
mov word [rbx], ax
mov eax, esi
mov qword [rbp + 0x38], rax
xor eax, eax
jmp 0x11353
movzx edx, ax
lea rcx, [0x000137a0]
in al, dx
movzx edx, al
mov byte [rbx], dl
call sub.ntoskrnl.exe_DbgPrint
mov eax, esi
mov qword [rbp + 0x38], rax
xor eax, eax
jmp 0x11353
mov eax, 0xc000000d
mov r13, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret

Function at 0x11380
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x40], rbx
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x30], r12
mov r12d, dword [rdx + 0x10]
mov qword [rcx + 0x38], 0
lea rcx, [0x00013800]
mov edi, r8d
call sub.ntoskrnl.exe_DbgPrint
cmp edi, 0xc350a444
je 0x113f2
cmp edi, 0xc350a448
je 0x113df
movzx ebp, word [rbx]
movzx esi, word [rsp + 0x2c]
add rbx, 4
mov eax, 1
jmp 0x11403
mov si, word [rbx]
mov bp, word [rsp + 0x20]
add rbx, 4
mov eax, 4
jmp 0x11403
mov si, word [rbx]
mov bp, word [rsp + 0x20]
add rbx, 4
mov eax, 2
mov ecx, eax
add rcx, 4
cmp r12, rcx
mov r12, qword [rsp + 0x30]
jae 0x1141a
mov eax, 0xc000000d
jmp 0x11491
cmp edi, 0xc350a440
je 0x11469
cmp edi, 0xc350a444
je 0x1144c
cmp edi, 0xc350a448
jne 0x11483
mov r8d, dword [rbx]
lea rcx, [0x000137f0]
movzx edx, si
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rbx]
movzx edx, si
out dx, eax
jmp 0x11483
movzx r8d, word [rbx]
lea rcx, [0x000137f0]
movzx edx, si
call sub.ntoskrnl.exe_DbgPrint
movzx eax, word [rbx]
movzx edx, si
out dx, ax
jmp 0x11483
movzx r8d, byte [rbx]
lea rcx, [0x000137f0]
movzx edx, bp
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rbx]
movzx edx, bp
out dx, al
lea rcx, [0x000137d0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x11790
Capabilities:
Map section object
Print debug messages

Disassembly:
mov r11, rsp
sub rsp, 0x108
mov eax, dword [rdx + 0x10]
mov qword [r11 - 8], rbx
mov rbx, qword [rdx + 8]
mov qword [r11 - 0x10], rbp
mov ebp, dword [rdx]
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x28], r12
mov r12d, dword [rdx + 4]
mov dword [rsp + 0x70], eax
mov dword [r11 + 0x10], eax
mov eax, dword [rdx + 0x14]
mov rsi, rdx
mov qword [r11 - 0x30], r13
xor r13d, r13d
lea rdx, [0x00013840]
lea rcx, [r11 - 0x48]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], r13
mov qword [r11 - 0x80], r13
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0xc0]
lea r8, [rsp + 0x90]
lea rcx, [rsp + 0x50]
mov edx, 0xf001f
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], r13
mov dword [rsp + 0xa8], 0x40
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0xb8], r13
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
test eax, eax
js 0x119bd
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x88]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov qword [rsp + 0xe8], rdi
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
test eax, eax
mov edi, eax
js 0x119a8
mov eax, dword [rsp + 0x60]
lea r9, [rsp + 0x118]
mov r8, rbx
add rax, rbx
mov edx, r12d
mov ecx, ebp
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.HAL.dll_HalTranslateBusAddress]
mov r8, qword [rsp + 0x68]
movzx ebx, al
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x70]
mov edx, r12d
mov ecx, ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.HAL.dll_HalTranslateBusAddress]
test bl, bl
je 0x119a3
test al, al
je 0x119a3
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
sub rax, rcx
test eax, eax
je 0x119a3
cmp dword [rsp + 0x118], r13d
mov edx, eax
mov qword [rsp + 0x60], rdx
je 0x11914
mov eax, ecx
mov edi, r13d
mov qword [rsi], rax
jmp 0x119a8
mov dword [rsp + 0x48], 0x204
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x80], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x58]
lea rdx, [r9 - 1]
mov qword [rsp + 0x58], r13
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
test eax, eax
mov edi, eax
js 0x119a8
mov rdx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x78]
sub rcx, rax
add rdx, rcx
lea rcx, [0x00013820]
mov qword [rsp + 0x58], rdx
call sub.ntoskrnl.exe_DbgPrint
mov r11, qword [rsp + 0x58]
mov qword [rsi], r11
mov edi, r13d
jmp 0x119a8
mov edi, 0xc0000001
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
mov rdi, qword [rsp + 0xe8]
mov r13, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0x100]
add rsp, 0x108
ret
Function at 0x11af0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov r12, rcx
lea rcx, [0x00013870]
mov rsi, r8
mov rbp, rdx
mov bx, 1
xor di, di
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsi + 0x10], 0x34
jne 0x11c3f
cmp dword [rsi + 8], 0x34
jne 0x11c3f
mov rcx, qword [r12 + 0x40]
mov rax, qword [rbp + 0x18]
xor r12d, r12d
mov qword [rbp + 0x38], r12
movzx esi, word [rax]
lea rdx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
lea ebp, [r12 + 1]
nop
cmp bx, 0xa
ja 0x11bbc
movzx eax, bx
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x3c], eax
movzx eax, si
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x38], 0x113e
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], r12d
call fcn.00011112
test word [rsp + 0x38], 0xff00
jne 0x11bb2
cmp word [rsp + 0x48], 0xb
cmove di, bp
inc bx
test di, di
je 0x11b60
jmp 0x11bc1
test di, di
je 0x11c30
movzx edi, bx
lea rcx, [rsp + 0x38]
movzx ebx, si
add edi, 0xffffffff
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x38], 0x113e
mov dword [rsp + 0x40], 3
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x48], 0xb
mov dword [rsp + 0x44], ebx
call fcn.00011112
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x38], 0x113f
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x44], ebx
call fcn.00011112
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
xor eax, eax
jmp 0x11c44
mov eax, 0xc000000d
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret