Function at 0x4133b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x50]
mov dword [eax + 0x1c], 0x51dfc0
mov dword [eax + 0x20], 0x5260a4
mov dword [eax + 0x24], ebp
mov dword [eax + 0x2c], esp
mov dword [eax + 0x24], 0x41398a
mov dword [eax + 8], 1
call fcn.0051ec29
mov dword [esp], str.kernel32.dll
call sub.KERNEL32.DLL_GetModuleHandleA
sub esp, 4
mov ecx, dword [ebp + 8]
test eax, eax
je 0x41394d
mov dword [ebp - 0x48], 2
mov dword [esp], eax
mov dword [esp + 4], str.GetLogicalDriveStringsA
call sub.KERNEL32.DLL_GetProcAddress
sub esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x413951
xor eax, eax
lea ecx, [ebp - 0x8c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x48], 3
mov dword [esp], ecx
mov dword [esp + 4], 5
call fcn.00404190
test al, al
je 0x41347b
mov eax, dword [ebp - 0x88]
mov byte [eax + 4], 0x64
mov dword [eax], 0x65786946
add eax, 5
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x48], 4
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00404190
test al, al
je 0x4134be
mov eax, dword [ebp - 0x78]
mov byte [eax + 8], 0x65
mov dword [eax + 4], 0x6c626176
mov dword [eax], 0x6f6d6552
add eax, 9
mov dword [ebp - 0x74], eax
xor eax, eax
lea edx, [ebp - 0xf4]
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x48], 5
mov cl, byte [ebp - 0xa8]
mov byte [esp + 0xc], cl
mov dword [esp + 8], eax
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0040cce8
mov ecx, 0x10
mov dword [ebp - 0x14], ecx
lea eax, [ebp + ecx - 0x8c]
mov dword [ebp - 0x48], 6
mov dword [esp], eax
call fcn.0040ccb0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov eax, 0xfffffff0
cmp ecx, eax
jne 0x4134fe
mov dword [ebp - 0x48], 7
lea eax, [ebp - 0x1fc]
mov dword [esp + 4], eax
mov dword [esp], 0x104
call dword [ebp - 0x18]
sub esp, 8
test eax, eax
je 0x413916
mov eax, 8
mov dword [ebp - 0x48], eax
mov dword [esp], 0x1c
call fcn.00506060
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0xf
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov byte [edx + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], 9
mov dword [esp], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], 0x525e7e
call fcn.00403518
cmp byte [ebp - 0x1fc], 0
je 0x413900
lea esi, [ebp - 0x1fc]
mov dword [ebp - 0x48], 0xa
mov dword [ebp - 0x14], esi
mov dword [esp], esi
call sub.KERNEL32.DLL_GetDriveTypeA
sub esp, 4
cmp eax, 2
je 0x4136f1
cmp eax, 3
mov esi, dword [ebp - 0x14]
jne 0x4138e5
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
lea eax, [esi - 1]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x413610
sub eax, esi
mov dword [ebp - 0x48], 0xb
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.00403518
mov dword [ebp - 0x48], 0xc
lea eax, [ebp - 0xe0]
mov dword [esp], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x525e73
call fcn.0040c98c
mov esi, dword [ebp - 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.00405288
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x48], 0xd
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.0042b454
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
sub edx, ecx
cmp eax, edx
jbe 0x4136bd
mov edx, dword [ebp - 0xac]
sub edx, eax
cmp edx, ecx
jae 0x4137f6
mov dword [ebp - 0x48], 0xe
lea eax, [ebp - 0xc4]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
call fcn.0040ca60
jmp 0x413827
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ecx - 1]
cmp byte [eax + 1], 0
lea eax, [eax + 1]
jne 0x413712
sub eax, ecx
mov dword [ebp - 0x48], 0x13
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.00403518
mov dword [ebp - 0x48], 0x14
lea eax, [ebp - 0xe0]
mov dword [esp], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0x525e73
call fcn.0040c98c
mov esi, dword [ebp - 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.00405288
mov eax, dword [ebp - 0xf0]
add eax, 0x10
mov dword [ebp - 0x48], 0x15
mov dword [esp + 8], eax
mov dword [esp + 4], esi
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.0042b454
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
sub edx, ecx
cmp eax, edx
jbe 0x4137c2
mov edx, dword [ebp - 0xac]
sub edx, eax
cmp edx, ecx
jae 0x413851
mov dword [ebp - 0x48], 0x16
lea eax, [ebp - 0xc4]
mov dword [esp + 4], eax
lea eax, [ebp - 0xa8]
mov dword [esp], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
call fcn.0040ca60
jmp 0x413882
mov dword [ebp - 0x48], 0xf
xor eax, eax
mov dword [esp + 0xc], eax
lea ecx, [ebp - 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [ebp - 0xc4]
mov dword [esp], eax
mov dword [esp + 0x10], 0xffffffff
call fcn.0040514c
mov dword [esp + 4], eax
lea esi, [ebp - 0x8c]
mov dword [esp], esi
call fcn.00405288
mov dword [ebp - 0x48], 0x10
mov dword [esp + 4], esi
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00412e7c
jmp 0x4138aa
mov dword [ebp - 0x48], 0x17
xor eax, eax
mov dword [esp + 0xc], eax
lea ecx, [ebp - 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [ebp - 0xc4]
mov dword [esp], eax
mov dword [esp + 0x10], 0xffffffff
call fcn.0040514c
mov dword [esp + 4], eax
lea esi, [ebp - 0x8c]
mov dword [esp], esi
call fcn.00405288
mov dword [ebp - 0x48], 0x18
mov dword [esp + 4], esi
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00412e7c
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call fcn.00403adc
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.00403adc
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.00403adc
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.00403adc
mov esi, dword [ebp - 0x14]
mov dword [esp], esi
call fcn.0050e100
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x4135c8
cmp dword [ebp - 0x10], 0
je 0x413916
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00403adc
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.005040fc
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], 0x19
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0040cf38
jmp 0x41395f
xor eax, eax
jmp 0x413956
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x48], 0x1b
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.0040d1d0
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0051ec4a
mov eax, dword [ebp + 8]
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret