Function at 0x42a6fd
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x56a246
call fcn.00524444
mov eax, 0x2268
call fcn.00524e70
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push str.Project_
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
call fcn.0053ebbd
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
call fcn.00540041
mov eax, dword [0x61d784]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
mov edi, 0x180
mov byte [ebp - 4], 4
push ebx
push edi
push dword [esi + 0x7c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
call esi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1270]
call fcn.00404989
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1270]
push eax
call fcn.00404a99
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0053ec88
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0053eb4f
push ebx
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x64]
call fcn.005400b6
test eax, eax
je 0x42aa1d
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x26c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x42a7c8
mov byte [ebp - 0x26c], bl
cmp esi, ebx
je 0x42a7d7
cmp byte [esi], bl
je 0x42a7d7
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x1270]
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], ebx
call fcn.00407702
mov esi, eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x1270]
push eax
mov byte [ebp - 4], 7
call fcn.00404a99
push esi
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
call fcn.0053ed7e
push str..prw
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 9
push eax
call fcn.0053ede4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call fcn.0053eb4f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.0053eb4f
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.0053eb4f
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x18]
push eax
call fcn.0053e8c4
mov eax, dword [0x61d784]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xf
call fcn.00540299
test eax, eax
je 0x42a9d7
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x28], eax
call fcn.00525390
push eax
push dword [ebp - 0x28]
push edi
call fcn.005252e0
add esp, 0x10
test eax, eax
jne 0x42a9c3
push 0x3d
push dword [ebp - 0x10]
call fcn.00526800
pop ecx
cmp eax, ebx
pop ecx
je 0x42a8b8
push 0x2c
push eax
call fcn.00526800
pop ecx
pop ecx
mov ecx, eax
inc eax
test ecx, ecx
je 0x42a9c3
cmp byte [eax], 0x20
jne 0x42a8cb
inc eax
jmp 0x42a8c3
cmp byte [eax], 0x22
jne 0x42a8d1
inc eax
push 0x22
push eax
mov edi, eax
call fcn.00526800
pop ecx
cmp eax, ebx
pop ecx
jne 0x42a8ef
push 0x20
push edi
call fcn.00526800
pop ecx
cmp eax, ebx
pop ecx
je 0x42a8f1
mov byte [eax], bl
mov eax, dword [ebp - 0x20]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push 0x5bd950
push eax
call fcn.0053ae0a
add esp, 0xc
lea ecx, [ebp - 0x2274]
push edi
call fcn.00404989
push dword [ebp + 0xc]
push 0x5bfedc
push 0x5bfed0
push str.ues.id
call esi
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x2274]
push eax
call fcn.00407702
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x2274]
push eax
mov byte [ebp - 4], 0x10
call fcn.00404a99
push dword [ebp - 0x28]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0053ed7e
push 0x5bfd50
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x12
push eax
call fcn.0053ede4
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
push dword [ebp - 0x24]
push str.WorkSpace
call esi
lea ecx, [ebp - 0x44]
call fcn.0053eb4f
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.0053eb4f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.0053eb4f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xf
call fcn.0053eb4f
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00429c35
lea ecx, [ebp - 0x40]
call fcn.0053eb4f
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x64]
push eax
call fcn.00540299
test eax, eax
jne 0x42a87a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0053e8c4
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xe
call fcn.0053eb4f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.0053eb4f
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call fcn.0053eb4f
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x42aa55
lea eax, [ebp + 0xc]
push 0x87e6
push eax
call fcn.00402f3e
pop ecx
pop ecx
push dword [eax]
mov eax, dword [ebp - 0x2c]
push ebx
push edi
push dword [eax + 0x7c]
call esi
lea ecx, [ebp + 0xc]
call fcn.0053eb4f
mov ecx, dword [ebp + 8]
push 0x622c94
call fcn.0053ebbd
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0053eb4f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0053eb4f
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00540073
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0053eb4f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8