Function at 0x10033c20
Capabilities:
Create thread
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1010feeb
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x10152034]
xor eax, esp
mov dword [esp + 0x840], eax
push ebx
push esi
push edi
mov eax, dword [0x10152034]
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 0x10033f0f
lea ebx, [esp + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], ebx
jle 0x10033f0f
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 0x10033cd5
xor ecx, ecx
jmp 0x10033cef
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033ce0
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 0x10033d45
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 0x10033d3b
mov edi, dword [edi + 8]
jmp 0x10033d3f
mov ebx, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x10033d12
mov edi, dword [esp + 0x18]
add edi, 0x14
cmp ebx, dword [edi]
je 0x10033d7d
cmp dword [ebx + 0x24], 8
lea eax, [ebx + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x10033d5e
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 0x10033d7d
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x28]
jmp 0x10033d87
mov eax, dword [edi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
cmp dword [eax], esi
jne 0x10033e9d
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 0x10033e9d
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 0x10033efb
push 0
push 1
push edi
push ebx
call esi
cmp eax, edi
jne 0x10033ef4
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 0x101251d0
push str.CFileMonitor::AddLocalDriverMonitor
call fcn.100ffcc0
push 0x20
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x10033e3c
xor eax, eax
mov dword [esi + 0x1c], 7
mov dword [esi + 0x18], 0
mov word [esi + 8], ax
jmp 0x10033e3e
xor esi, esi
lea ecx, [esi + 8]
mov dword [esi + 4], ebx
lea eax, [esp + 0x30]
cmp ecx, eax
je 0x10033e56
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.10034e90
mov dword [eax], esi
lea eax, [esp + 0x48]
push eax
push 0
push esi
push 0x10033fa0
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.1000c660
mov ebx, dword [esp + 0x14]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033ea6
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 0x10033ee8
push dword [esp + 0x30]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp esi, dword [esp + 0x24]
jl 0x10033cb5
jmp 0x10033f0f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x44], 8
jb 0x10033f0f
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.1010a06b
mov esp, ebp
pop ebp
ret