Function at 0x1000f69a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x302c]
mov eax, 0x302c
call fcn.100588e0
push 0xffffffffffffffff
push 0x100b8fe3
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x3028], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x3034]
lea eax, [ebp + 0x1028]
xor esi, esi
push 0x1000
push esi
mov ebx, esi
push eax
mov dword [ebp - 0x20], ebx
call fcn.1005c640
lea eax, [ebp + 0x1028]
push 0x800
push eax
call fcn.1003a1b0
add esp, 0x14
cmp word [ebp + 0x1028], bx
jne 0x1000f71d
xor eax, eax
jmp 0x1000f984
push esi
push edi
push esi
call sub.urlmon.dll_IsValidURL
test eax, eax
jne 0x1000f716
push 0x1000
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.1005c640
push 0x1000
lea eax, [ebp + 0x2028]
push esi
push eax
call fcn.1005c640
add esp, 0x18
lea eax, [ebp + 0x28]
push eax
push 0x800
call dword [sym.imp.kernel32.dll_GetTempPathW]
lea eax, [ebp + 0x2028]
push eax
push esi
push 0x100c68a8
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
push 0x20
call fcn.100aadfa
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x1000f7b3
push edi
lea ecx, [ebp - 0x10]
call fcn.10001727
mov eax, dword [eax]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
test eax, eax
je 0x1000f7a2
mov eax, dword [eax]
jmp 0x1000f7a4
mov eax, esi
mov ecx, dword [ebp - 0x24]
push esi
push eax
push esi
call fcn.10001590
mov edi, eax
jmp 0x1000f7b5
mov edi, esi
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1000f7cd
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1000f7cd
call fcn.10001b26
mov dword [ebp - 0x10], esi
call fcn.100aadfa
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
lea ecx, [ebp + 0x2028]
push ecx
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.1000a8fe
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.1000a9b5
test eax, eax
jne 0x1000f97a
push 1
push 0x40
push 1
lea eax, [ebp + 0x2028]
push eax
lea ecx, [ebp - 0xf0]
call fcn.1000d39b
mov ebx, esi
mov dword [ebp - 0x14], esi
mov edi, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x94], 0
mov byte [ebp - 4], 5
je 0x1000f8e3
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe4], 1
jne 0x1000f8d8
xor eax, eax
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], 7
mov word [ebp], ax
lea eax, [ebp]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.1000cd9b
pop ecx
pop ecx
push 0x100c68b0
lea ecx, [ebp]
call fcn.10014551
test eax, eax
je 0x1000f8b2
lea eax, [ebp]
push eax
cmp ebx, edi
je 0x1000f8a3
mov ecx, edi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
call fcn.1001245d
push 0x18
pop eax
add edi, eax
mov dword [ebp - 0x18], edi
jmp 0x1000f8b2
push edi
lea ecx, [ebp - 0x1c]
call fcn.1000b663
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.100138cc
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe4], 1
je 0x1000f84d
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0xf0]
call fcn.100144f9
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], esi
push eax
lea eax, [ebp + 0x1028]
mov dword [ebp + 0x1c], esi
push eax
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
call fcn.1001fc9f
pop ecx
sub edi, ebx
mov dword [ebp - 0x10], esi
pop ecx
mov eax, edi
push 0x18
cdq
pop ecx
idiv ecx
mov edi, eax
test edi, edi
je 0x1000f967
mov dword [ebp + 8], esi
mov eax, ebx
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
cmp dword [ebx + 0x14], 8
jb 0x1000f92a
mov eax, dword [ebx]
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.1001fc9f
mov eax, dword [ebp + 0x18]
pop ecx
pop ecx
cmp eax, dword [ebp + 8]
je 0x1000f950
mov ecx, dword [ebp - 0x10]
push 0x18
inc ecx
pop eax
add ebx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
jb 0x1000f914
jmp 0x1000f967
mov ecx, esi
mov eax, dword [ebp + ecx + 0x1c]
cmp eax, dword [ebp + ecx + 0xc]
jb 0x1000f967
add ecx, 4
cmp ecx, 0xc
jl 0x1000f952
xor esi, esi
inc esi
lea ecx, [ebp - 0x1c]
call fcn.1001386e
lea ecx, [ebp - 0xf0]
call fcn.100aadfa
lea ecx, [ebp - 0x38]
call fcn.1000a95c
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3028]
xor ecx, ebp
call fcn.100587af
add ebp, 0x302c
leave
ret