Function at 0x10028210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101108cc
mov eax, dword fs:[0]
push eax
sub esp, 0xc60
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0xc58], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
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 0x1002835d
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.10028490
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 0x1002834a
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.10028530
add ebx, 1
cmp ebx, dword [esp + 0x50]
jb 0x10028320
mov eax, dword [esp + 0x10]
add eax, 1
xor ebx, ebx
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jb 0x100282e0
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jbe 0x1002839e
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.10028490
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jb 0x10028367
cmp dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
jbe 0x100283df
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.10028490
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jb 0x100283a8
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 0x1002840f
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 0x1002842c
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 0x10028449
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 0x10028466
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.1010dc50
mov esp, ebp
pop ebp
ret