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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b10b
mov eax, dword fs:[0]
push eax
mov eax, 0x123c
call fcn.0045fc90
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 0x445593
push 0
push 0x443a80
push 0xa
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
mov byte [0x4acbf0], 1
call fcn.00445430
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0x47b1c9
push 0xa
push 0
mov edi, eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4455be
push eax
push 0
call ebx
jmp 0x4455c4
mov eax, dword [ebp - 0x1234]
mov dword [ebp - 0x1234], eax
test edi, edi
js 0x44560a
mov eax, dword [0x4acd6c]
lea ecx, [edi + edi*2]
cmp dword [eax + ecx*8 + 0x14], 8
lea eax, [eax + ecx*8]
jb 0x4455e2
mov eax, dword [eax]
push 0
push eax
push 0xa
push 0
call esi
test eax, eax
je 0x4455fc
push eax
push 0
call ebx
mov dword [ebp - 0x123c], eax
jmp 0x445614
mov eax, dword [ebp - 0x1234]
mov dword [ebp - 0x123c], eax
jmp 0x445614
mov dword [ebp - 0x123c], 0
push 0
push str.AVG_TOOLBAR
push 0xa
push 0
call esi
test eax, eax
je 0x44562e
push eax
push 0
call ebx
mov esi, eax
jmp 0x445630
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 0x445672
fadd qword [0x49c498]
mov eax, dword [ebp - 0x1234]
fstp qword [ebp - 0x1240]
fld qword [ebp - 0x1240]
fld qword [0x49c490]
fmul st(1), st(0)
fild dword [ebp - 0x1234]
test eax, eax
jns 0x44569c
fadd qword [0x49c498]
fstp qword [ebp - 0x1238]
fmul qword [ebp - 0x1238]
mov dword [ebp - 0x1234], esi
faddp st(1)
fild dword [ebp - 0x1234]
test esi, esi
jns 0x4456c0
fadd qword [0x49c498]
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 0x44570c
fadd qword [0x49c498]
fstp qword [ebp - 0x1238]
sub esp, 8
fld qword [ebp - 0x1238]
fld qword [0x49c480]
fmul st(1), st(0)
fmulp st(1)
fstp qword [esp]
call fcn.0044ea20
add esp, 8
call fcn.00468000
mov dword [ebp - 0x1234], eax
cmp ebx, dword [ebp - 0x1244]
ja 0x445751
jb 0x44574d
cmp esi, dword [ebp - 0x1248]
jae 0x445751
mov bl, 1
jmp 0x445753
xor bl, bl
call fcn.00433200
mov eax, dword [0x4acd60]
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 + 0x4a6b20]
mov dword [ebp - 0x1220], 0
mov word [ebp - 0x1230], ax
cmp word [edx], ax
jne 0x445796
xor ecx, ecx
jmp 0x4457af
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x4457a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4457a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1230]
call fcn.0040a110
lea eax, [ebp - 0x1230]
push eax
mov ecx, 0x4acd40
mov dword [ebp - 4], 0
call fcn.0042a1f0
push dword [ebp - 0x1234]
push dword [eax]
lea eax, [ebp - 0x1218]
push 0x800
push eax
call fcn.0045040e
add esp, 0x10
test bl, bl
jne 0x44586b
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
lea ebx, [ebx]
lea eax, [ebp - 0x1230]
push eax
mov ecx, 0x4acd48
call fcn.0042a1f0
push 0x15
push dword [eax]
lea eax, [ebp - 0x1218]
push eax
push 0
call edi
cmp eax, 4
jne 0x44586b
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 0x445869
ja 0x445865
cmp esi, dword [ebp - 0x1248]
jb 0x445869
xor bl, bl
jmp 0x445800
mov bl, 1
cmp dword [ebp - 0x121c], 8
jb 0x445882
push dword [ebp - 0x1230]
call fcn.0044d639
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.0044c32d
mov esp, ebp
pop ebp
ret