Function at 0x462580
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 0x4d03e0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x5000a8]
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 0x462647
push 0x10
lea eax, [ebp - 0x23c]
push eax
call fcn.004627f0
mov esi, eax
cmp edi, esi
je 0x462607
mov ecx, edi
call fcn.00426390
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 0x462647
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46263d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4627d8
push edx
push ecx
call fcn.0049cf77
add esp, 8
cmp dword [edi + 0x28], 0
jne 0x4626d3
push 2
lea eax, [ebp - 0x23c]
push eax
call fcn.004627f0
mov esi, eax
lea eax, [edi + 0x18]
cmp eax, esi
je 0x462693
mov ecx, eax
call fcn.00426390
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 0x4626d3
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4626c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4627dd
push edx
push ecx
call fcn.0049cf77
add esp, 8
cmp dword [edi + 0x40], 0
jne 0x4627a5
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0049edd0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x4627e2
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x4ea86c
push str.k_LaunchUser_P
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push str.MicrosoftInternet_ExplorerQuic_sinnedTas_s
push eax
call fcn.0041fc40
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 0x462767
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.004263f0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4627a5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x28], 0
je 0x4627b5
cmp dword [edi + 0x10], 0
je 0x4627b5
xor eax, eax
jmp 0x4627ba
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.0049d3ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004a1aff
call fcn.004a1aff
push 0x80004005
call fcn.00404b10
int3