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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c23f8
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.00440950
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x432a64
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.004cdc49
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 0x432b3e
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 0x432b2c
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x432b16
cmp al, 0x42
je 0x432b16
push ebx
call edi
cmp eax, 4
je 0x432b16
push ebx
call edi
cmp eax, 5
je 0x432b16
push ebx
call edi
cmp eax, 6
je 0x432b16
push ebx
call edi
test eax, eax
je 0x432b16
push ebx
call edi
cmp eax, 2
je 0x432b16
mov edx, dword [esp + 0x50]
push ebx
push edx
lea ecx, [esp + 0x50]
call fcn.004cdf00
push 0
push ebx
call fcn.004e5678
add eax, 1
mov ebx, eax
mov al, byte [ebx]
add esp, 8
test al, al
jne 0x432ad8
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 0x432eca
test edi, edi
jl 0x432f22
cmp edi, eax
jge 0x432f22
mov edx, dword [esp + 0x4c]
lea eax, [edx + edi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e20
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.004407d0
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 0x432eb7
mov eax, edi
mov ecx, esi
call fcn.00440ac0
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x432a5a
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.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x432a5a
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 0x5f96a0
push eax
call fcn.00405630
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 0x5f96a0
push eax
call fcn.00405630
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add esp, 0x20
push 0
push 0x64
push ecx
push edx
call fcn.004ecf70
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.004f1fa0
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 0x432cd7
mov ecx, esi
call fcn.004d5ea0
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x1200
push eax
call edi
cmp eax, 1
jle 0x432cd7
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
push ecx
push 1
push edi
mov ecx, esi
call fcn.004ca71d
mov ebx, 1
call fcn.00440c90
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 0x432d2b
mov ecx, esi
call fcn.004d5ea0
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x1200
push eax
call edi
cmp eax, 2
jle 0x432d2b
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
push ecx
push 2
push edi
mov ecx, esi
call fcn.004ca71d
mov ebx, 2
call fcn.00440c90
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x14]
push ebx
mov ecx, esi
call fcn.00440b50
mov eax, dword [esp + 0x14]
push 0
push 4
push esi
call fcn.00440bc0
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp dword [eax + 0x58], edi
jle 0x432e69
jmp 0x432d58
mov eax, ecx
test edi, edi
jl 0x432f22
cmp edi, dword [eax + 0x58]
jge 0x432f22
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 0x432d99
cmp eax, dword [ebx]
jne 0x432d99
mov esi, ebx
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x432dcf
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 0x432f1d
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.004e4ba7
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 0x432a5a
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.004e64c5
add esp, 8
test eax, eax
sete al
test al, al
jne 0x432e34
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 0x432e22
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 0x432d56
jmp 0x432e66
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
push 1
push 4
push edx
call fcn.00440bc0
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 0x432e66
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 0x432e8e
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 0x432eb3
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 0x432b50
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0
call fcn.004cdce7
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 0x432f08
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.004053e0
call fcn.004c788e
int3