joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c9a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000cbce
mov word [rbp + 0x50], 0x4767
mov word [rbp + 0x58], 0x4767
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001700
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000ca54
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001700
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000ca40
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001700
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000ca85
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001700
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000ca70
cmp rdi, rbx
jne 0x14000cba2
mov r13, rsi
mov word [rbp - 0x50], 0x4767
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001700
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000cac6
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001700
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000cab2
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000cbc8
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x470006
call fcn.140003980
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000cb38
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x47001d
call fcn.140003980
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000cb38
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x470006
mov dword [rbp - 0x42], 0x470026
call fcn.140003980
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140003980
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x470006
call fcn.140003980
movzx eax, word [rax]
cmp edi, eax
jl 0x14000cb95
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x47001d
call fcn.140003980
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000cb95
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x470006
mov dword [rbp - 0x32], 0x470026
call fcn.140003980
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140003980
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000cba2
inc r14
jmp 0x14000caa0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000cbce
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000ca10
mov rax, qword [rbp - 8]
jmp 0x14000cbd0
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cc90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x14000dbf0
push rbp
push rbx
lea rbp, [rsp - 0x4f]
sub rsp, 0xf8
call fcn.14000d600
movdqa xmm0, xmmword [0x140011f80]
lea rcx, [rbp - 0x59]
movdqa xmm1, xmmword [0x140012030]
xor ebx, ebx
movdqu xmmword [rbp - 0x59], xmm0
mov qword [rbp + 0x6f], rbx
movdqa xmm0, xmmword [str.0__9_f_v]
movdqu xmmword [rbp - 0x39], xmm0
mov dword [rbp + 0x67], ebx
movdqu xmmword [rbp - 0x49], xmm1
mov word [rbp - 0x29], 0x363d
mov byte [rbp - 0x27], 0x64
call fcn.1400025b0
mov rdx, rax
xor r9d, r9d
lea rax, [rbp + 0x67]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rcx, 0xffffffff80000001
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000ddf3
mov rcx, qword [rbp + 0x6f]
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0xf0], rdi
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xe0], r13
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xd0], r15
call fcn.14000c130
mov eax, 0x4f
mov dword [rbp - 0x59], 0x230026
lea rcx, [rbp - 0x59]
mov word [rbp - 0x35], ax
mov dword [rbp - 0x55], 0x2f0005
mov dword [rbp - 0x51], 0x450013
mov dword [rbp - 0x4d], 0x250024
mov dword [rbp - 0x49], 0x190004
mov dword [rbp - 0x45], 0x3d006c
mov dword [rbp - 0x41], 0x190024
mov dword [rbp - 0x3d], 0xf
mov dword [rbp - 0x39], 0x26000b
call fcn.140001cd0
lea rcx, [rbp - 0x25]
mov dword [rbp - 0x25], 0x2f0033
mov rbx, rax
mov dword [rbp - 0x21], 0x6d000f
mov dword [rbp - 0x1d], 0xa0010
mov dword [rbp - 0x19], 0x3e000c
mov dword [rbp - 0x15], 0x4d0019
mov dword [rbp - 0x11], 0xc003b
mov dword [rbp - 0xd], 0x5a0036
mov dword [rbp - 9], 0x140017
mov dword [rbp - 5], 0x20000f
mov dword [rbp - 1], 0x1f002a
mov dword [rbp + 3], 0x7001b
mov dword [rbp + 7], 0x3a0013
mov dword [rbp + 0xb], 0x30025
mov dword [rbp + 0xf], 0x1a0048
mov dword [rbp + 0x13], 0x160002
mov dword [rbp + 0x17], 0x3b0002
mov dword [rbp + 0x1b], 0x25002e
mov dword [rbp + 0x1f], 0x330024
mov dword [rbp + 0x23], 0x6b0056
call fcn.140002140
mov r9d, 0x40
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r15, qword [rsp + 0xd0]
mov al, 1
mov r14, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xe0]
mov r12, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0x120]
add rsp, 0xf8
pop rbx
pop rbp
ret
xor al, al
add rsp, 0xf8
pop rbx
pop rbp
ret
Function at 0x14000e270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x140028678]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x2f0034
mov dword [rbp - 0x1c], 0x21000f
mov dword [rbp - 0x18], 0x56001a
mov dword [rbp - 0x14], 0x640050
mov dword [rbp - 0x10], 0x1000e
mov dword [rbp - 0xc], 0x6d0020
call fcn.140003eb0
mov rcx, rax
call rbx
mov rbx, qword [0x140028678]
lea rcx, [rbp - 0x20]
mov qword [0x140028658], rax
mov dword [rbp - 0x20], 0x2e0030
mov dword [rbp - 0x1c], 0x240004
mov dword [rbp - 0x18], 0x18
mov dword [rbp - 0x14], 0x640016
mov dword [rbp - 0x10], 0x1000e
mov dword [rbp - 0xc], 0x6d0020
call fcn.140003eb0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x140011f20]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140028648]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x140028668], rax
mov word [rbp - 0x10], 0x141a
mov byte [rbp - 0xe], 0x4f
call fcn.1400065c0
mov rcx, qword [0x140028658]
mov rdx, rax
call rbx
mov rbx, qword [0x140028648]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x210f2f34
mov dword [rbp - 0x1c], 0x2f1a201a
mov dword [rbp - 0x18], 0x8381809
mov word [rbp - 0x14], 0x7a12
call fcn.140004800
mov rcx, qword [0x140028658]
mov rdx, rax
call rbx
mov rbx, qword [0x140028648]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x281e292e
mov dword [rbp - 0x1c], 0x3e070b04
mov dword [rbp - 0x18], 0x3291d25
mov word [rbp - 0x14], 0x7a04
call fcn.140004800
mov rcx, qword [0x140028668]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140011ff0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140028648]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400285f8], rax
mov byte [rbp - 0x10], 0x6c
call fcn.140006200
mov rcx, qword [0x140028668]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140011f90]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140028648]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x140028600], rax
mov dword [rbp - 0x10], 0x6c2a2f08
call fcn.140003a60
mov rcx, qword [0x140028668]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140011f00]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140028648]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400285f0], rax
mov byte [rbp - 0x10], 0x6c
call fcn.140006200
mov rcx, qword [0x140028668]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140011fd0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140028648]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400285e8], rax
mov dword [rbp - 0x10], 0x2d212c05
mov byte [rbp - 0xc], 0x68
call fcn.140004b30
mov rcx, qword [0x140028668]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x140011f70]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140028648]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x202
mov byte [rbp - 0xe], 0x4f
call fcn.1400065c0
mov rcx, qword [0x140028668]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000fad0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x4c
mov dword [rbp - 0x20], 0x2002c
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x30038
mov dword [rbp - 0x18], 0x290033
mov dword [rbp - 0x14], 0xb0020
mov dword [rbp - 0x10], 0x280039
call fcn.140007460
mov rcx, rax
call 0x14000fad0
mov qword [0x140028670], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6a
mov dword [rbp - 0x20], 0x2002c
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x30038
mov dword [rbp - 0x18], 0x290033
mov dword [rbp - 0x14], 0x780051
call fcn.140007200
mov rcx, rax
call 0x14000fad0
lea rcx, [rbp - 0x20]
mov qword [0x140028660], rax
mov dword [rbp - 0x20], 0x330009
mov dword [rbp - 0x1c], 0x21000e
mov dword [rbp - 0x18], 0x65001a
call fcn.140007040
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000fad0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000fb32
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000f1d0
test al, al
jne 0x14000fb44
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000fb00
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140056060
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14005606d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14005607d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140056065
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140056095
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140056082
sub eax, 3
jb 0x1400560af
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400560e6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400560d6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400560d4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400560c3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140056022
jmp 0x14005606d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x28800
mov dl, 0x12
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140056132
cmp rsi, rcx
jae 0x14005613a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140056119
cmp al, 0x8f
ja 0x140056119
cmp byte [rsi - 2], 0xf
je 0x14005611f
sub al, 0xe8
cmp al, 1
ja 0x140056103
cmp rsi, rcx
jae 0x14005613a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140056109
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14005613a
lodsb al, byte [rsi]
jmp 0x140056119
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x53000]
mov eax, dword [rdi]
or eax, eax
je 0x1400561a3
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x565e8]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140056147
jns 0x14005617c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140056186
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14005619d
mov qword [rbx], rax
add rbx, 8
jmp 0x140056167
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400561dd
cmp al, 0xef
ja 0x1400561cf
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400561af
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400561be
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x227]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140056231
sub rsp, 0xffffffffffffff80
jmp 0x14000afa0
Function at 0x140001390
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor ebp, ebp
lea rdx, [rsp + 0x70]
mov qword [r8], rbp
mov rsi, r9
mov qword [r9], rbp
mov rdi, r8
lea r9, [rsp + 0x80]
mov qword [rsp + 0x60], rbp
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlDosPathNameToRelativeNtPathName_U_WithStatus]
mov ebx, eax
test eax, eax
js 0x14000157f
movzx ecx, word [rsp + 0x80]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x50], ebp
lea r9, [rsp + 0xd0]
mov qword [rsp + 0x48], rbp
lea r8, [rsp + 0xa0]
test cx, cx
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x60]
xorps xmm0, xmm0
mov dword [rsp + 0x30], 1
mov eax, ebp
mov dword [rsp + 0x28], 0x80
cmovne rax, qword [rsp + 0x90]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x80]
cmove rax, rdx
mov dword [rsp + 0xa0], 0x30
mov edx, 0x120089
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0x40
movdqu xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov ebx, eax
xor edx, edx
mov rax, qword gs:[0x30]
mov r8, qword [rsp + 0x78]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntdll.dll_RtlReleaseRelativeName]
test ebx, ebx
js 0x14000157f
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
xor r8d, r8d
mov edx, 0xf0004
mov dword [rsp + 0x20], 2
mov qword [rsp + 0x68], rbp
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov ebx, eax
test eax, eax
jns 0x140001505
lea rcx, str.NtCreateSection:_0x_08X_n
jmp 0x14000155b
mov rcx, qword [rsp + 0x68]
xor r9d, r9d
mov dword [rsp + 0x48], 2
mov r8, rdi
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rsi
lea rdx, [r9 - 1]
mov qword [rdi], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsi], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov ebx, eax
cmp eax, 0x40000003
jne 0x140001550
mov ebx, ebp
jmp 0x140001562
test eax, eax
jns 0x140001562
lea rcx, str.NtMapViewOfSection:_0x_08X_n
mov edx, eax
call fcn.140001330
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000158d
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x14000158d
mov edx, ebx
lea rcx, str.NtCreateFile:_0x_08X_n
call fcn.140001330
mov eax, ebx
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140003e90
mov rbx, qword [rsp + 0x118]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400015c0
Capabilities:
Disable driver code integrity
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov eax, 0x5a4d
mov rbp, rcx
cmp word [rcx], ax
jne 0x14000167d
movsxd rcx, dword [rcx + 0x3c]
add rcx, rbp
cmp dword [rcx], 0x4550
jne 0x14000167d
mov r8d, 0x20b
mov eax, 0x88
cmp word [rcx + 0x18], r8w
mov edx, 0x78
cmovne eax, edx
xor esi, esi
mov r12d, dword [rax + rcx]
mov eax, dword [rax + rcx + 4]
lea r13, [r12 + rbp]
mov r15d, dword [r13 + 0x20]
mov edi, dword [r13 + 0x18]
add r15, rbp
mov dword [rsp + 0x68], eax
mov eax, dword [r13 + 0x1c]
add rax, rbp
mov qword [rsp + 0x70], rax
mov eax, dword [r13 + 0x24]
add rax, rbp
sub edi, 1
mov qword [rsp + 0x60], rax
js 0x14000167d
nop
lea ebx, [rdi + rsi]
sar ebx, 1
lea rcx, str.CiInitialize
movsxd r14, ebx
mov edx, dword [r15 + r14*4]
add rdx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jns 0x140001674
lea edi, [rbx - 1]
jmp 0x140001679
jle 0x140001694
lea esi, [rbx + 1]
cmp edi, esi
jge 0x140001650
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp edi, esi
jl 0x14000167d
cmp ebx, dword [r13 + 0x14]
jge 0x14000167d
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
movzx eax, word [rax + r14*2]
mov ecx, dword [rcx + rax*4]
cmp ecx, r12d
jb 0x1400016c0
mov eax, dword [rsp + 0x68]
add eax, r12d
cmp ecx, eax
jb 0x14000167d
lea rax, [rcx + rbp]
jmp 0x14000167f
Function at 0x140001730
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov r11, rsp
push rbp
push r14
sub rsp, 0x168
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov r14, rdx
mov qword [rdx], 0
xor edx, edx
mov dword [r11 - 0x28], 0
mov rbp, rcx
lea r9, [r11 - 0x28]
xor r8d, r8d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400018df
mov rax, qword gs:[0x30]
mov r8d, dword [rsp + 0x150]
mov qword [rsp + 0x198], rsi
add r8, r8
mov qword [rsp + 0x160], rdi
mov rdx, qword [rax + 0x60]
mov rcx, qword [rdx + 0x30]
mov edx, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x150]
xor r9d, r9d
add r8d, r8d
mov rdx, rax
mov rdi, rax
lea ecx, [r9 + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, eax
test eax, eax
js 0x1400018b1
mov qword [rsp + 0x190], rbx
xor ebx, ebx
cmp dword [rdi], ebx
jbe 0x1400018a9
mov ecx, ebx
lea rax, [rsp + 0x20]
imul rcx, rcx, 0x128
mov edx, 2
add rcx, 8
add rcx, rdi
nop dword [rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140001810
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x48]
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rax + 0x20], rcx
mov rcx, rbp
movzx eax, word [rsp + 0x46]
add rdx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000189f
inc ebx
cmp ebx, dword [rdi]
jb 0x1400017f2
jmp 0x1400018a9
mov rax, qword [rsp + 0x30]
xor esi, esi
mov qword [r14], rax
mov rbx, qword [rsp + 0x190]
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rdi, qword [rsp + 0x160]
mov eax, esi
mov rsi, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140003e90
add rsp, 0x168
pop r14
pop rbp
ret
Function at 0x140001b20
Capabilities:
Access peb ldr_data
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140009010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov qword [rcx], 0
lea rdx, [rsp + 0x58]
mov eax, dword [0x140006618]
lea r8, str._lsSystem32_hs
movsd xmm0, qword [0x140006610]
mov rdi, rcx
mov dword [rsp + 0x60], eax
mov esi, 0x23f0
movzx eax, byte [0x14000661c]
mov r9d, 0x7ffe0030
mov byte [rsp + 0x64], al
mov eax, dword [str.CI.dll]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140006624]
mov word [rsp + 0x54], ax
movzx eax, byte [0x140006626]
mov byte [rsp + 0x56], al
movsd qword [rsp + 0x58], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
lea rax, [rsp + 0x50]
cmp word [rcx + 0x120], si
lea rcx, [rsp + 0x70]
cmovb rax, rdx
mov edx, 0x82
mov qword [rsp + 0x20], rax
call fcn.1400016d0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140001390
mov ebx, eax
test eax, eax
jns 0x140001c19
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, str.Failed_to_map__ls:__08X_n
call fcn.140001330
jmp 0x140001d50
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
cmp word [rcx + 0x120], si
jb 0x140001c82
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140001730
mov ebx, eax
test eax, eax
jns 0x140001c57
mov edx, eax
lea rcx, str.Failed_to_FindKernelModule__08X_n
call fcn.140001330
jmp 0x140001d3e
mov rdx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140001900
test eax, eax
je 0x140001d39
mov rax, qword [rsp + 0x30]
xor ebx, ebx
mov qword [rdi], rax
jmp 0x140001d3e
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140001730
mov ebx, eax
test eax, eax
js 0x140001d3e
mov r11, qword [rsp + 0x48]
xor r10d, r10d
xor r9d, r9d
test r11, r11
je 0x140001d2d
mov rbx, qword [rsp + 0x40]
lea rsi, [0x140006a6c]
nop dword [rax + rax]
mov r8, r9
xor edx, edx
sub r8, rsi
mov rax, rsi
add r8, rbx
nop
movzx ecx, byte [rax]
cmp byte [r8 + rax], cl
je 0x140001cdd
test cl, cl
jne 0x140001d29
inc edx
inc rax
cmp edx, 4
jb 0x140001cd0
mov cl, 1
test cl, cl
mov rax, r9
cmove rax, r10
inc r9
mov r10, rax
cmp r9, r11
jb 0x140001cc0
test rax, rax
je 0x140001d2d
movsxd rcx, dword [rax + rbx + 4]
mov rbx, qword [rsp + 0x30]
add rcx, rax
add rbx, 8
add rbx, rcx
lea rcx, str.i_:_0x_llx_n_gCiEnabled_:__llx_n_gCiEnabledAddress_:__llx_n
call fcn.140001330
mov qword [rdi], rbx
xor ebx, ebx
jmp 0x140001d3e
xor cl, cl
jmp 0x140001ce9
lea rcx, str.failed_to_find_CiEnabled_n
call fcn.140001330
mov ebx, 0xc0000225
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtUnmapViewOfSection]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140003e90
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret