Function at 0x1005dd20
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb30
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push edi
test esi, esi
je 0x1005e000
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1005e000
cmp dword [eax + 0x10c], 0
je 0x1005e000
xor ecx, ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
push dword [eax + 0x10c]
add eax, 4
push eax
push esi
call fcn.100bb950
add esp, 0xc
test eax, eax
jne 0x1005e000
push ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0x18], al
mov dword [ebp - 0x10], eax
call fcn.10063d50
push 0x104
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.100bb8d0
lea eax, [ebp - 0x11c]
push eax
call fcn.100bae90
push 0x208
lea eax, [ebp - 0x728]
push 0
push eax
call fcn.100c3490
push 0x208
lea eax, [ebp - 0x930]
push 0
push eax
call fcn.100c3490
add esp, 0x28
lea eax, [ebp - 0x728]
push 0x104
push eax
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call esi
push 0x104
lea eax, [ebp - 0x930]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
call esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [ebp - 0x728]
push eax
call esi
mov ebx, eax
lea eax, [ebp - 0x930]
push eax
mov dword [ebp + 0xc], ebx
call esi
mov esi, eax
mov dword [ebp + 0x10], esi
test ebx, ebx
je 0x1005dfb0
test esi, esi
je 0x1005dfb0
lea eax, [ebp - 4]
push eax
push 0x1024f660
push 1
push 0
push 0x1024f650
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x1005dff2
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1005dff2
xor esi, esi
lea ecx, [ecx]
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
push ecx
call dword [eax + 0x18]
mov ebx, eax
test ebx, ebx
js 0x1005dea1
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1005deca
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 8
jge 0x1005deb7
mov ecx, dword [ebp - 4]
jmp 0x1005de80
test ebx, ebx
js 0x1005dfef
mov eax, dword [ebp - 8]
test eax, eax
je 0x1005dfef
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0x10]
push edi
push 3
mov eax, dword [ecx]
push esi
push dword [ebp + 0xc]
push ecx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
js 0x1005dff2
lea eax, [ebp - 0x320]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1005dff2
push 0x100
lea eax, [ebp - 0x21c]
push eax
push 0
push edi
call fcn.100b93e0
add esp, 0x10
test al, al
je 0x1005dff2
push 0
push str.PlayTasks
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x320]
push eax
push str._sMicrosoftWindowsGameExplorer_s_s_d
lea eax, [ebp - 0x520]
push 0x200
push eax
call fcn.1005fb70
add esp, 0x1c
lea eax, [ebp - 0x520]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push str.Launch
lea eax, [ebp - 0x520]
push eax
push str._s_s.lnk
lea eax, [ebp - 0xb30]
push 0x200
push eax
call fcn.1005fb70
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0xb30]
add esp, 0x14
mov eax, dword [ecx]
push 0
push 0
push 0x1024cb86
push dword [ebp + 8]
push edx
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
jmp 0x1005dfc2
mov eax, dword [ebp + 0xc]
mov ebx, 0x8007000e
test eax, eax
jne 0x1005dff5
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x1005dfc9
push esi
call edi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1005dfd6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x18]
call fcn.10061b00
shr ebx, 0x1f
xor bl, 1
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
jmp 0x1005dfc2
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc