Function at 0x4bb200
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62465a
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6d5db8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.00459640
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0x3a
mov byte [ebp - 0x16], 0x5c
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x124], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x11c], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x120], 0
mov dword [ebp - 0x1c], 0x41
jmp 0x4bb28d
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a
jg 0x4bb4ba
mov cl, byte [ebp - 0x1c]
mov byte [ebp - 0x18], cl
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jb 0x4bb2c9
cmp dword [ebp - 0x50], 2
jbe 0x4bb2c4
cmp dword [ebp - 0x50], 5
je 0x4bb2c4
jmp 0x4bb2c9
jmp 0x4bb4b5
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.004169d0
movsx eax, byte [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.004169a0
push 0x65fdaa
lea ecx, [ebp - 0x48]
call fcn.004015a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
push 0
push 0x100000
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.005eba50
mov dword [ebp - 0x20], eax
push 0
push 0x100000
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.005eba50
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x660550
lea eax, [ebp - 0x48]
push eax
call fcn.00405010
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00587e90
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.005ceee3
mov edx, dword [ebp - 0x28]
push edx
push 0x660554
lea eax, [ebp - 0x48]
push eax
call fcn.00405010
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00587e90
push eax
push 2
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.005ceee3
mov edx, dword [ebp - 0x20]
push edx
push 0x660558
lea eax, [ebp - 0x48]
push eax
call fcn.00405010
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00587e90
push eax
push 3
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.005ceee3
push 0x66055c
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x24]
push eax
push str._d_s
lea edx, [ebp - 0x48]
push edx
call fcn.00405010
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.00587e90
push eax
push 4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.005ceee3
movsx ecx, byte [ebp - 0x18]
push ecx
call fcn.00442630
mov ecx, eax
call fcn.0041bc30
mov ecx, eax
call fcn.00581550
movzx edx, al
test edx, edx
je 0x4bb49d
push 1
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.005cfbcb
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x120]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x120], edx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x11c]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x11c], edx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x124]
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x124], edx
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401620
jmp 0x4bb284
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x11c], 0
je 0x4bb4e8
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x124]
imul eax, eax, 0x64
mov ecx, dword [ebp - 0x4c]
xor edx, edx
div dword [ecx + 0x11c]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x128], eax
jmp 0x4bb4f5
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x128], 0x64
push 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.0047d4d0
push 2
push 2
push 0
mov ecx, dword [ebp - 0x4c]
add ecx, 0xc8
call fcn.005ceeb8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret