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

Disassembly:
mov eax, dword [0x728c0c]
mov ecx, dword [eax - 4]
sub esp, 0xc
push ebx
push esi
xor esi, esi
cmp ecx, esi
jne 0x4f2dc7
mov ecx, dword [eax - 8]
push edi
mov edi, 0x104
cmp ecx, edi
jge 0x4f2bc9
mov eax, 0x11f
mov ecx, 0x728c0c
call fcn.004f49c0
mov eax, dword [0x728c0c]
mov dword [eax - 4], edi
mov ecx, dword [0x728c0c]
mov dword [ecx - 4], esi
mov eax, dword [0x728c0c]
push 1
push 5
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4f2db1
mov edx, dword [0x728c0c]
mov ebx, 0x8cccd0
mov eax, edx
mov dword [esp + 0x10], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f2bf1
sub eax, esi
mov dword [edx - 4], eax
mov eax, dword [0x728c0c]
mov edx, dword [eax - 4]
cmp byte [eax + edx - 1], 0x5c
push ebp
je 0x4f2c52
mov ebp, edx
test ebp, ebp
mov byte [esp + 0x10], 0x5c
jl 0x4f2c52
lea esi, [ebp + 1]
cmp esi, ebp
jle 0x4f2c3f
mov edi, 0x728c0c
call fcn.004f4a30
mov eax, dword [0x728c0c]
mov ecx, dword [eax - 4]
mov byte [eax + ecx], 0
mov eax, dword [0x728c0c]
mov edi, 0x104
push 1
lea edx, [esp + 0x14]
push edx
add eax, ebp
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
push str.My_Games_
mov eax, 0x728c0c
call fcn.00412e50
mov eax, dword [0x728c0c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [0x8cccc8], edi
jge 0x4f2c92
mov esi, dword [0x8ccccc]
mov eax, 0x11f
lea ecx, [esp + 0x14]
call fcn.004f49c0
mov ebx, dword [esp + 0x14]
mov dword [ebx - 4], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f2ca0
sub eax, edx
mov dword [ebx - 4], eax
je 0x4f2cd0
lea eax, [eax + ebx - 1]
xor ecx, ecx
cmp eax, ebx
jb 0x4f2cd0
cmp byte [eax], 0x5c
jne 0x4f2cc4
mov ecx, eax
dec eax
cmp eax, ebx
jae 0x4f2cb8
test ecx, ecx
je 0x4f2cd0
mov byte [ecx], 0
sub ecx, ebx
mov dword [ebx - 4], ecx
mov eax, dword [ebx - 4]
lea esi, [eax - 1]
cmp esi, eax
jge 0x4f2d41
test esi, esi
jl 0x4f2d41
mov cl, byte [esi + ebx]
push 0x5c
push ebx
mov byte [esp + 0x18], cl
mov byte [esi + ebx], 0
call dword [sym.imp.MSVCR71.dll_strrchr]
mov dl, byte [esp + 0x18]
add esp, 8
test eax, eax
mov byte [esi + ebx], dl
je 0x4f2d41
sub eax, ebx
test eax, eax
jl 0x4f2d41
mov ecx, dword [ebx - 4]
lea edx, [eax + 1]
sub ecx, edx
lea edi, [esp + 0x18]
lea ebx, [esp + 0x14]
call fcn.004f2f20
mov eax, edi
mov ecx, ebx
call fcn.00412ec0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff8
je 0x4f2d3d
cmp eax, 0x8cccc8
je 0x4f2d3d
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x10], 0x5c
mov ebp, dword [ebx - 4]
test ebp, ebp
jl 0x4f2d7b
lea esi, [ebp + 1]
cmp esi, ebp
jle 0x4f2d68
lea edi, [esp + 0x14]
call fcn.004f4a30
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx - 4]
mov byte [ebx + eax], 0
push 1
lea ecx, [esp + 0x14]
push ecx
add ebp, ebx
push ebp
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, 0x728c0c
call fcn.00489260
mov edx, dword [0x728c0c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add ebx, 0xfffffff8
pop ebp
je 0x4f2dc6
cmp ebx, 0x8cccc8
je 0x4f2dc6
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x4f2dc6
mov eax, dword [0x728c0c]
cmp dword [eax - 4], esi
je 0x4f2dc6
mov byte [eax], 0
mov eax, dword [0x728c0c]
mov dword [eax - 4], esi
pop edi
mov esi, dword [esp + 0x18]
mov eax, 0x728c0c
mov ecx, esi
call fcn.00412df0
mov eax, esi
pop esi
pop ebx
add esp, 0xc
ret