Function at 0x45f030
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbfe0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x4fa0a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x10], 0
jne 0x45f0f7
push 0x10
lea eax, [ebp - 0x23c]
push eax
call fcn.0045f2a0
mov esi, eax
cmp edi, esi
je 0x45f0b7
mov ecx, edi
call fcn.00426920
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x45f0f7
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f0ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f288
push edx
push ecx
call fcn.0049a567
add esp, 8
cmp dword [edi + 0x28], 0
jne 0x45f183
push 2
lea eax, [ebp - 0x23c]
push eax
call fcn.0045f2a0
mov esi, eax
lea eax, [edi + 0x18]
cmp eax, esi
je 0x45f143
mov ecx, eax
call fcn.00426920
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x45f183
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45f179
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f28d
push edx
push ecx
call fcn.0049a567
add esp, 8
cmp dword [edi + 0x40], 0
jne 0x45f255
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0049c3c0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00404d00
mov ecx, eax
test ecx, ecx
je 0x45f292
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.kBar
push str.k_LaunchUser_P
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push str.MicrosoftInternet_ExplorerQuic_sinnedTas_s
push eax
call fcn.00420260
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
add esp, 0x10
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f217
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.00426980
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45f255
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x28], 0
je 0x45f265
cmp dword [edi + 0x10], 0
je 0x45f265
xor eax, eax
jmp 0x45f26a
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049a9dd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049f0ef
call fcn.0049f0ef
push 0x80004005
call fcn.00404ae0
int3