Function at 0x1007e0c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015e8c2
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x101c0618]
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.1004a150
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.100ec480
add esp, 0x10
lea eax, [ebp - 0x810]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e319
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.1000efe0
add esp, 0x10
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e323
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.10012500
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.1007eba0
or esi, 0xffffffff
test eax, eax
jne 0x1007e1da
xor edi, edi
jmp 0x1007e2b6
push str.create_dsk_shortcut
lea ecx, [ebp - 0x820]
call fcn.1006e770
mov byte [ebp - 4], 2
call fcn.1000c0e0
mov ecx, eax
test ecx, ecx
je 0x1007e32d
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.1001aad0
test al, al
jne 0x1007e235
push 7
push str.install
lea ecx, [ebp - 0x814]
call fcn.1000adf0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x824], esp
mov dword [eax + 0x24], 0
push 0
push 0
push 1
lea eax, [ebp - 0x820]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.1006f2a0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.10070290
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 0x1007e290
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 0x1007e2b1
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 0x1007e2d7
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 0x1007e2f9
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.100b4568
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
push 0x80004005
call fcn.10007270
int3