Function at 0x10025860
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e144b
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x10115034]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0x10025b4f
lea ebx, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebx
jle 0x10025b4f
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 0x10025915
xor ecx, ecx
jmp 0x1002592f
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025920
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x38]
call fcn.10001df0
mov dword [esp + 0x860], 0
mov esi, dword [edi]
mov ebx, esi
mov edi, dword [ebx + 4]
cmp byte [edi + 0xd], 0
jne 0x10025985
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.100063b0
test eax, eax
jns 0x1002597b
mov edi, dword [edi + 8]
jmp 0x1002597f
mov ebx, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x10025952
mov edi, dword [esp + 0x18]
add edi, 0x14
cmp ebx, dword [edi]
je 0x100259bd
cmp dword [ebx + 0x24], 8
lea eax, [ebx + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x1002599e
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x48]
lea ecx, [esp + 0x3c]
push 0
call fcn.100063b0
test eax, eax
js 0x100259bd
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x28]
jmp 0x100259c7
mov eax, dword [edi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
cmp dword [eax], esi
jne 0x10025add
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 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10025add
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 0x10025b3b
push 0
push 1
push edi
push ebx
call esi
cmp eax, edi
jne 0x10025b34
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 0x100f0320
push str.CFileMonitor::AddLocalDriverMonitor
call fcn.100d1600
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10025a7c
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
jmp 0x10025a7e
xor esi, esi
lea ecx, [esi + 8]
mov dword [esi + 4], ebx
lea eax, [esp + 0x30]
cmp ecx, eax
je 0x10025a96
push 0xffffffffffffffff
push 0
push eax
call fcn.10001a60
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x30]
mov dword [esi], edi
push eax
lea edi, [ebx + 0x14]
mov ecx, edi
call fcn.10026a60
mov dword [eax], esi
lea eax, [esp + 0x48]
push eax
push 0
push esi
push 0x10025be0
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.1000a7d0
mov ebx, dword [esp + 0x14]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10025ae6
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 0x10025b28
push dword [esp + 0x30]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, dword [esp + 0x24]
jl 0x100258f5
jmp 0x10025b4f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x44], 8
jb 0x10025b4f
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.100dc8fb
mov esp, ebp
pop ebp
ret