Function at 0x4080cd
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x2e8
push ebx
push esi
xor ebx, ebx
mov esi, eax
mov dword [ebp + 0x64], ebx
call fcn.0040e925
mov dword [ebp + 0x68], eax
call fcn.0040e89d
mov edx, dword [0x439674]
mov byte [ebp + 0x6f], al
cmp dword [0x43966c], ebx
jne 0x408107
cmp edx, ebx
je 0x4082d3
cmp dword [ebp + 0x68], ebx
jne 0x4082d3
push edi
mov edi, 0x103
push edi
lea eax, [ebp - 0x173]
push ebx
push eax
mov byte [ebp - 0x174], bl
call fcn.00416e30
push edi
lea eax, [ebp - 0x277]
push ebx
push eax
mov byte [ebp - 0x278], bl
call fcn.00416e30
add esp, 0x18
lea eax, [ebp - 0x278]
push eax
inc edi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x43d154
lea eax, [ebp - 0x278]
push eax
push 0x43cfdc
lea eax, [ebp - 0x174]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov edi, dword [ebp + 0x78]
push 0x4077fb
push edi
lea eax, [ebp - 0x174]
push eax
push str.http:__af.gv.facdn.com_gv_download_asktoolbar_ask1900.exe
call fcn.00406495
add esp, 0x24
neg al
sbb al, al
inc al
mov byte [0x43953b], al
je 0x4081e6
push 0x4077fb
push edi
lea eax, [ebp - 0x174]
push eax
push str.http:__www.gamevance.com_download_asktoolbar_ask1900.exe
call fcn.00406495
add esp, 0x10
neg al
sbb al, al
inc al
mov byte [0x43953b], al
je 0x4081e6
mov eax, dword [esi]
push 0x43d160
push dword [eax*4 + 0x4394bc]
call fcn.00417e70
pop ecx
pop ecx
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [esi]
jmp 0x4082cc
push 0x95
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call fcn.00416e30
inc dword [esi]
mov eax, dword [esi]
push 0x43d184
push dword [eax*4 + 0x4394bc]
call fcn.00417e70
add esp, 0x14
push 1
push ebx
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [0x43966c], ebx
je 0x408235
push 0x43d1a4
lea eax, [ebp - 0x70]
push eax
call esi
cmp dword [0x439670], ebx
je 0x408250
cmp dword [0x43966c], ebx
je 0x408250
push 0x43d1ac
lea eax, [ebp - 0x70]
push eax
call esi
cmp dword [0x439674], ebx
je 0x408263
push 0x43d1b4
lea eax, [ebp - 0x70]
push eax
call esi
push 0x43d1bc
lea eax, [ebp - 0x70]
push eax
call esi
push 0x43d1cc
lea eax, [ebp - 0x70]
push eax
call esi
push 0x3c
pop esi
push esi
lea eax, [ebp + 0x28]
push ebx
push eax
call fcn.00416e30
lea eax, [ebp - 0x174]
mov dword [ebp + 0x38], eax
lea eax, [ebp - 0x70]
mov dword [ebp + 0x3c], eax
add esp, 0xc
lea eax, [ebp + 0x28]
push eax
mov dword [ebp + 0x28], esi
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x44], 9
mov dword [ebp + 0x34], 0x43ca40
mov dword [ebp + 0x2c], 0x440
call dword [0x4394f0]
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp + 0x7c]
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x60]
mov dword [ecx], eax
mov edx, dword [0x439674]
pop edi
cmp byte [ebp + 0x6f], bl
jne 0x4082e8
mov eax, dword [0x439548]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x10]
jmp 0x408386
cmp dword [ebp + 0x68], ebx
je 0x4082fd
mov eax, dword [0x439548]
mov ecx, dword [eax + 0x68]
mov eax, dword [eax + 4]
jmp 0x408386
cmp byte [0x43953b], bl
je 0x408312
mov eax, dword [0x439548]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 8]
jmp 0x408386
mov esi, dword [0x43966c]
cmp esi, ebx
jne 0x40832d
cmp edx, ebx
jne 0x40832d
mov eax, dword [0x439548]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x14]
jmp 0x408386
cmp dword [ebp + 0x64], 0x20
mov eax, dword [0x439548]
jle 0x408380
mov ecx, dword [eax + 0x1c]
mov dword [0x43741c], ecx
mov ecx, dword [eax + 0x70]
mov byte [0x43953a], 1
mov dword [0x437420], ecx
cmp esi, ebx
je 0x408374
cmp dword [0x439670], ebx
je 0x40836b
cmp edx, ebx
je 0x408366
mov eax, dword [eax + 0x34]
jmp 0x408386
mov eax, dword [eax + 0x38]
jmp 0x408386
cmp edx, ebx
je 0x408391
mov eax, dword [eax + 0x3c]
jmp 0x408386
cmp edx, ebx
je 0x408391
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x40]
jmp 0x408386
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0xc]
mov dword [0x437420], ecx
mov dword [0x43741c], eax
pop esi
xor eax, eax
pop ebx
add ebp, 0x70
leave
ret