Function at 0x10007bcd
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1000bad6
call fcn.1000b5d0
mov eax, 0x2878
call fcn.1000b600
push ebx
push esi
push edi
push 1
xor esi, esi
pop ebx
mov ecx, 0x914
xor eax, eax
cmp dword [ebp + 0x1c], esi
lea edi, [ebp - 0x2880]
mov word [ebp - 0x2884], si
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
rep stosd dword es:[edi], eax
jne 0x10007c16
cmp dword [ebp + 0x24], esi
je 0x10007e62
lea eax, [ebp - 0x2884]
push esi
push eax
push dword [ebp + 8]
call fcn.100030e1
add esp, 0xc
test eax, eax
je 0x10007e5f
push 0x62af8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x10007c4f
mov ecx, eax
call fcn.10002d94
mov esi, eax
or dword [ebp - 4], 0xffffffff
xor edi, edi
cmp esi, edi
je 0x10007e5f
push dword [ebp + 8]
mov ecx, esi
call fcn.10002d1b
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x24]
mov dword [esi + 0x62ab4], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x26a8], eax
mov eax, dword [ebp + 0x2c]
mov ecx, esi
mov dword [esi + 0x2468], ebx
mov dword [esi + 0x26a0], 0x10007b33
mov dword [esi + 0x269c], eax
call fcn.10006743
push dword [ebp + 0x28]
mov ecx, esi
call fcn.10006743
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10006743
cmp dword [ebp + 0xc], edi
je 0x10007d76
cmp dword [ebp + 0x14], edi
jne 0x10007d76
mov ebx, dword [sym.imp.WININET.dll_GetUrlCacheEntryInfoW]
lea eax, [ebp + 0x18]
push eax
push edi
push dword [ebp + 8]
mov dword [ebp + 0x18], edi
call ebx
test eax, eax
jne 0x10007d76
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10007d76
push dword [ebp + 0x18]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
test edi, edi
je 0x10007d76
push dword [ebp + 0x18]
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [edi], eax
lea eax, [ebp + 0x18]
push eax
push edi
push dword [ebp + 8]
call ebx
test eax, eax
je 0x10007d65
push dword [edi + 8]
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 1
call fcn.10007e71
cmp dword [ebp + 0x1c], ebx
je 0x10007d52
push dword [edi + 8]
push 0x1000ed00
push 0x104
push dword [ebp + 0x30]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x10007d65
push dword [ebp + 0x2c]
mov dword [ebp - 0x14], ebx
push esi
push dword [ebp + 0x28]
push dword [ebp + 0x24]
call dword [sym.imp.USER32.dll_PostMessageW]
push edi
call fcn.1000b572
cmp dword [ebp - 0x18], 0
pop ecx
je 0x10007e50
mov ax, word [0x10011208]
mov ebx, dword [ebp + 0x30]
mov word [ebp - 0x430], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x42e]
rep stosd dword es:[edi], eax
xor edi, edi
cmp dword [ebp + 0x1c], edi
jne 0x10007da2
lea ebx, [ebp - 0x430]
cmp ebx, edi
je 0x10007e52
cmp dword [ebp + 0xc], edi
je 0x10007dc0
push edi
push ebx
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_CreateUrlCacheEntryW]
jmp 0x10007e06
mov word [ebp - 0x224], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x224]
push 0x1000f280
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor edi, edi
cmp word [ebx], di
je 0x10007e52
push ebx
mov ecx, esi
call fcn.10007e71
mov ecx, esi
call fcn.100031bd
test eax, eax
je 0x10007e52
cmp dword [ebp + 0x1c], edi
je 0x10007e44
mov ecx, esi
call fcn.100034bf
mov eax, dword [ebp + 0x34]
cmp eax, edi
je 0x10007e39
mov ecx, dword [esi + 0x5d100]
mov dword [eax], ecx
cmp dword [esi + 0x5d100], 7
jne 0x10007e52
jmp 0x10007e47
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 1
jmp 0x10007e52
xor edi, edi
cmp dword [ebp - 0x14], edi
je 0x10007e5f
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret