Function at 0x5ce620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76620a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov dword [ebp - 0x94], 0
lea eax, [ebp - 0x9d]
mov dword [ebp - 0x9c], eax
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041c8f0
mov dword [ebp - 4], 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x5ce82a
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.005d6190
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jbe 0x5ce806
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x10]
ja 0x5ce806
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.005db930
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
sub edx, 1
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x18]
jbe 0x5ce70b
call fcn.0048d4e7
xor ecx, ecx
jne 0x5ce70b
cmp dword [ebp - 0x14], 0x10
jb 0x5ce720
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x114], edx
jmp 0x5ce729
lea eax, [ebp - 0x28]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
add ecx, dword [ebp - 0xb4]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x5ce79a
mov dword [ebp - 0x118], 0x7975c8
mov eax, dword [ebp - 0x118]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx]
mov byte [ebp - 0x11d], dl
add dword [ebp - 0x118], 1
cmp byte [ebp - 0x11d], 0
jne 0x5ce756
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
push 0x7975c8
lea ecx, [ebp - 0x2c]
call fcn.0044beb8
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0041c8f0
mov edx, dword [0x7d4aa0]
push edx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c6d0
mov ecx, dword [ebp - 0x94]
or ecx, 1
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 1
movzx edx, byte [ebp - 0x34]
test edx, edx
je 0x5ce7ee
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00481e6e
add esp, 4
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041c8f0
mov eax, dword [ebp + 8]
jmp 0x5ce8eb
mov byte [ebp - 4], 1
movzx edx, byte [ebp - 0x34]
test edx, edx
je 0x5ce82a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.00481e6e
add esp, 4
lea edx, [ebp - 0xd5]
mov dword [ebp - 0xd4], edx
push 0
push 0
lea ecx, [ebp - 0x90]
call fcn.0041c8f0
mov dword [ebp - 0x128], str.Cannot_get_current_directory
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x128]
mov dl, byte [ecx]
mov byte [ebp - 0x12d], dl
add dword [ebp - 0x128], 1
cmp byte [ebp - 0x12d], 0
jne 0x5ce85e
mov eax, dword [ebp - 0x128]
sub eax, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
push ecx
push str.Cannot_get_current_directory
lea ecx, [ebp - 0x90]
call fcn.0041c1a0
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x74]
call fcn.005c9b20
push 0x827c60
lea eax, [ebp - 0x74]
push eax
call fcn.0048d568
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x90]
call fcn.0041c8f0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041c8f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret