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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
xor ebx, ebx
push edi
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x14b
mov dword [esp + 0x34], ecx
push eax
mov dword [esp + 0x50], ebx
call edi
push 0x4c4798
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, 0x7ff
jbe 0x43101b
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x14
mov byte [0x4c4f97], 0
mov byte [0x4c4f96], 0
call fcn.00496428
mov ecx, dword [eax + 4]
call fcn.00482806
mov eax, dword [0x4bcc04]
mov ebp, 0x4c4798
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov al, byte [0x4c4798]
mov dword [esp + 0x18], ebx
test al, al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x10], 0xffffffff
je 0x4311be
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x4311a4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4310b4
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov ecx, esp
push ebp
call fcn.0047e552
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0042fda0
test eax, eax
jne 0x4311a4
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4311a4
mov ebx, dword [esp + 0x1c]
mov al, byte [edi + ebp - 1]
imul ebx, dword [esp + 0x20]
cmp al, 0x5c
jne 0x4310ed
mov byte [edi + ebp - 1], 0
push 3
push ebx
call fcn.00441670
push eax
push ebp
lea eax, [esp + 0x1c]
push 0x629
push eax
call fcn.0047b566
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x1c]
add esp, 0x10
push ecx
push 0
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4311a4
push 0x14
call fcn.0047ec12
add esp, 4
test eax, eax
je 0x431141
mov ecx, dword [0x4bcc04]
mov esi, eax
mov dword [eax + 0xc], ecx
jmp 0x431143
xor esi, esi
push ebp
lea edx, [esi + 0xc]
push 0x4bad9c
push edx
mov dword [esi + 8], 0
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
call fcn.0047b553
mov eax, dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [eax + 0x1c]
push esi
push edi
push 0x151
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp ecx, eax
ja 0x4311a0
jb 0x431190
cmp dword [esp + 0x38], ebx
jae 0x4311a0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov al, byte [edx + ebp + 1]
lea ebp, [edx + ebp + 1]
test al, al
jne 0x431069
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
push ebx
push esi
call fcn.00430e40
test eax, eax
jle 0x4311d5
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x10]
push 0
test ebp, ebp
jl 0x4311ed
mov eax, dword [esi + 0x1c]
push ebp
push 0x14e
push eax
call edi
jmp 0x431206
mov ecx, dword [esi + 0x1c]
push 0
push 0x14e
push ecx
call edi
mov dword [esp + 0x10], 0
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x431210
mov dword [eax], ebp
mov eax, dword [esp + 0x18]
test eax, eax
je 0x431226
mov edi, dword [esp + 0x4c]
push eax
mov ecx, edi
call fcn.0047e66d
jmp 0x43127e
mov edx, dword [esi + 0x1c]
push 0
push 0
push 0x147
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x1c]
push 0x150
push eax
call edi
test eax, eax
je 0x43124c
add eax, 0xc
jmp 0x431262
push 0x4c2d68
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 1
call fcn.0047e552
mov edi, dword [esp + 0x4c]
push eax
mov ecx, edi
call fcn.0047e61d
test byte [esp + 0x40], 1
je 0x43127e
lea ecx, [esp + 0x48]
call fcn.0047e4e4
push edi
push ebx
call fcn.00430db0
test eax, eax
jne 0x431295
push 0x4bad90
mov ecx, edi
call fcn.0047e8c0
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x146
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0047e4e4
lea ecx, [esp + 0x2c]
call fcn.0047e4e4
call fcn.00496428
mov ecx, dword [eax + 4]
call fcn.0048281b
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 0x14