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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c1ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov ecx, dword [0x636fb4]
mov ebx, esi
mov dword [esp + 0x1c], ecx
call fcn.004400e0
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432204
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], 0
call fcn.004cd409
push 0
mov byte [esp + 0x6c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x4322de
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebx
push 8
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [esp + 0x24]
mov ebx, eax
push ebx
push ebx
push 0
push ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call edi
mov al, byte [ebx]
test al, al
je 0x4322cc
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x4322b6
cmp al, 0x42
je 0x4322b6
push ebx
call edi
cmp eax, 4
je 0x4322b6
push ebx
call edi
cmp eax, 5
je 0x4322b6
push ebx
call edi
cmp eax, 6
je 0x4322b6
push ebx
call edi
test eax, eax
je 0x4322b6
push ebx
call edi
cmp eax, 2
je 0x4322b6
mov edx, dword [esp + 0x50]
push ebx
push edx
lea ecx, [esp + 0x50]
call fcn.004cd6c0
push 0
push ebx
call fcn.004e4df8
add eax, 1
mov ebx, eax
mov al, byte [ebx]
add esp, 8
test al, al
jne 0x432278
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x50]
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x43266a
test edi, edi
jl 0x4326c2
cmp edi, eax
jge 0x4326c2
mov edx, dword [esp + 0x4c]
lea eax, [edx + edi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e30
mov eax, dword [esi + 0x194]
mov ecx, dword [esi + 0x198]
mov ebx, dword [esp + 0x18]
push eax
push ecx
push edi
push esi
mov ecx, ebx
call fcn.0043ff60
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x432657
mov eax, edi
mov ecx, esi
call fcn.00440250
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4321fa
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x68], 2
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4321fa
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x68], 3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
shrd ecx, edx, 0x14
shr edx, 0x14
push edx
push ecx
lea eax, [esp + 0x2c]
push 0x5f9698
push eax
call fcn.00405640
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
shrd ecx, edx, 0x14
shr edx, 0x14
push edx
push ecx
lea eax, [esp + 0x38]
push 0x5f9698
push eax
call fcn.00405640
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add esp, 0x20
push 0
push 0x64
push ecx
push edx
call fcn.004ec6f0
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.004f1720
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov ebx, 0x64
push 0x1004
sub ebx, eax
push edx
mov dword [esp + 0x38], ebx
call edi
cmp dword [esp + 0x14], eax
jge 0x432477
mov ecx, esi
call fcn.004d56ba
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x1200
push eax
call edi
cmp eax, 1
jle 0x432477
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
push ecx
push 1
push edi
mov ecx, esi
call fcn.004c9e9d
mov ebx, 1
call fcn.00440420
mov ebx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push edx
call edi
cmp dword [esp + 0x14], eax
jge 0x4324cb
mov ecx, esi
call fcn.004d56ba
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x1200
push eax
call edi
cmp eax, 2
jle 0x4324cb
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
push ecx
push 2
push edi
mov ecx, esi
call fcn.004c9e9d
mov ebx, 2
call fcn.00440420
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
push ebx
mov ecx, esi
call fcn.004402e0
mov eax, dword [esp + 0x14]
push 0
push 4
push esi
call fcn.00440350
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp dword [eax + 0x58], edi
jle 0x432609
jmp 0x4324f8
mov eax, ecx
test edi, edi
jl 0x4326c2
cmp edi, dword [eax + 0x58]
jge 0x4326c2
mov edx, dword [eax + 0x54]
mov ebx, dword [edx + edi*4]
mov ecx, dword [ebx - 0x10]
lea eax, [edx + edi*4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub ebx, 0x10
call edx
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x432539
cmp eax, dword [ebx]
jne 0x432539
mov esi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x43256f
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4326bd
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
add eax, 1
push eax
add ebx, 0x10
push ebx
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.004e4327
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x28], esi
xor eax, eax
test esi, esi
setne al
mov byte [esp + 0x68], 4
test eax, eax
je 0x4321fa
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.004e5c45
add esp, 8
test eax, eax
sete al
test al, al
jne 0x4325d4
add esi, 0xfffffff0
mov byte [esp + 0x68], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4325c2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x1c]
add edi, 1
cmp edi, dword [ecx + 0x58]
jl 0x4324f6
jmp 0x432606
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
push 1
push 4
push edx
call fcn.00440350
add esi, 0xfffffff0
mov byte [esp + 0x68], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432606
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov esi, dword [ebp + 8]
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43262e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432653
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
add edi, 1
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x4322f0
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0
call fcn.004cd4a7
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4326a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004053f0
call fcn.004c700e
int3