Function at 0x423590
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x4ade78]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x32c], ebx
mov eax, dword [ebp + 8]
push dword [ebx + 0x24]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x340], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x364], ebx
mov dword [ebp - 0x34c], eax
call esi
push dword [ebx + 0x28]
mov dword [ebp - 0x334], eax
call esi
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x36c], eax
call fcn.00426eb0
test al, al
jne 0x423653
mov esi, dword [0x4af2c0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x63]
mov esi, 4
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
push eax
call fcn.0046208f
add esp, 8
mov ecx, dword [0x4af2c0]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov esi, 7
idiv esi
xor edi, edi
mov dword [ebp - 0x330], edi
cmp edx, 4
jne 0x42376c
mov ebx, ecx
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x370], eax
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x374], eax
mov eax, ebx
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x37c], eax
mov eax, 0x66666667
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x360], eax
mov eax, 0x2aaaaaab
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x348], eax
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x33c], eax
mov eax, ebx
cdq
and edx, esi
add eax, edx
sar eax, 3
mov dword [ebp - 0x350], eax
mov eax, 0x38e38e39
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x324], edi
lea esi, [ebp - 0x31b]
xor eax, eax
mov cl, bl
sub cl, al
mov edi, 1
mov dword [ebp - 0x338], 5
jmp 0x423740
add esi, 9
inc edi
dec dword [ebp - 0x338]
jne 0x423740
mov eax, dword [ebp - 0x324]
inc eax
mov dword [ebp - 0x324], eax
cmp eax, 0xf
jl 0x423725
mov ebx, dword [ebp - 0x32c]
mov ecx, dword [0x4af2c0]
xor edi, edi
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x423788
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ecx, dword [0x4af2c0]
mov edi, eax
mov dword [ebp - 0x330], eax
mov esi, dword [ebp - 0x328]
cmp dword [ebp - 0x334], esi
cmovg esi, dword [ebp - 0x334]
imul ecx, ecx
mov eax, ecx
cdq
mov ecx, 0x16
idiv ecx
mov dword [ebp - 0x328], esi
cmp edx, 0xd
jne 0x4237c3
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp dword [ebx + 0x2c], 0
je 0x4237d6
cmp esi, edi
cmovg edi, esi
mov esi, edi
mov dword [ebp - 0x328], edi
mov edi, dword [ebp - 0x358]
mov dword [ebp - 4], 0
push edi
push 0xffffffffffffffff
push dword [ebx + 0x24]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp eax, 0xffffffff
jne 0x42380f
push 0x4a436c
lea eax, [ebp - 0x378]
push eax
mov dword [ebp - 0x378], 1
call fcn.00461243
cmp eax, esi
jl 0x4237e3
push dword [ebp - 0x340]
push 0xffffffffffffffff
push dword [ebx + 0x28]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, eax
cmp edi, 0xffffffff
jne 0x423846
push 0x4a436c
lea eax, [ebp - 0x344]
push eax
mov dword [ebp - 0x344], 1
call fcn.00461243
cmp edi, esi
jl 0x423813
call fcn.004271d0
test al, al
jne 0x42389d
mov esi, dword [0x4af2c0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
add esp, 4
push eax
call fcn.0046208f
mov esi, dword [ebp - 0x328]
add esp, 4
cmp dword [ebx + 0x2c], 0
je 0x423932
jmp 0x4238b0
push dword [ebp - 0x34c]
push 0xffffffffffffffff
push dword [ebx + 0x2c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4238e3
push 0x4a436c
lea eax, [ebp - 0x354]
push eax
mov dword [ebp - 0x354], 1
call fcn.00461243
cmp edi, esi
jl 0x4238b0
mov ebx, dword [0x4af2c0]
mov eax, ebx
imul eax, ebx
imul eax, ebx
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x423901
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 6
jne 0x42392c
xor edx, edx
mov dword [ebp - 0x324], edx
lea esi, [ebp - 0x78]
xor ecx, ecx
inc ecx
inc esi
cmp ecx, 7
jl 0x423913
mov edx, dword [ebp - 0x324]
inc edx
mov dword [ebp - 0x324], edx
cmp edx, 0xe
jl 0x423911
mov ebx, dword [ebp - 0x32c]
call fcn.00425300
movzx ecx, di
push ecx
push eax
push 0x42b
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x423969
push 0x4a436c
lea eax, [ebp - 0x35c]
push eax
mov dword [ebp - 0x35c], 1
call fcn.00461243
call fcn.004271d0
test al, al
jne 0x4239b6
mov esi, dword [0x4af2c0]
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004601e0
add esp, 4
push eax
call fcn.0046208f
add esp, 4
mov dword [ebx + 0x30], edi
mov ecx, dword [0x4af2c0]
lea eax, [ecx + 1]
imul eax, ecx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 0xe
jne 0x4239e3
push 0x79
push 0x78
push str._d__d_n
call fcn.004628cc
add esp, 0xc
push 1
push 0
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebx + 0x20], 1
mov eax, 1
jmp 0x423a4d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00461234
mov esp, ebp
pop ebp
ret 0xc