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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afd28
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4ccf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
call fcn.0040aa00
mov dword [ebp - 4], 0
mov eax, 0x41
mov word [ebp - 0x28], ax
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 0x14], 0
jmp 0x434c2a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x20
jge 0x434ec7
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x434eae
lea ecx, [ebp - 0x34]
call fcn.0040aa00
mov byte [ebp - 4], 1
push 1
movzx eax, word [ebp - 0x28]
push eax
lea ecx, [ebp - 0x68]
call fcn.00435930
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040aae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.0040aac0
push 0x4c0bac
lea ecx, [ebp - 0x34]
call fcn.00435ae0
push 0x4c0bb0
lea eax, [ebp - 0x34]
push eax
call fcn.00435e70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x434cd6
mov dx, word [ebp - 0x28]
add dx, 1
mov word [ebp - 0x28], dx
mov eax, dword [ebp - 0x18]
shr eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040aac0
jmp 0x434c21
call fcn.00428be0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 0x40000000
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x34]
push edx
call fcn.0040aa20
mov dword [ebp - 0x90], eax
call fcn.00428a20
add esp, 4
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x434d37
cmp dword [ebp - 0x48], 1
jb 0x434d37
ja 0x434d30
cmp dword [ebp - 0x4c], 0
jbe 0x434d37
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x2c]
call fcn.0040aa00
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040aae0
push 1
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040ad30
mov dword [ebp - 0x98], eax
push 0x4c0bb8
mov edx, dword [ebp - 0x98]
push edx
call fcn.00435eb0
add esp, 8
mov byte [ebp - 0x6d], al
lea ecx, [ebp - 0x74]
call fcn.0040aac0
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x434d97
push 0x4c0bbc
lea ecx, [ebp - 0x2c]
call fcn.00435ae0
lea ecx, [ebp - 0x78]
push ecx
call fcn.00428810
add esp, 4
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00435ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.0040aac0
lea ecx, [ebp - 0x34]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x30], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.0040aa20
mov dword [ebp - 0xa4], eax
call fcn.00428430
add esp, 4
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x434e44
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x34]
push eax
call fcn.0040aa20
mov dword [ebp - 0xac], eax
call fcn.00428480
add esp, 4
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
je 0x434e44
cmp dword [ebp - 0x30], 3
je 0x434e4b
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0
je 0x434e96
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [ebp - 0x20]
jb 0x434e96
ja 0x434e7e
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x24]
jbe 0x434e96
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040aae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040aac0
mov ax, word [ebp - 0x28]
add ax, 1
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x18]
shr ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x434c21
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040aa20
mov eax, dword [ebp - 0x84]
or eax, 1
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040aac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret