Function at 0x4d2120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x728817
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0x73df80
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov eax, dword [sym.imp.ole32.dll_CoTaskMemFree]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 1
push 0x14
mov dword [ebp - 4], 0
call fcn.0051dec4
mov ebx, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x8c]
lea ecx, [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x88], ebx
lea edi, [ebx + 4]
mov dword [ebp - 0x88], ecx
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [edi], 1
mov dword [ecx], 1
mov dword [ebx], vtable.std::_Ref_count_resource_wchar_t___void____stdcall___void___.0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x90], 0
lea edx, [ebp - 0x80]
push dword [ebp - 0x90]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x80], esi
call fcn.004b3ad0
mov byte [ebp - 4], 3
lea eax, [ebp - 0xac]
mov byte [ebp - 0x80], 0
push dword [ebp - 0x80]
push 0x14
push 0x8152dc
push eax
call fcn.004907d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0x80], 0
push dword [ebp - 0x80]
call fcn.004b3b70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf4]
mov byte [ebp - 0x80], 0
push dword [ebp - 0x80]
call fcn.004b3b30
add esp, 0x20
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x30]
call fcn.00482720
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x30]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0xdc]
call fcn.00482720
lea ecx, [ebp - 0x30]
call fcn.004813b0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x48]
call fcn.00482720
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x48]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0xc4]
call fcn.00482720
lea ecx, [ebp - 0x48]
call fcn.004813b0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x30]
call fcn.00482720
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x30]
call fcn.0049ab70
push eax
lea ecx, [ebp - 0x60]
call fcn.00482720
lea ecx, [ebp - 0x30]
call fcn.004813b0
lea ecx, [ebp - 0xc4]
call fcn.004813b0
lea ecx, [ebp - 0xdc]
call fcn.004813b0
lea ecx, [ebp - 0xf4]
call fcn.004813b0
lea ecx, [ebp - 0x10c]
call fcn.004813b0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x11
call fcn.004813b0
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0x81]
push eax
push esi
lea ecx, [ebp - 0x60]
call fcn.0049b1a0
lea ecx, [ebp - 0x60]
call fcn.004813b0
lea ecx, [ebp - 0x78]
call fcn.004813b0
or eax, 0xffffffff
lock xadd dword [edi], eax
jne 0x4d2390
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov ecx, dword [ebp - 0x88]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x4d2390
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 4