Function at 0x485b0c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffa0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
mov eax, 0x4a2c28
call fcn.0048dd88
push esi
push edi
call fcn.0048d89c
add esp, 8
test eax, eax
jne 0x485b4c
xor eax, eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x485dfa
xor ebx, ebx
lea eax, [ebp - 0x1060]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
xor edx, edx
mov dl, byte [ebp - 0x1060]
mov dword [ebp - 0xc4c], edx
push dword [ebp - 0xc4c]
call fcn.0049193c
pop ecx
mov dword [ebp - 0xc48], eax
xor ecx, ecx
mov cl, byte [ebp - 0x1060]
cmp ecx, 0x5c
je 0x485c00
xor eax, eax
mov al, byte [esi]
cmp eax, 0x5c
je 0x485c00
xor edx, edx
mov dl, byte [edi]
cmp edx, 0x5c
je 0x485c00
xor ecx, ecx
mov cl, byte [esi]
mov dword [ebp - 0xc54], ecx
push dword [ebp - 0xc54]
call fcn.0049193c
pop ecx
mov dword [ebp - 0xc50], eax
xor eax, eax
mov al, byte [edi]
mov dword [ebp - 0xc58], eax
push dword [ebp - 0xc58]
call fcn.0049193c
pop ecx
xor edx, edx
mov dl, byte [esi + 1]
cmp edx, 0x3a
je 0x485be6
mov ecx, dword [ebp - 0xc48]
mov dword [ebp - 0xc50], ecx
xor edx, edx
mov dl, byte [edi + 1]
cmp edx, 0x3a
je 0x485bf6
mov eax, dword [ebp - 0xc48]
cmp eax, dword [ebp - 0xc50]
je 0x485c00
mov bl, 1
xor edx, edx
mov eax, edi
call fcn.0040a0c8
test al, al
je 0x485ce2
mov word [ebp - 0xc34], 8
lea eax, [ebp - 0xc20]
call fcn.00409020
inc dword [ebp - 0xc28]
mov word [ebp - 0xc34], 0x14
push 0
push 1
lea eax, [ebp - 0xc20]
xor ecx, ecx
mov edx, edi
call fcn.00409118
test al, al
je 0x485c5a
lea eax, [ebp - 0xc20]
call fcn.004093cc
test al, al
jne 0x485c89
mov eax, 0xf
mov edx, 2
push eax
lea eax, [ebp - 0xc20]
dec dword [ebp - 0xc28]
call fcn.004090d0
pop eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x485dfa
mov eax, edi
call fcn.0040a8f4
test al, al
jne 0x485cc3
mov eax, 0xf
mov edx, 2
push eax
lea eax, [ebp - 0xc20]
dec dword [ebp - 0xc28]
call fcn.004090d0
pop eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x485dfa
dec dword [ebp - 0xc28]
lea eax, [ebp - 0xc20]
mov edx, 2
call fcn.004090d0
mov word [ebp - 0xc34], 0
test bl, bl
jne 0x485cfe
push 0
mov ecx, edi
xor edx, edx
mov eax, esi
call fcn.0040a89c
xor ebx, ebx
mov bl, al
cmp ebx, 1
sbb ebx, ebx
neg ebx
test bl, bl
je 0x485deb
push 0x4a2bf4
push esi
call fcn.0048f890
add esp, 8
mov dword [ebp - 0xc5c], eax
test eax, eax
jne 0x485d47
mov eax, 0x4a69f4
mov ecx, esi
mov edx, dword [0x4da0ec]
call fcn.00429650
mov eax, 0xa
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x485dfa
push 0x4a2bf7
push edi
call fcn.0048f890
add esp, 8
mov dword [ebp - 0xc60], eax
test eax, eax
jne 0x485d7f
push dword [ebp - 0xc5c]
call fcn.0048f394
pop ecx
mov eax, 0xf
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x485dfa
or ecx, 0xffffffff
mov edx, dword [ebp - 0xc60]
mov eax, dword [ebp - 0xc5c]
call fcn.00485e4c
push dword [ebp - 0xc5c]
mov ebx, eax
call fcn.0048f394
pop ecx
push dword [ebp - 0xc60]
call fcn.0048f394
pop ecx
test eax, eax
jne 0x485db5
test ebx, ebx
je 0x485de4
mov eax, edi
call fcn.0040a8f4
test ebx, ebx
je 0x485dd0
cmp ebx, 0xa
jne 0x485dcc
mov eax, 0xe
jmp 0x485dd5
mov eax, ebx
jmp 0x485dd5
mov eax, 0xe
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
jmp 0x485dfa
mov eax, esi
call fcn.0040a8f4
xor eax, eax
mov edx, dword [ebp - 0xc44]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret