Function at 0x445510
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b0cb
mov eax, dword fs:[0]
push eax
mov eax, 0x123c
call fcn.0045fc50
mov eax, dword [0x4a5590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x4acbf0], 0
jne 0x445563
push 0
push 0x443a50
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov byte [0x4acbf0], 1
call fcn.00445400
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0x47b209
push 0xa
push 0
mov edi, eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x44558e
push eax
push 0
call ebx
jmp 0x445594
mov eax, dword [ebp - 0x1234]
mov dword [ebp - 0x1234], eax
test edi, edi
js 0x4455da
mov eax, dword [0x4acd70]
lea ecx, [edi + edi*2]
cmp dword [eax + ecx*8 + 0x14], 8
lea eax, [eax + ecx*8]
jb 0x4455b2
mov eax, dword [eax]
push 0
push eax
push 0xa
push 0
call esi
test eax, eax
je 0x4455cc
push eax
push 0
call ebx
mov dword [ebp - 0x123c], eax
jmp 0x4455e4
mov eax, dword [ebp - 0x1234]
mov dword [ebp - 0x123c], eax
jmp 0x4455e4
mov dword [ebp - 0x123c], 0
push 0
push str.AVG_TOOLBAR
push 0xa
push 0
call esi
test eax, eax
je 0x4455fe
push eax
push 0
call ebx
mov esi, eax
jmp 0x445600
xor esi, esi
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
push 0
lea eax, [ebp - 0x1248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
fild dword [ebp - 0x123c]
mov eax, dword [ebp - 0x123c]
xor ebx, ebx
test eax, eax
jns 0x445642
fadd qword [0x49c488]
mov eax, dword [ebp - 0x1234]
fstp qword [ebp - 0x1240]
fld qword [ebp - 0x1240]
fld qword [0x49c480]
fmul st(1), st(0)
fild dword [ebp - 0x1234]
test eax, eax
jns 0x44566c
fadd qword [0x49c488]
fstp qword [ebp - 0x1238]
fmul qword [ebp - 0x1238]
mov dword [ebp - 0x1234], esi
faddp st(1)
fild dword [ebp - 0x1234]
test esi, esi
jns 0x445690
fadd qword [0x49c488]
fstp qword [ebp - 0x1238]
fadd qword [ebp - 0x1238]
fnstcw word [ebp - 0x123a]
movzx eax, word [ebp - 0x123a]
or eax, 0xc00
mov dword [ebp - 0x1234], eax
fldcw word [ebp - 0x1234]
fistp qword [ebp - 0x1238]
mov esi, dword [ebp - 0x1238]
fldcw word [ebp - 0x123a]
fild dword [ebp - 0x1238]
test esi, esi
jns 0x4456dc
fadd qword [0x49c488]
fstp qword [ebp - 0x1238]
sub esp, 8
fld qword [ebp - 0x1238]
fld qword [0x49c470]
fmul st(1), st(0)
fmulp st(1)
fstp qword [esp]
call fcn.0044e9e0
add esp, 8
call fcn.00467fc0
mov dword [ebp - 0x1234], eax
cmp ebx, dword [ebp - 0x1244]
ja 0x445721
jb 0x44571d
cmp esi, dword [ebp - 0x1248]
jae 0x445721
mov bl, 1
jmp 0x445723
xor bl, bl
call fcn.004331d0
mov eax, dword [0x4acd64]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x121c], 7
lea ecx, [eax*8]
sub ecx, eax
xor eax, eax
lea edx, [ecx*4 + 0x4a6b10]
mov dword [ebp - 0x1220], 0
mov word [ebp - 0x1230], ax
cmp word [edx], ax
jne 0x445766
xor ecx, ecx
jmp 0x44577f
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x445770
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445770
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1230]
call fcn.0040a100
lea eax, [ebp - 0x1230]
push eax
mov ecx, 0x4acd44
mov dword [ebp - 4], 0
call fcn.0042a1b0
push dword [ebp - 0x1234]
push dword [eax]
lea eax, [ebp - 0x1218]
push 0x800
push eax
call fcn.004503ce
add esp, 0x10
test bl, bl
jne 0x44583b
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
lea ebx, [ebx]
lea eax, [ebp - 0x1230]
push eax
mov ecx, 0x4acd4c
call fcn.0042a1b0
push 0x15
push dword [eax]
lea eax, [ebp - 0x1218]
push eax
push 0
call edi
cmp eax, 4
jne 0x44583b
push 0
push 0
lea eax, [ebp - 0x1248]
push eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x1244], 0
mov dword [ebp - 0x1248], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
xor eax, eax
cmp eax, dword [ebp - 0x1244]
jb 0x445839
ja 0x445835
cmp esi, dword [ebp - 0x1248]
jb 0x445839
xor bl, bl
jmp 0x4457d0
mov bl, 1
cmp dword [ebp - 0x121c], 8
jb 0x445852
push dword [ebp - 0x1230]
call fcn.0044d5f9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c2ed
mov esp, ebp
pop ebp
ret