Function at 0x4154c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x44a330
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push edi
mov eax, dword [0x466910]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0
push 4
push 3
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
or ebx, 0xffffffff
push esi
cmp ebp, ebx
je 0x415663
lea ecx, [esp + 0x1c]
call fcn.004014b0
push eax
lea eax, [esp + 0x18]
push str.______Successfully_Created_a_handle_to_the_driver:
push eax
mov dword [esp + 0x38], 0
call fcn.004066e0
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415558
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41557b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 4
mov edx, ecx
push edx
push 0x220019
push ebp
mov dword [esp + 0x30], 0xd
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
lea ecx, [esp + 0x18]
test eax, eax
je 0x4155e2
call fcn.004014b0
push eax
lea eax, [esp + 0x1c]
push str.______Successfully_sent_the_message_to_the_driver:
push eax
mov dword [esp + 0x38], 1
call fcn.004066e0
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41561a
call fcn.004014b0
push eax
lea ecx, [esp + 0x1c]
push str.______Failed_to_send_the_message_to_the_driver:
push ecx
mov dword [esp + 0x38], 2
call fcn.004066e0
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415626
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x415647
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x20
ret
lea ecx, [esp + 0x24]
call fcn.004014b0
push eax
lea ecx, [esp + 0x20]
push str.______Failed_to_create_a_handle_to_the_driver:
push ecx
mov dword [esp + 0x38], 3
call fcn.004066e0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4156af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4156d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x20
ret