Function at 0x4cddf0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4fc311
mov eax, dword fs:[0]
push eax
mov eax, 0x3054
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x3050], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x514bc0]
xor eax, esp
push eax
lea eax, [esp + 0x3068]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x3078]
mov ebx, dword [esp + 0x307c]
mov ecx, ebx
mov eax, ebp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4cde6e
test dx, dx
je 0x4cde67
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4cde6e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4cde45
xor eax, eax
or esi, 0xffffffff
jmp 0x4cde77
sbb eax, eax
mov esi, 0xffffffff
sbb eax, esi
test eax, eax
je 0x4ce0e1
lea eax, [esp + 0x2064]
push eax
push 0x800
mov byte [esp + 0x1f], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [esp + 0x2064]
push ecx
call fcn.004e7b79
add esp, 4
cmp word [esp + 0x2064], 0x5c
mov edi, eax
je 0x4cdefe
movzx eax, word [ebx]
cmp ax, 0x5c
je 0x4cdefe
cmp word [ebp], 0x5c
je 0x4cdefe
movzx edx, ax
push edx
call fcn.004e7b79
mov esi, eax
movzx eax, word [ebp]
push eax
call fcn.004e7b79
mov ecx, 0x3a
add esp, 8
cmp word [ebx + 2], cx
je 0x4cdeea
mov esi, edi
cmp word [ebp + 2], cx
je 0x4cdef2
mov eax, edi
cmp esi, eax
je 0x4cdefb
mov byte [esp + 0x17], 1
or esi, 0xffffffff
push ebp
call fcn.00443cc0
test al, al
je 0x4cdf5f
lea ecx, [esp + 0x1c]
call fcn.004426b0
mov dword [esp + 0x3070], 0
push 1
push ebp
lea ecx, [esp + 0x24]
call fcn.00442730
test al, al
je 0x4ce012
lea ecx, [esp + 0x1c]
call fcn.00442a00
test al, al
je 0x4ce012
push ebp
call fcn.00443910
test al, al
je 0x4ce012
mov dword [esp + 0x3070], esi
lea ecx, [esp + 0x1c]
call fcn.00442e00
cmp byte [esp + 0x17], 0
jne 0x4cdf7a
push ebp
push ebx
call fcn.00443870
test al, al
sete al
test al, al
je 0x4ce0e1
lea ecx, [esp + 0x1c]
call fcn.004426b0
mov dword [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.004426b0
mov byte [esp + 0x3070], 2
push 0
push ebx
lea ecx, [esp + 0x24]
call fcn.00442730
test al, al
jne 0x4cdfeb
push ebx
mov ecx, 0x52c138
call fcn.0043e1b0
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.00442e00
mov dword [esp + 0x3070], esi
lea ecx, [esp + 0x1c]
call fcn.00442e00
mov eax, 0xa
jmp 0x4ce0e3
push 0x12
push ebp
lea ecx, [esp + 0x1048]
call fcn.004428c0
test al, al
jne 0x4ce02c
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.00442e00
mov dword [esp + 0x3070], esi
lea ecx, [esp + 0x1c]
call fcn.00442e00
mov eax, 0xf
jmp 0x4ce0e3
push 0
mov ecx, 0x52c138
call fcn.0043dba0
push esi
push esi
lea ecx, [esp + 0x1048]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
call fcn.004cdc90
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00442a00
lea ecx, [esp + 0x1040]
call fcn.00442a00
push 1
mov ecx, 0x52c138
call fcn.0043dba0
test esi, esi
je 0x4ce0b3
push ebp
call fcn.00443910
cmp esi, 0xa
jne 0x4ce087
mov esi, 0xe
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.00442e00
mov dword [esp + 0x3070], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00442e00
mov eax, esi
jmp 0x4ce0e3
push ebx
call fcn.00443910
mov byte [esp + 0x3070], 1
lea ecx, [esp + 0x1040]
call fcn.00442e00
mov dword [esp + 0x3070], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00442e00
xor eax, eax
mov ecx, dword [esp + 0x3068]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3050]
xor ecx, esp
call fcn.004e34f4
add esp, 0x3060
ret 8