Function at 0x4cd670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7279fa
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
movups xmm0, xmmword [0x73df80]
mov dword [ebp - 0xa4], eax
lea edi, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x73df90]
movups xmmword [ebp - 0x20], xmm0
nop word [eax + eax]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0
push eax
push 0
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
test eax, eax
je 0x4cd948
mov ecx, dword [sym.imp.ole32.dll_CoTaskMemFree]
xorps xmm0, xmm0
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xa0]
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xc4], eax
mov byte [ebp - 0xc0], 1
push 0x14
mov dword [ebp - 4], 0
call fcn.0051dec4
mov esi, eax
mov byte [ebp - 0xc0], 0
mov eax, dword [ebp - 0xa0]
lea ecx, [esi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa4], ecx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 4], 1
mov dword [ecx], 1
mov dword [esi], vtable.std::_Ref_count_resource_wchar_t___void____stdcall___void___.0
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x10], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov byte [ebp - 0xb0], 0
lea edx, [ebp - 0xac]
push dword [ebp - 0xb0]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xac], eax
call fcn.004b3ad0
mov byte [ebp - 0xb4], 0
lea eax, [ebp - 0x140]
push dword [ebp - 0xb4]
mov byte [ebp - 4], 3
push 0x844b7c
push eax
call fcn.00490840
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0x128]
push dword [ebp - 0xb8]
mov byte [ebp - 4], 4
call fcn.004b3b70
mov byte [ebp - 0xbc], 0
lea ecx, [ebp - 0x110]
push dword [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.004b3b30
add esp, 0x1c
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x68]
call fcn.00482720
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x68]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0xf8]
call fcn.00482720
lea ecx, [ebp - 0x68]
call fcn.004813b0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x98]
call fcn.00482720
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x98]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0xe0]
call fcn.00482720
lea ecx, [ebp - 0x98]
call fcn.004813b0
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x68]
call fcn.00482720
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x68]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0x50]
call fcn.00482720
lea ecx, [ebp - 0x68]
call fcn.004813b0
lea ecx, [ebp - 0xe0]
call fcn.004813b0
lea ecx, [ebp - 0xf8]
call fcn.004813b0
lea ecx, [ebp - 0x110]
call fcn.004813b0
lea ecx, [ebp - 0x128]
call fcn.004813b0
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x11
call fcn.004813b0
lea eax, [ebp - 0x50]
push eax
call fcn.004a7e80
add esp, 4
test al, al
jne 0x4cd97b
lea ecx, [ebp - 0x50]
call fcn.004813b0
lea ecx, [ebp - 0x80]
call fcn.004813b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x4cd948
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lea ecx, [esi + 8]
lock xadd dword [ecx], eax
jne 0x4cd948
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
add edi, 0x10
lea eax, [ebp - 0x10]
cmp edi, eax
jne 0x4cd6d0
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa8]
xor ecx, ecx
movups xmm0, xmmword [ebp - 0x50]
mov word [ebp - 0x50], cx
lea ecx, [ebp - 0x50]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov byte [eax + 0x18], 1
call fcn.004813b0
lea ecx, [ebp - 0x80]
call fcn.004813b0
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x4cd9f6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0xa4]
lock xadd dword [ecx], edi
dec edi
jne 0x4cd9f6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0xa8]
jmp 0x4cd960