Function at 0x42ec40
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x39c
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, esp
lea esi, [ebp - 0x5c]
mov dword [edx], esi
mov dword [ebp - 0x2bc], ecx
mov dword [ebp - 0x2c0], eax
call fcn.00421e8c
mov dword [ebp - 0x28], 0x550e90
mov dword [ebp - 0x24], 0x558728
mov eax, ebp
mov dword [ebp - 0x20], eax
mov eax, esp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x42f5f9
mov dword [ebp - 0x3c], 1
lea eax, [ebp - 0x44]
call fcn.00551af9
mov eax, esp
mov dword [eax], str.kernel32.dll
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov dword [ebp - 0x2c4], eax
jmp 0x42ecaf
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0x42ed04
mov eax, dword [ebp - 0x2c0]
mov dword [esp], eax
call fcn.00421e8c
mov dword [ebp - 0x170], 1
jmp 0x42f5ae
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x3c], 2
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], str.GetLogicalDriveStringsA
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [ebp - 0x2d0], eax
jmp 0x42ed2c
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
jne 0x42ed5e
mov eax, dword [ebp - 0x2c0]
mov dword [esp], eax
call fcn.00421e8c
mov dword [ebp - 0x170], 1
jmp 0x42f5ae
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1b8], str.FixedRemovable_
mov dword [ebp - 0x1b4], 5
mov eax, esp
lea ecx, [ebp - 0x1bc]
mov dword [eax], ecx
mov dword [ebp - 0x2d4], ecx
call fcn.004032f8
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], 3
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1b4]
mov esi, esp
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x2d4]
mov dword [esi + 0xc], ecx
mov dword [esi], eax
call fcn.00403314
jmp 0x42edc9
mov eax, dword [ebp - 0x4c]
add eax, 0x10
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1c4], 0x5584ce
mov dword [ebp - 0x1c0], 9
mov ecx, esp
lea edx, [ebp - 0x1c8]
mov dword [ecx], edx
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2dc], edx
call fcn.004032f8
mov dword [ebp - 0x3c], 4
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1c0]
mov edx, esp
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x2dc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [edx], ecx
call fcn.00403314
jmp 0x42ee37
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], 2
mov eax, esp
lea ecx, [ebp - 0x1cc]
mov dword [eax], ecx
mov dword [ebp - 0x2e0], ecx
call fcn.00410f50
mov dword [ebp - 0x3c], 5
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x188]
mov edx, esp
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x2e0]
mov dword [edx + 0xc], eax
lea ecx, [ebp - 0x184]
mov dword [edx], ecx
call fcn.00410f6c
jmp 0x42ee95
lea eax, [ebp - 0x1ac]
mov ecx, eax
add ecx, 0x20
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x2e8], ecx
mov eax, dword [ebp - 0x2e8]
add eax, 0xfffffff0
mov dword [esp], eax
mov dword [ebp - 0x2ec], eax
call fcn.00403a50
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 0x2e4]
cmp eax, ecx
mov dword [ebp - 0x2e8], eax
jne 0x42eeac
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x3c], 6
mov ecx, esp
lea edx, [ebp - 0x160]
mov dword [ecx + 4], edx
mov dword [ecx], 0x104
call eax
sub esp, 8
mov dword [ebp - 0x2f0], eax
jmp 0x42ef04
mov eax, dword [ebp - 0x2f0]
cmp eax, 0
je 0x42f56f
mov dword [ebp - 0x3c], 7
mov eax, esp
mov dword [eax], 0x1c
call fcn.00539604
mov dword [ebp - 0x2f4], eax
jmp 0x42ef2f
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ebp - 0x3c], 8
mov edx, esp
mov dword [edx], ecx
mov dword [ebp - 0x2f8], ecx
call fcn.00410fac
jmp 0x42ef83
lea eax, [ebp - 0x1d0]
mov dword [esp], eax
mov eax, dword [ebp - 0x2f8]
mov dword [esp + 4], eax
call fcn.0041634c
lea eax, [ebp - 0x160]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
cmp byte [eax], 0
je 0x42f54f
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x3c], 9
mov ecx, esp
mov dword [ecx], eax
call sub.KERNEL32.DLL_GetDriveTypeA
sub esp, 4
mov dword [ebp - 0x2fc], eax
jmp 0x42efd7
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 3
jne 0x42f31b
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x3c], 0xa
mov ecx, esp
mov dword [ecx + 4], eax
lea eax, [ebp - 0x22c]
mov dword [ecx], eax
call fcn.004043c0
jmp 0x42f011
mov dword [ebp - 0x3c], 0xb
mov eax, esp
lea ecx, [ebp - 0x22c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x210]
mov dword [eax], ecx
mov dword [eax + 8], 0x5584d7
call fcn.004136c4
jmp 0x42f039
mov eax, esp
lea ecx, [ebp - 0x1d0]
mov dword [eax], ecx
call fcn.00416378
mov dword [ebp - 0x3c], 0xc
mov ecx, esp
lea edx, [ebp - 0x184]
mov dword [ecx], edx
mov dword [ecx + 4], 0
mov dword [ebp - 0x300], eax
call fcn.00411128
mov dword [ebp - 0x304], eax
jmp 0x42f073
mov dword [ebp - 0x3c], 0xd
mov eax, esp
mov ecx, dword [ebp - 0x304]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x300]
mov dword [eax + 4], edx
lea esi, [ebp - 0x248]
mov dword [eax], esi
call fcn.0045dbec
jmp 0x42f09d
mov dword [ebp - 0x3c], 0xe
mov eax, esp
lea ecx, [ebp - 0x248]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x210]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x1f4]
mov dword [eax], ecx
call fcn.00413598
jmp 0x42f0c7
mov dword [ebp - 0x3c], 0xf
mov eax, esp
lea ecx, [ebp - 0x1f4]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
call fcn.0042e4a0
jmp 0x42f0e5
lea eax, [ebp - 0x1f4]
mov dword [esp], eax
call fcn.00405890
lea eax, [ebp - 0x248]
mov dword [esp], eax
call fcn.00405890
lea eax, [ebp - 0x210]
mov dword [esp], eax
call fcn.00405890
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call fcn.00405890
jmp 0x42f517
cmp dword [ebp - 0x1d8], 2
jne 0x42f515
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x3c], 0x10
mov ecx, esp
mov dword [ecx + 4], eax
lea eax, [ebp - 0x29c]
mov dword [ecx], eax
call fcn.004043c0
jmp 0x42f349
mov dword [ebp - 0x3c], 0x11
mov eax, esp
lea ecx, [ebp - 0x29c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x280]
mov dword [eax], ecx
mov dword [eax + 8], 0x5584d7
call fcn.004136c4
jmp 0x42f371
mov eax, esp
lea ecx, [ebp - 0x1d0]
mov dword [eax], ecx
call fcn.00416378
mov dword [ebp - 0x3c], 0x12
mov ecx, esp
lea edx, [ebp - 0x184]
mov dword [ecx], edx
mov dword [ecx + 4], 1
mov dword [ebp - 0x364], eax
call fcn.00411128
mov dword [ebp - 0x368], eax
jmp 0x42f3ab
mov dword [ebp - 0x3c], 0x13
mov eax, esp
mov ecx, dword [ebp - 0x368]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x364]
mov dword [eax + 4], edx
lea esi, [ebp - 0x2b8]
mov dword [eax], esi
call fcn.0045dbec
jmp 0x42f3d5
mov dword [ebp - 0x3c], 0x14
mov eax, esp
lea ecx, [ebp - 0x2b8]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x280]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x264]
mov dword [eax], ecx
call fcn.00413598
jmp 0x42f3ff
mov dword [ebp - 0x3c], 0x15
mov eax, esp
lea ecx, [ebp - 0x264]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x5c]
mov dword [eax], ecx
call fcn.0042e4a0
jmp 0x42f41d
lea eax, [ebp - 0x264]
mov dword [esp], eax
call fcn.00405890
lea eax, [ebp - 0x2b8]
mov dword [esp], eax
call fcn.00405890
lea eax, [ebp - 0x280]
mov dword [esp], eax
call fcn.00405890
lea eax, [ebp - 0x29c]
mov dword [esp], eax
call fcn.00405890
jmp 0x42f515
jmp 0x42f517
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x3c], 0x16
mov ecx, esp
mov dword [ecx], eax
call fcn.00540ff8
mov dword [ebp - 0x38c], eax
jmp 0x42f535
mov eax, dword [ebp - 0x38c]
add eax, 1
add eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d4], eax
jmp 0x42efa7
lea eax, [ebp - 0x1d0]
mov dword [esp], eax
call fcn.00416b3c
jmp 0x42f56f
lea eax, [ebp - 0x5c]
mov ecx, dword [ebp - 0x2c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042f678
lea eax, [ebp - 0x184]
mov dword [ebp - 0x170], 1
mov dword [esp], eax
call fcn.00414b80
jmp 0x42f5ae
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.00416150
jmp 0x42f5c8
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.00551b1a
mov eax, dword [ebp - 0x2bc]
add esp, 0x39c
pop esi
pop edi
pop ebx
pop ebp
ret