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

Disassembly:
mov rdx, qword [0x140029af0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000e8d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000e8d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000e8d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14000e925
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 0x14000e91c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000e8d0
add rax, 0x28
cmp rax, r9
jne 0x14000e908
xor eax, eax
ret

Function at 0x14000e930
Capabilities:
Parse pe header

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

Function at 0x14000e9e0
Capabilities:
Parse pe header

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

Function at 0x1400101d0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x140029bc0]
mov rax, qword [rsi]
test rax, rax
je 0x140010260
cmp qword [rax + 0x30], 0
jne 0x140010280
lea rbx, [0x140022088]
mov qword [rax + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx], eax
mov rax, qword [rsi]
test rax, rax
je 0x140010230
cmp qword [rax + 0x30], 0
jne 0x140010250
lea rdx, [0x140022088]
mov qword [rax + 0x30], rdx
mov rax, rdx
cmp dword [rax], 0xffffffff
je 0x140021400
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400150d0
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140010212
test rax, rax
jne 0x140010250
call fcn.1400150d0
nop dword [rax]
mov rax, qword [rax + 0x30]
jmp 0x140010220
call fcn.1400150d0
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x1400101f0
test rax, rax
jne 0x140010280
call fcn.1400150d0
nop dword [rax]
mov rbx, qword [rax + 0x30]
jmp 0x1400101fb
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
mov rax, qword [pe_dos_header]
ud2
Function at 0x140010290
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x1400103a2
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x14001037a
add rax, 1
cmp rax, 0x6b
je 0x140010397
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x140010370
cmp edx, 0x6a
je 0x140010397
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x14001038b
Function at 0x140010db0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rsi, qword [0x140029bc0]
mov rax, qword [rsi]
test rax, rax
je 0x140010fa0
cmp qword [rax + 0x28], 0
jne 0x140010f88
lea rcx, [0x1400304d8]
cmp dword [rcx], 1
mov qword [rax + 0x28], rcx
je 0x140010f95
call fcn.1400103c0
mov rax, qword [rsi]
test rax, rax
je 0x140010e30
cmp qword [rax + 0x30], 0
jne 0x140010e50
lea rdx, [0x140022088]
mov qword [rax + 0x30], rdx
mov rax, rdx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
je 0x140010e64
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.1400150d0
cmp qword [rax + 0x30], 0
mov rax, qword [rsi]
je 0x140010e00
test rax, rax
jne 0x140010e50
call fcn.1400150d0
nop dword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r12, rax
test rax, rax
jne 0x140010e1e
call fcn.14000ff00
cmp qword [0x140034050], 0
mov rbx, rax
je 0x140010e1e
test rax, rax
je 0x140010e1e
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
xor r9d, r9d
xor r8d, r8d
mov dword [rbx + 0x70], eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rbx + 0x38], 0xffffffffffffffff
lea rcx, [rbx + 0x68]
mov qword [rbx + 0x30], rax
call fcn.140016f70
cmp eax, 1
je 0x14001100d
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x68], 0xffffffffffffffff
mov dword [rbx + 0xb8], 0
mov qword [rbx + 0x28], 0
call rbp
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r12, rax
call rbp
mov dword [rsp + 0x30], 2
mov r8, rdi
mov rdx, r12
mov dword [rsp + 0x28], 0
mov rcx, rax
lea r9, [rbx + 0x28]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140021406
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [rbx + 0xbc], 0
mov dword [rbx + 0xc0], eax
movzx eax, byte [rbx + 0x40]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rbx + 0x40], al
mov rax, qword [rsi]
test rax, rax
je 0x140010fe8
cmp qword [rax + 0x30], 0
je 0x140010fd0
mov rax, qword [rax + 0x30]
mov ecx, dword [rax]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140021406
mov r12, rbx
mov rax, r12
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x140010dec
mov rax, qword [rsi]
jmp 0x140010df9
call fcn.1400150d0
cmp qword [rax + 0x28], 0
mov rax, qword [rsi]
je 0x140010dd8
test rax, rax
jne 0x140010f88
call fcn.1400150d0
mov rcx, qword [rax + 0x28]
cmp dword [rcx], 1
jne 0x140010dec
jmp 0x140010df1
lea rdx, [0x140022088]
mov qword [rax + 0x30], rdx
mov rax, rdx
jmp 0x140010f5e
call fcn.1400150d0
mov r8, rax
mov rax, qword [rsi]
cmp qword [r8 + 0x30], 0
je 0x140010fd0
test rax, rax
jne 0x140010f5a
call fcn.1400150d0
jmp 0x140010f5a
call fcn.140010290
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [0x140029bc0]
mov rdx, qword [rax]
lea rax, [0x1400304e8]
mov qword [rdx + 0x10], rax
ret
Function at 0x140014f50
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140014f70
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140014fb8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140014f64
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140014fa5
Function at 0x1400150d0
Capabilities:
Check mutex on windows

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [0x1400305c0]
mov dword [rsp + 0x2c], eax
lea rcx, [rsp + 0x2c]
lea r9, [rsp + 0x30]
movzx eax, byte [rcx]
add rcx, 1
add rdx, 2
mov r8d, eax
and eax, 0xf
shr r8b, 4
add eax, 0x61
add r8d, 0x41
mov byte [rdx - 1], al
mov byte [rdx - 2], r8b
cmp rcx, r9
jne 0x1400150f3
lea rax, [0x1400305c8]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x1a]
jmp 0x14001513b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140015138
lea rax, [0x140030600]
mov ecx, 0x5f
lea rdx, str.__shmem3_winpthreads_tdm_
lea r8, [rax + 0x19]
jmp 0x14001516b
movzx ecx, byte [rdx]
add rax, 1
add rdx, 1
mov byte [rax - 1], cl
cmp rax, r8
jne 0x140015168
xor ecx, ecx
mov byte [0x140030619], 0x2d
movabs rax, 0x6161616161616161
movabs rdx, 0x6161616161616161
mov qword [0x140030622], rdx
lea r8, [0x1400305c0]
lea rbx, [0x14003061a]
mov qword [0x140030632], rdx
mov qword [0x140030642], rdx
mov qword [0x140030652], rdx
xor edx, edx
mov qword [0x14003061a], rax
mov qword [0x14003062a], rax
mov qword [0x14003063a], rax
mov qword [0x14003064a], rax
mov byte [0x14003065a], 0
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140015346
lea rcx, [0x140030600]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140015291
lea rsi, [0x140030500]
lea r8, [0x14003065a]
mov rax, rbx
lea ecx, [rbx + 0x40]
nop dword [rax]
mov edx, ecx
sub edx, eax
bt rsi, rdx
jae 0x14001523d
mov byte [rax], 0x41
add rax, 1
cmp r8, rax
jne 0x140015230
lea rcx, [0x140030600]
call qword [sym.imp.KERNEL32.dll_AddAtomA]
test ax, ax
je 0x140015333
lea rcx, [0x140014fe0]
mov qword [0x140030500], rsi
call sub.msvcrt.dll__onexit
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [0x140030500]
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r8d, 0x5b
lea rdx, [0x140030600]
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_GetAtomNameA]
lea r8, [0x14003065a]
xor edx, edx
lea r10d, [rbx + 0x40]
mov r11d, eax
mov r9d, 1
mov rax, rbx
test r11d, r11d
je 0x140015366
nop dword [rax]
cmp byte [rax], 0x41
jne 0x1400152e3
mov ecx, r10d
mov rbx, r9
sub ecx, eax
shl rbx, cl
or rdx, rbx
add rax, 1
cmp r8, rax
jne 0x1400152d0
mov rax, rdx
mov qword [0x140030500], rax
lea rsi, [0x140030500]
jmp 0x140015309
cmp rdx, rsi
je 0x14001526f
mov rdx, rax
mov rax, qword [rax + 8]
test rax, rax
jne 0x140015300
cmp rdx, rsi
je 0x14001526f
mov qword [rdx + 8], rsi
lea rcx, [0x140014fe0]
call sub.msvcrt.dll__onexit
jmp 0x14001526f
lea rcx, str.failed_to_add_string_to_atom_table_n
call fcn.140014f50
xor eax, eax
jmp 0x140015288
lea rcx, str.failed_to_to_lock_creation_mutex_n
call fcn.140014f50
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
lea rcx, str.failed_to_get_string_from_atom_n
call fcn.140014f50
xor eax, eax
jmp 0x1400152ef
Function at 0x180001500
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov r10, rdx
mov r9, rcx
test r8d, r8d
je 0x180001572
mov r11d, r8d
nop
inc byte [r9 + 0x100]
movzx r8d, byte [r9 + 0x100]
inc r10
movzx eax, byte [r8 + r9]
add byte [r9 + 0x101], al
movzx edx, byte [r9 + 0x101]
movzx ecx, byte [r8 + r9]
movzx eax, byte [rdx + r9]
mov byte [r8 + r9], al
mov byte [rdx + r9], cl
movzx eax, byte [r9 + 0x101]
movzx ecx, byte [r9 + 0x100]
movzx ecx, byte [rcx + r9]
add cl, byte [rax + r9]
movzx eax, cl
movzx ecx, byte [rax + r9]
xor byte [r10 - 1], cl
dec r11
jne 0x180001510
repz ret
Function at 0x180002f80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
lea rcx, [rbp - 8]
mov dword [rbp - 8], 0x905e8d68
mov dword [rbp - 4], 0x807c7b8f
mov dword [rbp], 0x7d8b7b5b
mov dword [rbp + 4], 0x7f657776
mov dword [rbp + 8], 0x75837353
mov dword [rbp + 0xc], 0x7c5c6f6e
mov dword [rbp + 0x10], 0x57706968
mov dword [rbp + 0x14], 0x666864
mov dword [rsp + 0x20], 0x70507c57
mov dword [rsp + 0x24], 0x6f6b6a7e
mov dword [rsp + 0x28], 0x6c7a6a4a
mov word [rsp + 0x2c], 0x6665
mov byte [rsp + 0x2e], 0
mov dword [rbp - 0x48], 0x7e618a65
mov dword [rbp - 0x44], 0x898a588c
mov dword [rbp - 0x40], 0x767a7675
mov dword [rbp - 0x3c], 0x83735374
mov dword [rbp - 0x38], 0x5b6f6e75
mov dword [rbp - 0x34], 0x776b6d6d
mov dword [rbp - 0x30], 0x66657169
mov byte [rbp - 0x2c], 0
mov dword [rsp + 0x48], 0x785b845f
mov dword [rsp + 0x4c], 0x867f5d86
mov dword [rsp + 0x50], 0x70507f73
mov dword [rsp + 0x54], 0x6c6b7280
mov dword [rsp + 0x58], 0x686e6755
mov word [rsp + 0x5c], 0x7565
mov byte [rsp + 0x5e], 0
mov dword [rbp - 0x68], 0x865e8964
mov dword [rbp - 0x64], 0x867a838c
mov dword [rbp - 0x60], 0x54768674
mov dword [rbp - 0x5c], 0x6f768474
mov dword [rbp - 0x58], 0x726b5970
mov dword [rbp - 0x54], 0x5079696c
mov dword [rbp - 0x50], 0x75756c
mov dword [rsp + 0x78], 0x8a678661
mov dword [rsp + 0x7c], 0x578b8579
mov dword [rbp - 0x80], 0x51737b79
mov dword [rbp - 0x7c], 0x6e4e7e7b
mov dword [rbp - 0x78], 0x6a69707e
mov dword [rbp - 0x74], 0x666f6452
mov byte [rbp - 0x70], 0
mov dword [rsp + 0x60], 0x836b8560
mov dword [rsp + 0x64], 0x757e877f
mov dword [rsp + 0x68], 0x75837353
mov dword [rsp + 0x6c], 0x775d6f6e
mov dword [rsp + 0x70], 0x5278754b
mov dword [rsp + 0x74], 0x666f64
mov dword [rbp - 0x28], 0x806e8c67
mov dword [rbp - 0x24], 0x8b8b8281
mov dword [rbp - 0x20], 0x865a877b
mov dword [rbp - 0x1c], 0x78777664
mov dword [rbp - 0x18], 0x6c7e8181
mov dword [rbp - 0x14], 0x7577727e
mov dword [rbp - 0x10], 0x71656d49
mov word [rbp - 0xc], 0x6669
mov byte [rbp - 0xa], 0
mov dword [rsp + 0x30], 0x775a835e
mov dword [rsp + 0x34], 0x81785485
mov dword [rsp + 0x38], 0x80705078
mov dword [rsp + 0x3c], 0x556c6b72
mov dword [rsp + 0x40], 0x65686e67
mov word [rsp + 0x44], 0x75
call fcn.180004330
lea rcx, [rsp + 0x20]
mov qword [0x1800083d8], rax
call fcn.180004390
lea rcx, [rbp - 0x48]
mov qword [0x1800083e0], rax
call fcn.1800043f0
lea rcx, [rsp + 0x48]
mov qword [0x1800083e8], rax
call fcn.180004450
lea rcx, [rbp - 0x68]
mov qword [0x1800083f0], rax
call fcn.1800044b0
lea rcx, [rsp + 0x78]
mov qword [0x1800083f8], rax
call fcn.180004510
mov qword [0x180008400], rax
lea rcx, [rsp + 0x60]
call fcn.180004570
lea rcx, [rbp - 0x28]
mov qword [0x180008408], rax
call fcn.1800045d0
lea rcx, [rsp + 0x30]
mov qword [0x180008410], rax
call fcn.180004630
mov qword [0x180008418], rax
add rsp, 0x120
pop rbp
ret
Function at 0x1800032a0
Capabilities:
Create device object

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rsi, rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], dil
mov dword [rsp + 0x20], edi
mov r9d, dword [rcx + 0x48]
xor r8d, r8d
lea edx, [rdi + 0x20]
mov rcx, qword [0x1800082c0]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
js 0x1800033cd
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rcx + 0x40]
test rbx, rbx
je 0x18000331e
mov dword [rbx], 1
mov qword [rbx + 8], rdi
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov rcx, qword [rsp + 0x60]
jmp 0x180003321
mov rbx, rdi
mov eax, dword [rsi + 0x30]
and eax, 0x14
or dword [rcx + 0x30], eax
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsi + 0x34]
and eax, 0x100
or dword [rcx + 0x34], eax
mov qword [rsp + 0x68], rdi
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [0x180008418]
test eax, eax
js 0x180003360
lea rdx, [rbx + 0x10]
mov rcx, qword [rsp + 0x68]
call qword [0x180008408]
lea r8, [rbx + 8]
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
call qword [0x1800083d8]
test eax, eax
js 0x180003389
mov rax, qword [rsp + 0x60]
and dword [rax + 0x30], 0xffffff7f
mov rdi, qword [rsp + 0x60]
jmp 0x1800033b6
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x1800033a8
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1800033a8
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800033c8
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1800033cd
mov rax, rdi
jmp 0x1800033d2
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180004690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
xor ebx, ebx
mov dword [rbp - 0x60], 0x75637462
mov dword [rbp - 0x5c], 0x80807776
mov dword [rbp - 0x58], 0x694c7c70
mov dword [rbp - 0x54], 0x65677273
mov dword [rbp - 0x50], 0x746d66
mov ecx, ebx
mov dword [rbp - 0x48], 0x80687664
mov dword [rbp - 0x44], 0x77767563
mov dword [rbp - 0x40], 0x7c708080
mov dword [rbp - 0x3c], 0x7273694c
mov dword [rbp - 0x38], 0x6d666567
mov word [rbp - 0x34], 0x74
lea rdx, [rbp - 0x60]
lea r8, [rbp - 0x30]
nop dword [rax + rax]
movzx eax, cl
inc ecx
add r8, 2
add al, byte [rdx]
inc rdx
sub al, 0x13
movzx eax, al
mov word [r8 - 2], ax
cmp ecx, 0x14
jb 0x180004700
lea rax, [rbp - 0x30]
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x58], rax
mov eax, 0x26
mov word [rbp - 0x60], ax
mov eax, 0x28
mov word [rbp - 0x5e], ax
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rcx, [rbp - 0x48]
mov qword [0x180008420], rax
lea rdx, [rbp - 0x30]
movzx eax, byte [rcx]
add rdx, 2
inc rcx
add al, bl
inc ebx
sub al, 0x15
movzx eax, al
mov word [rdx - 2], ax
cmp ebx, 0x16
jb 0x180004750
lea rax, [rbp - 0x30]
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x58], rax
mov eax, 0x2a
mov word [rbp - 0x60], ax
mov eax, 0x2c
mov word [rbp - 0x5e], ax
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov rbx, qword [rsp + 0x90]
mov qword [0x180008428], rax
add rsp, 0x80
pop rbp
ret
Function at 0x180004a80
Capabilities:
Create device object

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, 0x78
lea r8, [0x180004c30]
lea edx, [rcx - 0x6a]
nop dword [rax + rax]
mov rax, qword [rbx + 0x2c0]
add rcx, 0x10
dec rdx
mov qword [rcx + rax - 0x18], r8
mov rax, qword [rbx + 0x2c0]
mov qword [rcx + rax - 0x10], r8
jne 0x180004aa0
mov rax, qword [rbx + 0x2c0]
lea rcx, [rbx + 0x2d8]
mov qword [rax + 0x50], rcx
lea rcx, [rbx + 0x2c8]
call fcn.1800047b0
cmp qword [0x1800083d8], 0
je 0x180004b56
cmp qword [0x1800083e0], 0
je 0x180004b56
cmp qword [0x1800083e8], 0
je 0x180004b56
cmp qword [0x1800083f0], 0
je 0x180004b56
cmp qword [0x1800083f8], 0
je 0x180004b56
cmp qword [0x180008400], 0
je 0x180004b56
cmp qword [0x180008408], 0
je 0x180004b56
mov rax, qword [0x180008410]
test rax, rax
je 0x180004b56
cmp qword [0x180008418], 0
je 0x180004b56
mov rcx, qword [0x1800082c0]
lea rdx, [0x1800033f0]
call rax
test eax, eax
js 0x180004b56
mov byte [rbx + 0x2d0], 1
mov rax, qword [0x180008450]
test rax, rax
je 0x180004b93
cmp qword [0x180008458], 0
je 0x180004b93
cmp qword [0x180008460], 0
je 0x180004b93
lea r8, [rbx + 0x3c0]
lea rcx, [0x180004f70]
xor edx, edx
call rax
test eax, eax
js 0x180004b93
mov byte [rbx + 0x3b8], 1
lea rdx, str.DeviceF06DEFF2_5B9C_490D_910F_35D3A9119622setmgrc1
lea rcx, [rsp + 0x40]
add rbx, 0x3c8
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, str.DosDevicesGlobalF06DEFF2_5B9C_490D_910F_35D3A9119622setmgrc1
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [0x1800082c0]
mov r9d, 0x22
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x40]
lea edx, [r9 - 0x1e]
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jns 0x180004bf6
call fcn.180004cb0
int3
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 0x40]
mov dword [rcx], 0
lea rcx, [rsp + 0x50]
mov byte [rbx + 8], 0
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
test eax, eax
jns 0x180004c21
call fcn.180004cb0
int3
mov byte [rbx + 8], 1
add rsp, 0x60
pop rbx
ret
Function at 0x180004de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
xor ebx, ebx
mov dword [rbp - 0x39], 0x74627e55
mov dword [rbp - 0x35], 0x7f7f7675
mov dword [rbp - 0x31], 0x684b7b6f
mov dword [rbp - 0x2d], 0x64667172
mov word [rbp - 0x29], 0x6c65
mov ecx, ebx
mov byte [rbp - 0x27], 0
mov dword [rbp - 9], 0x7f678057
mov dword [rbp - 5], 0x76757462
mov dword [rbp - 1], 0x7b6f7f7f
mov dword [rbp + 3], 0x7172684b
mov dword [rbp + 7], 0x6c656466
mov byte [rbp + 0xb], 0
mov dword [rbp - 0x21], 0x83607260
mov dword [rbp - 0x1d], 0x58847e72
mov dword [rbp - 0x19], 0x596c756a
mov dword [rbp - 0x15], 0x706c7679
mov word [rbp - 0x11], 0x68
lea rdx, [rbp - 0x39]
lea r8, [rbp + 0x1f]
movzx eax, cl
inc ecx
add r8, 2
add al, byte [rdx]
inc rdx
sub al, 0x12
movzx eax, al
mov word [r8 - 2], ax
cmp ecx, 0x13
jb 0x180004e72
lea rax, [rbp + 0x1f]
lea rcx, [rbp - 0x39]
mov dword [rbp - 0x39], 0x260024
mov qword [rbp - 0x31], rax
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
mov ecx, ebx
lea rdx, [rbp - 9]
lea r8, [rbp + 0x1f]
mov qword [0x180008450], rax
nop dword [rax]
movzx eax, cl
inc ecx
add r8, 2
add al, byte [rdx]
inc rdx
sub al, 0x14
movzx eax, al
mov word [r8 - 2], ax
cmp ecx, 0x15
jb 0x180004ec0
lea rax, [rbp + 0x1f]
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x31], rax
mov eax, 0x28
mov word [rbp - 0x39], ax
mov eax, 0x2a
mov word [rbp - 0x37], ax
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea rcx, [rbp - 0x21]
mov qword [0x180008458], rax
lea rdx, [rbp - 9]
movzx eax, bl
inc ebx
add rdx, 2
add al, byte [rcx]
inc rcx
sub al, 0x11
movzx eax, al
mov word [rdx - 2], ax
cmp ebx, 0x12
jb 0x180004f10
lea rax, [rbp - 9]
lea rcx, [rbp - 0x39]
mov dword [rbp - 0x39], 0x240022
mov qword [rbp - 0x31], rax
call qword [sym.imp.ntoskrnl.exe_MmGetSystemRoutineAddress]
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov qword [0x180008460], rax
mov rsp, r11
pop rbp
ret