Function at 0x4674f0
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 0x4dc8d0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x50b0c0]
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 0x4675b7
push 0x10
lea eax, [ebp - 0x23c]
push eax
call fcn.00467760
mov esi, eax
cmp edi, esi
je 0x467577
mov ecx, edi
call fcn.0042b090
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 ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x4675b7
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4675ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467746
push ecx
push edx
call fcn.004a6653
add esp, 8
cmp dword [edi + 0x28], 0
jne 0x467643
push 2
lea eax, [ebp - 0x23c]
push eax
call fcn.00467760
mov esi, eax
lea eax, [edi + 0x18]
cmp eax, esi
je 0x467603
mov ecx, eax
call fcn.0042b090
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 ecx, dword [ebp - 0x228]
cmp ecx, 7
jbe 0x467643
mov edx, dword [ebp - 0x23c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x467639
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46774b
push ecx
push edx
call fcn.004a6653
add esp, 8
cmp dword [edi + 0x40], 0
jne 0x467715
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a8730
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0040a050
mov ecx, eax
test ecx, ecx
je 0x467750
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 0x4f3300
push eax
call fcn.004248c0
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 0x4676d7
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.0045baf0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x467715
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x28], 0
mov eax, 0x80004005
je 0x467728
xor ecx, ecx
cmp dword [edi + 0x10], ecx
cmovne eax, ecx
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.004a69a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004abd0f
call fcn.004abd0f
push 0x80004005
call fcn.00409e30
int3