Function at 0x10035290
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1011d81b
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x10165034]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push esi
push edi
mov eax, dword [0x10165034]
xor eax, esp
push eax
lea eax, [esp + 0x858]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x56]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [esp + 0x24], eax
test eax, eax
je 0x1003557f
lea ebx, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebx
jle 0x1003557f
lea edi, [esi + 0x14]
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
cmp word [ebx], ax
jne 0x10035345
xor ecx, ecx
jmp 0x1003535f
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035350
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x38]
call fcn.10002100
mov dword [esp + 0x860], 0
mov esi, dword [edi]
mov ebx, esi
mov edi, dword [ebx + 4]
cmp byte [edi + 0xd], 0
jne 0x100353b5
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
push dword [esp + 0x40]
cmovae eax, dword [esp + 0x34]
lea ecx, [edi + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.100035e0
test eax, eax
jns 0x100353ab
mov edi, dword [edi + 8]
jmp 0x100353af
mov ebx, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x10035382
mov edi, dword [esp + 0x18]
add edi, 0x14
cmp ebx, dword [edi]
je 0x100353ed
cmp dword [ebx + 0x24], 8
lea eax, [ebx + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x100353ce
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x48]
lea ecx, [esp + 0x3c]
push 0
call fcn.100035e0
test eax, eax
js 0x100353ed
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x28]
jmp 0x100353f7
mov eax, dword [edi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
cmp dword [eax], esi
jne 0x1003550d
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
push 0
cmovae eax, dword [esp + 0x34]
push 0x42000000
push 3
push 0
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1003550d
mov esi, dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
push 0
push 1
push 0
push 0xffffffffffffffff
call esi
mov edi, eax
test edi, edi
je 0x1003556b
push 0
push 1
push edi
push ebx
call esi
cmp eax, edi
jne 0x10035564
cmp dword [esp + 0x44], 8
lea eax, [esp + 0x30]
cmovae eax, dword [esp + 0x30]
push eax
push str.driver__s_start_
push 1
push 0x9b
push 0x10134ef0
push str.CFileMonitor::AddLocalDriverMonitor
call fcn.1010dc80
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x100354ac
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
jmp 0x100354ae
xor esi, esi
lea ecx, [esi + 8]
mov dword [esi + 4], ebx
lea eax, [esp + 0x30]
cmp ecx, eax
je 0x100354c6
push 0xffffffffffffffff
push 0
push eax
call fcn.10001d60
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x30]
mov dword [esi], edi
push eax
lea edi, [ebx + 0x14]
mov ecx, edi
call fcn.10036500
mov dword [eax], esi
lea eax, [esp + 0x48]
push eax
push 0
push esi
push 0x10035610
push 0
push 0
mov dword [esp + 0x60], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x2c], eax
lea ecx, [ebx + 8]
lea eax, [esp + 0x2c]
push eax
call fcn.1000c830
mov ebx, dword [esp + 0x14]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10035516
mov esi, dword [esp + 0x1c]
sub ecx, edx
sar ecx, 1
mov dword [esp + 0x860], 0xffffffff
lea eax, [ecx + 1]
add esi, eax
lea ebx, [ebx + eax*2]
cmp dword [esp + 0x44], 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
jb 0x10035558
push dword [esp + 0x30]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, dword [esp + 0x24]
jl 0x10035325
jmp 0x1003557f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x44], 8
jb 0x1003557f
push dword [esp + 0x30]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.101176fb
mov esp, ebp
pop ebp
ret