Function at 0x47b090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521312
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x56f790]
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 ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push str.CInstaller::_CreatePushDesktopIcon
mov dword [ebp - 0x824], eax
call fcn.00441a80
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004b17e0
add esp, 0x10
lea eax, [ebp - 0x810]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47b2e7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x81c], eax
push dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x81c]
push str._s_s.lnk
push eax
call fcn.00410920
add esp, 0x10
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47b2f1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
push dword [esi + 0x18]
lea eax, [ebp - 0x818]
mov byte [ebp - 4], 1
push str._s_game_dsk
push eax
call fcn.0040ecb0
add esp, 0xc
lea eax, [ebp - 0x818]
mov ecx, ebx
push eax
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x824]
lea eax, [esi + 0x10]
push eax
push edi
call fcn.0047c040
or esi, 0xffffffff
test eax, eax
jne 0x47b1aa
xor edi, edi
jmp 0x47b284
push str.add_game_dsk
lea ecx, [ebp - 0x820]
call fcn.0046e520
mov byte [ebp - 4], 2
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47b2fb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push str.install
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 3
call fcn.00408690
test al, al
jne 0x47b205
push 7
push str.install
lea ecx, [ebp - 0x814]
call fcn.00407f80
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x824], esp
mov dword [eax + 0x24], 0
push 0
push 0
lea eax, [ebp - 0x820]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0046f0b0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00470670
mov edx, dword [ebp - 0x814]
mov eax, esi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b25e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x820]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b27f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, 1
mov edx, dword [ebp - 0x818]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b2a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x81c]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x47b2c7
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.004ac4b8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
int3