Function at 0x1000f82a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x302c]
mov eax, 0x302c
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100cc067
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10130aa4]
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.100621d0
lea eax, [ebp + 0x1028]
push 0x800
push eax
call fcn.1003a13f
add esp, 0x14
cmp word [ebp + 0x1028], bx
je 0x1000fb6b
push esi
push edi
push esi
call sub.urlmon.dll_IsValidURL
test eax, eax
jne 0x1000fb6b
push 0x1000
lea eax, [ebp + 0x28]
push esi
push eax
call fcn.100621d0
push 0x1000
lea eax, [ebp + 0x2028]
push esi
push eax
call fcn.100621d0
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 0x100dae18
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
push 0x20
call fcn.100c0f6c
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x1000f942
push edi
lea ecx, [ebp - 0x14]
call fcn.10001719
mov eax, dword [eax]
inc ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x1000f931
mov eax, dword [eax]
jmp 0x1000f933
mov eax, esi
mov ecx, dword [ebp - 0x28]
push esi
push eax
push esi
call fcn.10001590
mov edi, eax
jmp 0x1000f944
mov edi, esi
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1000f95c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1000f95c
call fcn.10001b13
mov dword [ebp - 0x14], esi
call fcn.100c0f6c
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.1000af48
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 3
call fcn.1000afff
test eax, eax
jne 0x1000fb5f
push 1
push 0x40
push 1
lea eax, [ebp + 0x2028]
push eax
lea ecx, [ebp - 0xf4]
call fcn.1000d5f5
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 0x1000faca
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe8], 1
jne 0x1000fabf
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.1000d0cb
pop ecx
pop ecx
push 0x100dae20
lea ecx, [ebp]
call fcn.100140b9
test eax, eax
jne 0x1000fa58
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x1000faa2
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, ebx
jb 0x1000fa99
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10012069
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x1000fa99
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000bf5c
mov eax, dword [ebp + 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x1000faa2
mov ecx, dword [ebp]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, ebx
jb 0x1000fa99
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10012069
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.100c0f6c
pop ecx
pop ecx
mov eax, dword [ebp - 0xf4]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xe8], 1
je 0x1000f9e1
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0xf4]
call fcn.10014057
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.1001fa50
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 0x1000fb4c
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 0x1000fb11
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.1001fa50
mov eax, dword [ebp + 0x18]
pop ecx
pop ecx
cmp eax, dword [ebp + 8]
je 0x1000fb35
mov ecx, dword [ebp - 0x10]
add edi, 0x18
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
jb 0x1000fafb
jmp 0x1000fb4c
mov ecx, esi
mov eax, dword [ebp + ecx + 0x1c]
cmp eax, dword [ebp + ecx + 0xc]
jb 0x1000fb4c
add ecx, 4
cmp ecx, 0xc
jl 0x1000fb37
xor esi, esi
inc esi
lea ecx, [ebp - 0x24]
call fcn.10013804
lea ecx, [ebp - 0xf4]
call fcn.100c0f6c
lea ecx, [ebp - 0x3c]
call fcn.1000afa6
mov eax, esi
jmp 0x1000fb6d
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.1005e187
add ebp, 0x302c
leave
ret