Function at 0x1104c
Capabilities:
Create device object

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov rax, qword [0x0004b108]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xor eax, eax
mov dil, 0x41
mov sil, 0x61
lea rcx, [r11 - 0xf7]
lea r8d, [rax + 0x3f]
xor edx, edx
mov byte [rsp + 0xd8], 0
mov bpl, dil
mov r12b, sil
mov r13b, dil
mov byte [rsp + 0x41], sil
mov byte [rsp + 0xf0], al
mov qword [r11 - 0x10f], rax
call fcn.000407c0
xor edx, edx
lea rcx, [rsp + 0x131]
lea r8d, [rdx + 0x3f]
mov byte [rsp + 0x130], 0
call fcn.000407c0
xor edx, edx
lea rcx, [rsp + 0x171]
lea r8d, [rdx + 0x3f]
mov byte [rsp + 0x170], 0
call fcn.000407c0
and dword [rsp + 0x44], 0
mov ebx, 1
movabs r14, 0xfffff78000000320
mov rax, qword [r14]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add dil, cl
xor ecx, ecx
lea eax, [rdi - 0x61]
cmp al, 0x19
lea eax, [rdi - 0x41]
cmovbe ecx, ebx
cmp al, 0x19
cmovbe ecx, ebx
test ecx, ecx
je 0x11105
mov bl, byte [rsp + 0x41]
mov byte [rsp + 0x40], dil
movabs r15, 0xfffff78000000014
mov r14b, bl
mov edi, 1
mov rax, qword [r15]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add sil, cl
xor ecx, ecx
lea eax, [rsi - 0x61]
cmp al, 0x19
lea eax, [rsi - 0x41]
cmovbe ecx, edi
cmp al, 0x19
cmovbe ecx, edi
test ecx, ecx
je 0x11161
mov r15b, r13b
mov byte [rsp + 0x48], sil
mov ebx, 1
movabs r13, 0xfffff78000000320
mov rax, qword [r13]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add bpl, cl
xor ecx, ecx
lea eax, [rbp - 0x61]
cmp al, 0x19
lea eax, [rbp - 0x41]
cmovbe ecx, ebx
cmp al, 0x19
cmovbe ecx, ebx
test ecx, ecx
je 0x111b9
mov byte [rsp + 0x49], bpl
mov r13b, 0x41
mov edi, 1
movabs rsi, 0xfffff78000000014
mov rax, qword [rsi]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add r12b, cl
xor ecx, ecx
lea eax, [r12 - 0x61]
cmp al, 0x19
lea eax, [r12 - 0x41]
cmovbe ecx, edi
cmp al, 0x19
cmovbe ecx, edi
test ecx, ecx
je 0x11212
mov ebx, 1
movabs rbp, 0xfffff78000000320
mov rax, qword [rbp]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add r13b, cl
xor ecx, ecx
lea eax, [r13 - 0x61]
cmp al, 0x19
lea eax, [r13 - 0x41]
cmovbe ecx, ebx
cmp al, 0x19
cmovbe ecx, ebx
test ecx, ecx
je 0x11266
mov edi, 1
movabs rsi, 0xfffff78000000014
mov rax, qword [rsi]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add r14b, cl
xor ecx, ecx
lea eax, [r14 - 0x61]
cmp al, 0x19
lea eax, [r14 - 0x41]
cmovbe ecx, edi
cmp al, 0x19
cmovbe ecx, edi
test ecx, ecx
je 0x112b9
mov ebx, 1
movabs rbp, 0xfffff78000000320
mov rax, qword [rbp]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add r15b, cl
xor ecx, ecx
lea eax, [r15 - 0x61]
cmp al, 0x19
lea eax, [r15 - 0x41]
cmovbe ecx, ebx
cmp al, 0x19
cmovbe ecx, ebx
test ecx, ecx
je 0x1130b
mov bl, byte [rsp + 0x41]
mov bpl, byte [rsp + 0x49]
mov edi, 1
movabs rsi, 0xfffff78000000014
mov rax, qword [rsi]
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], eax
call qword [sym.imp.ntoskrnl.exe_RtlRandomEx]
mov ecx, eax
mov eax, 0x4ec4ec4f
mul ecx
shr edx, 3
imul edx, edx, 0x1a
sub ecx, edx
add bl, cl
xor ecx, ecx
lea eax, [rbx - 0x61]
cmp al, 0x19
lea eax, [rbx - 0x41]
cmovbe ecx, edi
cmp al, 0x19
cmovbe ecx, edi
test ecx, ecx
je 0x11367
mov dil, byte [rsp + 0x40]
mov sil, byte [rsp + 0x48]
lea rcx, [rsp + 0xf0]
mov byte [rsp + 0xd8], dil
lea r8, [0x00010000]
or r9, 0xffffffffffffffff
mov rax, qword [r8 + 0x309e0]
lea rdi, [rsp + 0xf0]
mov byte [rsp + 0xdf], bl
mov qword [rcx], rax
mov al, byte [r8 + 0x309e8]
mov byte [rsp + 0xd9], sil
mov byte [rcx + 8], al
xor eax, eax
mov rcx, r9
repne scasb al, byte [rdi]
lea ebx, [rax + 1]
mov byte [rsp + 0xda], bpl
sub rdi, rbx
mov byte [rsp + 0xdb], r12b
mov byte [rsp + 0xdc], r13b
xor ecx, ecx
mov byte [rsp + 0xdd], r14b
mov byte [rsp + 0xde], r15b
lea rdx, [rsp + 0xd8]
mov al, byte [rdx + rcx]
mov byte [rdi + rcx], al
add rcx, rbx
test al, al
jne 0x11436
mov rax, qword [r8 + 0x309f0]
lea rcx, [rsp + 0x130]
lea rdi, [rsp + 0x130]
mov qword [rcx], rax
mov eax, dword [r8 + 0x309f8]
mov dword [rcx + 8], eax
mov al, byte [r8 + 0x309fc]
mov byte [rcx + 0xc], al
xor eax, eax
mov rcx, r9
repne scasb al, byte [rdi]
lea rcx, [rsp + 0xd8]
sub rdi, rbx
xor edx, edx
mov al, byte [rcx + rdx]
mov byte [rdi + rdx], al
add rdx, rbx
test al, al
jne 0x11485
mov rax, qword [r8 + 0x30a00]
lea rdx, [rsp + 0x170]
lea rdi, [rsp + 0x170]
mov qword [rdx], rax
mov al, byte [r8 + 0x30a08]
mov rcx, r9
mov byte [rdx + 8], al
xor eax, eax
lea rdx, [rsp + 0xd8]
repne scasb al, byte [rdi]
sub rdi, rbx
xor ecx, ecx
mov al, byte [rdx + rcx]
mov byte [rdi + rcx], al
add rcx, rbx
test al, al
jne 0x114ca
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x78]
mov r8b, bl
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x68]
mov r8b, bl
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x58]
mov r8b, bl
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x88]
mov r8b, bl
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
lea rdx, [0x0001103c]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_IoCreateDriver]
xor ebp, ebp
cmp eax, ebp
mov edi, eax
jge 0x115dd
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov eax, edi
jmp 0x11750
mov rcx, qword [0x00062980]
lea rax, [0x00062978]
mov edi, 0x1c0
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x68]
mov r9d, 0x22
mov edx, edi
mov byte [rsp + 0x28], bpl
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, ebp
jl 0x11713
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
cmp eax, ebp
jge 0x11662
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoDeleteSymbolicLink]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
cmp eax, ebp
jge 0x11662
mov rcx, qword [0x00062978]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x11713
mov rax, qword [0x00062978]
mov rsi, qword [rax + 0x40]
cmp rsi, rbp
je 0x11713
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.000407c0
mov rdx, qword [0x00062978]
mov dword [rsi + 8], 0x6f776f77
mov qword [rsi], rdx
lea rcx, [rsi + 0x10]
mov edx, 0x80
mov word [rcx + 2], dx
mov word [rcx], bp
lea rax, [rsi + 0x20]
mov qword [rcx + 8], rax
mov word [rsi + 0xa2], dx
mov word [rsi + 0xa0], bp
lea rax, [rsi + 0xb0]
mov qword [rsi + 0xa8], rax
mov word [rsi + 0x132], dx
lea rax, [rsi + 0x140]
lea rdx, [rsp + 0x78]
mov word [rsi + 0x130], bp
mov qword [rsi + 0x138], rax
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rdx, [rsp + 0x68]
lea rcx, [rsi + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rdx, [rsp + 0x58]
lea rcx, [rsi + 0x130]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov rdx, qword [0x00062978]
btr dword [rdx + 0x30], 7
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.00040240
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret