Function at 0x1000f54d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x302c]
mov eax, 0x302c
call fcn.1003b1e0
push 0xffffffffffffffff
push 0x10068146
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x100be114]
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 - 0x10], ebx
call fcn.1003d660
lea eax, [ebp + 0x1028]
push 0x800
push eax
call fcn.10037b72
add esp, 0x14
cmp word [ebp + 0x1028], bx
je 0x1000f88e
push esi
push edi
push esi
call sub.urlmon.dll_IsValidURL
test eax, eax
jne 0x1000f88e
push 0x1000
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.1003d660
push 0x1000
lea eax, [ebp + 0x2028]
push esi
push eax
call fcn.1003d660
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 0x10075d10
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x20
call fcn.1003b0c2
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x1000f665
push edi
lea ecx, [ebp - 0x14]
call fcn.1000154d
mov eax, dword [eax]
inc ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x1000f654
mov eax, dword [eax]
jmp 0x1000f656
mov eax, esi
mov ecx, dword [ebp - 0x28]
push esi
push eax
push esi
call fcn.100011b0
mov edi, eax
jmp 0x1000f667
mov edi, esi
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1000f67f
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000f67f
call fcn.100016dc
mov dword [ebp - 0x14], esi
call fcn.1002d61d
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
lea ecx, [ebp + 0x2028]
push ecx
push edi
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000db33
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 3
call fcn.1000dbbf
test eax, eax
jne 0x1000f882
push 1
push 0x40
push 1
lea eax, [ebp + 0x2028]
push eax
lea ecx, [ebp - 0xf4]
call fcn.100122e6
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x98], 0
mov byte [ebp - 4], 5
je 0x1000f7ed
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe8], 1
jne 0x1000f7e2
mov ebx, 0x1000
xor eax, eax
lea edi, [ebp]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
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 - 0xf4]
push eax
call fcn.100120b0
pop ecx
pop ecx
push 0x10075d18
lea ecx, [ebp]
call fcn.10014880
test eax, eax
jne 0x1000f77b
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x1000f7c5
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, ebx
jb 0x1000f7bc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10006c83
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x1000f7bc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.100115d7
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x1000f7c5
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, ebx
jb 0x1000f7bc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10006c83
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.1003b0f2
pop ecx
pop ecx
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe8], 1
je 0x1000f704
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0xf4]
call fcn.10014823
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.1001e5db
pop ecx
sub ebx, edi
mov dword [ebp - 0x10], esi
pop ecx
mov eax, ebx
push 0x18
cdq
pop ecx
idiv ecx
mov ebx, eax
test ebx, ebx
je 0x1000f86f
mov dword [ebp + 8], esi
mov eax, edi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
cmp dword [edi + 0x14], 8
jb 0x1000f834
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.1001e5db
mov eax, dword [ebp + 0x18]
pop ecx
pop ecx
cmp eax, dword [ebp + 8]
je 0x1000f858
mov ecx, dword [ebp - 0x10]
add edi, 0x18
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
jb 0x1000f81e
jmp 0x1000f86f
mov ecx, esi
mov eax, dword [ebp + ecx + 0x1c]
cmp eax, dword [ebp + ecx + 0xc]
jb 0x1000f86f
add ecx, 4
cmp ecx, 0xc
jl 0x1000f85a
xor esi, esi
inc esi
lea ecx, [ebp - 0x24]
call fcn.10014476
lea ecx, [ebp - 0xf4]
call fcn.10012e88
lea ecx, [ebp - 0x3c]
call fcn.1000db91
mov eax, esi
jmp 0x1000f890
xor eax, eax
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.1003b105
add ebp, 0x302c
leave
ret