Function at 0x55d4c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x55d77f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov ebx, 2
lea eax, [ebp - 0x114]
lea edx, [ebx + 0x41]
call fcn.00404b48
lea eax, [ebp - 0x114]
mov edx, 0x55d798
call fcn.00404c28
mov eax, dword [ebp - 0x114]
call fcn.00404e18
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x55d757
mov eax, ebx
inc eax
call fcn.00409a64
mov ecx, dword [ebp - 4]
mov dword [ecx + ebx*8 + 0x310], eax
mov dword [ecx + ebx*8 + 0x314], edx
push 0
push 0x400
push 0
push 0x400
mov eax, dword [ebp - 4]
mov edx, dword [eax + ebx*8 + 0x314]
mov eax, dword [eax + ebx*8 + 0x310]
call fcn.004059a0
call fcn.004059a0
mov esi, eax
cmp esi, 0x400
jl 0x55d757
lea eax, [ebp - 0x110]
mov edx, 0xff
call fcn.00407c54
push 0xff
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x118]
lea edx, [ebx + 0x41]
call fcn.00404b48
lea eax, [ebp - 0x118]
mov edx, 0x55d798
call fcn.00404c28
mov eax, dword [ebp - 0x118]
call fcn.00404e18
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov eax, dword [eax + 0x22c]
call fcn.0047e2d8
mov edi, eax
lea eax, [ebp - 0x124]
lea edx, [ebx + 0x41]
call fcn.00404b48
lea eax, [ebp - 0x124]
mov edx, 0x55d7a4
call fcn.00404c28
mov eax, dword [ebp - 0x124]
call fcn.00404e18
mov edx, eax
lea eax, [ebp - 0x120]
call fcn.00404b58
push dword [ebp - 0x120]
lea eax, [ebp - 0x128]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404bd0
push dword [ebp - 0x128]
push 0x55d7b4
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00404ce0
mov edx, dword [ebp - 0x11c]
mov eax, edi
call fcn.0047dd28
push 0
push 0x400
push 0
push 0x400
mov eax, ebx
inc eax
call fcn.00409a98
call fcn.004059a0
call fcn.004059a0
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x10]
call fcn.00409350
mov edx, dword [ebp - 0x12c]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x130]
mov eax, esi
call fcn.00409350
mov edx, dword [ebp - 0x130]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x595ea0]
mov eax, dword [eax]
movzx eax, byte [eax + 8]
cmp ebx, eax
jne 0x55d71b
sub esi, 0x400
jmp 0x55d721
sub esi, 0x1f4
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.00409350
mov edx, dword [ebp - 0x134]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x138]
mov eax, esi
call fcn.00409350
mov edx, dword [ebp - 0x138]
mov eax, dword [edi + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x1a
jne 0x55d539
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d786
lea eax, [ebp - 0x138]
mov edx, 0xa
call fcn.0040498c
ret