Function at 0x10057df0
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101539ea
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x840], ecx
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
lea edx, [ebp - 0x810]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x864], eax
cmp dword [ebp - 0x864], 0
jne 0x10057e66
jmp 0x10058206
lea eax, [ebp - 0x810]
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], 0
mov ecx, 1
test ecx, ecx
je 0x10058206
mov edx, dword [ebp - 0x848]
cmp edx, dword [ebp - 0x864]
jl 0x10057e9c
jmp 0x10058206
mov eax, dword [ebp - 0x84c]
mov dword [ebp - 0x854], eax
mov ecx, dword [ebp - 0x854]
push ecx
lea ecx, [ebp - 0x82c]
call fcn.10002c60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x82c]
call fcn.10001960
push eax
push str.driverName___ls
push 0
push 0x8b
push 0x1016dad0
push 0x1016db30
call fcn.10142a80
add esp, 0x18
lea edx, [ebp - 0x87c]
push edx
mov ecx, dword [ebp - 0x840]
add ecx, 0x14
call fcn.10004530
push eax
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x878]
push ecx
mov ecx, dword [ebp - 0x840]
add ecx, 0x14
call fcn.10012890
mov ecx, eax
call fcn.10003da0
movzx edx, al
test edx, edx
je 0x10058169
push 0
push 0x42000000
push 3
push 0
push 7
push SysReAllocString
lea ecx, [ebp - 0x82c]
call fcn.10001960
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0xffffffff
je 0x10058169
push 0
push 1
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [ebp - 0x838], eax
cmp dword [ebp - 0x838], 0
jne 0x10057fbd
push str.CreateIoCompletionPort1_Error
push 0
push 0x97
push 0x1016db78
push 0x1016dbd8
call fcn.10142a80
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.10002d10
jmp 0x10058206
push 0
push 1
mov eax, dword [ebp - 0x838]
push eax
mov ecx, dword [ebp - 0x844]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [ebp - 0x870], eax
mov edx, dword [ebp - 0x870]
cmp edx, dword [ebp - 0x838]
je 0x1005802b
push str.CreateIoCompletionPort2_Error
push 0
push 0x9f
push 0x1016dc80
push 0x1016dce0
call fcn.10142a80
add esp, 0x14
mov eax, dword [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.10002d10
jmp 0x10058206
lea ecx, [ebp - 0x82c]
call fcn.10001960
push eax
push str.driver__s_start_
push 1
push 0xa3
push 0x1016dd28
push 0x1016dd88
call fcn.10142a80
add esp, 0x18
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x858], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x858], 0
je 0x10058086
mov ecx, dword [ebp - 0x858]
call fcn.10058220
mov dword [ebp - 0x85c], eax
jmp 0x10058090
mov dword [ebp - 0x85c], 0
mov ecx, dword [ebp - 0x85c]
mov dword [ebp - 0x874], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x874]
mov dword [ebp - 0x83c], edx
mov eax, dword [ebp - 0x83c]
mov ecx, dword [ebp - 0x844]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x82c]
push edx
mov ecx, dword [ebp - 0x83c]
add ecx, 8
call fcn.100023a0
mov eax, dword [ebp - 0x83c]
mov ecx, dword [ebp - 0x838]
mov dword [eax], ecx
lea edx, [ebp - 0x82c]
push edx
mov ecx, dword [ebp - 0x840]
add ecx, 0x14
call fcn.100590d0
mov ecx, dword [ebp - 0x83c]
mov dword [eax], ecx
lea ecx, [ebp - 0x82c]
call fcn.10001960
push eax
push str.CreateDriver_Mon___s
push 1
push 0xaa
push 0x1016de18
push str.CFileMonitor::AddLocalDriverMonitor
call fcn.10142a80
add esp, 0x18
mov dword [ebp - 0x814], 0
lea edx, [ebp - 0x814]
push edx
push 0
mov eax, dword [ebp - 0x83c]
push eax
push 0x100582c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x830], eax
lea ecx, [ebp - 0x830]
push ecx
mov ecx, dword [ebp - 0x840]
add ecx, 8
call fcn.100129e0
mov edx, dword [ebp - 0x854]
mov dword [ebp - 0x834], edx
mov eax, dword [ebp - 0x834]
add eax, 2
mov dword [ebp - 0x868], eax
mov ecx, dword [ebp - 0x834]
mov dx, word [ecx]
mov word [ebp - 0x84e], dx
add dword [ebp - 0x834], 2
cmp word [ebp - 0x84e], 0
jne 0x10058184
mov eax, dword [ebp - 0x834]
sub eax, dword [ebp - 0x868]
sar eax, 1
mov dword [ebp - 0x86c], eax
mov ecx, dword [ebp - 0x86c]
add ecx, 1
mov dword [ebp - 0x860], ecx
mov edx, dword [ebp - 0x860]
mov eax, dword [ebp - 0x84c]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x84c], ecx
mov edx, dword [ebp - 0x848]
add edx, dword [ebp - 0x860]
mov dword [ebp - 0x848], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.10002d10
jmp 0x10057e7c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret