Function at 0x10029490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10142e4c
mov eax, dword fs:[0]
push eax
sub esp, 0xc60
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0xc58], eax
push ebx
push esi
push edi
mov eax, dword [0x10177024]
xor eax, esp
push eax
lea eax, [esp + 0xc70]
mov dword fs:[0], eax
mov edi, ecx
call sub.diskmgr.dll_CreateDdmManager
mov dword [edi + 4], eax
call sub.FuncLogic.dll_CreateEnumDisk
mov dword [edi], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [edi]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x4c], esi
call eax
mov ecx, dword [edi]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x20]
call eax
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0xc78], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp esi, ebx
mov byte [esp + 0xc78], 3
mov dword [esp + 0x10], ebx
jbe 0x100295dd
mov ecx, dword [edi]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x264]
push eax
mov eax, dword [esp + 0x14]
push eax
call edx
lea eax, [esp + 0x264]
lea esi, [esp + 0x2c]
call fcn.10029710
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
push edx
call eax
test eax, eax
mov dword [esp + 0x50], eax
jbe 0x100295ca
lea esp, [esp]
mov ecx, dword [edi]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x14]
push ebx
push eax
call edx
lea eax, [esp + 0x64]
lea esi, [esp + 0x1c]
call fcn.100297b0
add ebx, 1
cmp ebx, dword [esp + 0x50]
jb 0x100295a0
mov eax, dword [esp + 0x10]
add eax, 1
xor ebx, ebx
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jb 0x10029560
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jbe 0x1002961e
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x264]
push edx
mov edx, dword [esp + 0x14]
push edx
call eax
lea eax, [esp + 0x264]
lea esi, [esp + 0x54]
call fcn.10029710
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jb 0x100295e7
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
jbe 0x1002965f
mov ecx, dword [edi]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x264]
push eax
mov eax, dword [esp + 0x14]
push eax
call edx
lea eax, [esp + 0x264]
lea esi, [esp + 0x3c]
call fcn.10029710
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jb 0x10029628
mov edi, dword [edi + 4]
mov eax, dword [edi]
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1002968f
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x100296ac
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x30]
cmp eax, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
je 0x100296c9
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x100296e6
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xc70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc58]
xor ecx, esp
call fcn.10130e50
mov esp, ebp
pop ebp
ret