Function at 0x46bf10
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f658e
push eax
mov eax, 0x2878
mov dword fs:[0], esp
call fcn.004f3f00
mov eax, 1
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov ecx, 0x914
xor eax, eax
lea edi, [esp + 0x430]
mov word [esp + 0x42c], bx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28a4]
mov dword [esp + 0xc], ebx
cmp eax, ebx
jne 0x46bf89
cmp dword [esp + 0x28ac], ebx
jne 0x46bf89
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2878]
mov dword fs:[0], ecx
add esp, 0x2884
ret
push ebp
mov ebp, dword [esp + 0x2894]
push esi
lea eax, [esp + 0x434]
push ebx
push eax
push ebp
call fcn.0041f3f0
add esp, 0xc
test eax, eax
je 0x46c2bd
push 0x62ca4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x2890], ebx
je 0x46bfd3
mov ecx, eax
call fcn.0041efd0
mov esi, eax
jmp 0x46bfd5
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x2890], 0xffffffff
je 0x46c2bd
lea edx, [esi + 0x5d4e0]
push ebp
mov ecx, 0x412
xor eax, eax
mov edi, edx
push 0x50c180
push 0x824
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [esp + 0x28b8]
mov edx, dword [esp + 0x28c0]
mov eax, dword [esp + 0x28cc]
add esp, 0x10
mov dword [esi + 0x62c64], ecx
mov ecx, dword [esp + 0x28b4]
push ecx
mov ecx, esi
mov dword [esi + 0x2464], 1
mov dword [esi + 0x26a4], edx
mov dword [esi + 0x269c], 0x46be50
mov dword [esi + 0x2698], eax
call fcn.00423950
mov edx, dword [esp + 0x28b8]
mov ecx, esi
push edx
call fcn.00423950
mov edi, dword [esp + 0x289c]
mov ecx, esi
push edi
call fcn.00423950
cmp edi, ebx
je 0x46c1a1
cmp dword [esp + 0x28a4], ebx
jne 0x46c1a1
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push ebx
push ebp
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
test eax, eax
jne 0x46c1a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x46c1a1
mov ecx, dword [esp + 0x10]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46c1a1
mov ecx, dword [esp + 0x10]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebp
mov dword [ebx], eax
call dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
test eax, eax
je 0x46c18c
mov ebp, dword [ebx + 8]
lea edx, [esi + 0x5d0d0]
mov ecx, 0x82
xor eax, eax
mov edi, edx
push ebp
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x50c180
push 0x104
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 1
call edi
mov eax, dword [esp + 0x28bc]
add esp, 0x10
test eax, eax
je 0x46c15e
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x28c0]
push edx
push 0x50c180
push 0x104
push eax
call edi
add esp, 0x10
jmp 0x46c185
mov ecx, dword [esp + 0x28bc]
mov edx, dword [esp + 0x28b8]
mov eax, dword [esp + 0x28b4]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, dword [esp + 0x2898]
push ebx
call fcn.004f3eca
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x46c2ad
mov cx, word [0x53ada0]
mov ebx, dword [esp + 0x28c0]
mov word [esp + 0x228], cx
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x22a]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28ac]
test eax, eax
jne 0x46c1d9
lea ebx, [esp + 0x228]
test ebx, ebx
je 0x46c2ad
mov eax, dword [esp + 0x289c]
test eax, eax
je 0x46c202
mov edx, dword [esp + 0x28a0]
push 0
push ebx
push edx
push 0
push ebp
call dword [sym.imp.WININET.dll_CreateUrlCacheEntryW]
jmp 0x46c240
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x28]
push 0x50b79c
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebx], 0
je 0x46c2ad
lea edx, [esi + 0x5d0d0]
push ebx
mov ecx, 0x82
xor eax, eax
mov edi, edx
push 0x50c180
push 0x104
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov ecx, esi
call fcn.0041f4f0
test eax, eax
je 0x46c2ad
mov eax, dword [esp + 0x28ac]
test eax, eax
je 0x46c2da
mov ecx, esi
call fcn.0041f8f0
mov eax, dword [esp + 0x28c4]
test eax, eax
je 0x46c29c
mov edx, dword [esi + 0x5d0ac]
mov dword [eax], edx
cmp dword [esi + 0x5d0ac], 7
jne 0x46c2ad
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46c2bd
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x2888]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2884
ret
mov dword [esp + 0x14], 1
jmp 0x46c2bd