Function at 0x42ce98
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd54
mov dword [ebp - 0x9c], eax
mov eax, 0x7152e4
call fcn.00654e18
mov word [ebp - 0x88], 0xc
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x7c]
mov word [ebp - 0x88], 0x18
mov word [ebp - 0x88], 0x24
push 1
push 0
lea ecx, [ebp - 0x9d]
push ecx
call fcn.006548f7
add esp, 0xc
lea eax, [ebp - 0x9d]
mov dl, byte [eax]
push edx
xor ecx, ecx
mov dword [ebp - 8], ecx
lea eax, [ebp - 8]
push eax
inc dword [ebp - 0x7c]
xor edx, edx
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x14]
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x388]
call sym.gta.exe__TWMActionManager_rFileName_qqrv
lea eax, [ebp - 0x14]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0x7c]
call fcn.0048b2c4
lea eax, [ebp - 0x18]
push dword [eax]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x388]
call sym.gta.exe__TWMActionManager_rFileName_qqrv
lea eax, [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x10]
inc dword [ebp - 0x7c]
call fcn.0048b284
lea eax, [ebp - 0x10]
push dword [eax]
mov edx, 0x712f2e
lea eax, [ebp - 0x1c]
call fcn.006628f0
inc dword [ebp - 0x7c]
mov ecx, dword [eax]
pop eax
pop edx
call fcn.004914e0
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00662a80
mov word [ebp - 0x88], 0x18
push 1
push 0x17
lea ecx, [ebp - 0x2ac]
push ecx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathW
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax + 0x534]
mov eax, dword [ebp - 0x9c]
call fcn.004330c4
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 0x54c], 2
jge 0x42d177
mov word [ebp - 0x88], 0x30
mov edx, 0x712f2f
lea eax, [ebp - 0x24]
call fcn.006628f0
push eax
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x2ac]
lea eax, [ebp - 0x20]
call fcn.00662a1c
inc dword [ebp - 0x7c]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x7c]
pop edx
call fcn.00662ad0
lea eax, [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x9c]
add edx, 0x534
call fcn.00662ad0
lea eax, [ebp - 0x2c]
push eax
mov edx, 0x712f45
lea eax, [ebp - 0x30]
call fcn.006628f0
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
inc dword [ebp - 0x7c]
pop eax
call fcn.00662ad0
lea eax, [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x38]
inc dword [ebp - 0x7c]
lea edx, [ebp - 8]
call fcn.00662ad0
lea eax, [ebp - 0x38]
push eax
mov edx, 0x712f47
lea eax, [ebp - 0x3c]
call fcn.006628f0
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x40]
inc dword [ebp - 0x7c]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x40]
lea eax, [ebp - 4]
call fcn.00662aa8
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00662a80
jmp 0x42d384
mov word [ebp - 0x88], 0x3c
mov edx, 0x712f4c
lea eax, [ebp - 0x48]
call fcn.006628f0
push eax
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x2ac]
lea eax, [ebp - 0x44]
call fcn.00662a1c
inc dword [ebp - 0x7c]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x4c]
inc dword [ebp - 0x7c]
pop edx
call fcn.00662ad0
lea eax, [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x50], edx
lea ecx, [ebp - 0x50]
inc dword [ebp - 0x7c]
mov edx, dword [ebp - 0x9c]
add edx, 0x534
call fcn.00662ad0
lea eax, [ebp - 0x50]
push eax
mov edx, 0x712f62
lea eax, [ebp - 0x54]
call fcn.006628f0
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x58]
inc dword [ebp - 0x7c]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 0x54c]
mov dword [ebp - 0xa4], eax
xor edx, edx
mov dword [ebp - 0x5c], edx
push dword [ebp - 0xa4]
push 0x712f6c
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00662bd4
add esp, 0xc
lea edx, [ebp - 0x5c]
inc dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x60]
inc dword [ebp - 0x7c]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x60]
push edx
mov edx, 0x712f64
lea eax, [ebp - 0x64]
call fcn.006628f0
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x68]
inc dword [ebp - 0x7c]
pop eax
call fcn.00662ad0
lea eax, [ebp - 0x68]
xor edx, edx
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0x6c]
inc dword [ebp - 0x7c]
lea edx, [ebp - 8]
call fcn.00662ad0
lea eax, [ebp - 0x6c]
push eax
mov edx, str..lnk
lea eax, [ebp - 0x70]
call fcn.006628f0
inc dword [ebp - 0x7c]
lea edx, [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x74]
inc dword [ebp - 0x7c]
pop eax
call fcn.00662ad0
lea edx, [ebp - 0x74]
lea eax, [ebp - 4]
call fcn.00662aa8
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00662a80
mov eax, dword [ebp - 4]
call fcn.00661b68
dec dword [ebp - 0x7c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00662a80
dec dword [ebp - 0x7c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00662a80
mov ecx, dword [ebp - 0x98]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret