Function at 0x2cd8b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x30af7e
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x324014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x11c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 1
call fcn.002c8180
cmp eax, 0x11
je 0x2cdac1
cmp eax, 0x10
je 0x2cdac1
cmp eax, 2
je 0x2cdac1
sub esp, 0x18
mov ecx, esp
push 0x3251c0
call fcn.002d84d0
lea ecx, [ebp - 0x16c]
call fcn.002c5ec0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 3
push eax
push 0x104
call dword [0x311090]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x138], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x2cd993
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.002d8cf0
mov dword [ebp - 0x11c], 3
push esi
lea edx, [ebp - 0x138]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
call fcn.002d8e50
add esp, 4
mov ecx, edi
push eax
call fcn.002d8410
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x2cda14
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2cda0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2cdbc1
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x2cda69
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2cda5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2cdbc1
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp edx, 0x10
jb 0x2cdba4
mov ecx, dword [ebp - 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2cdb9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2cdbc1
jmp 0x2cdb9a
sub esp, 0x18
mov ecx, esp
push 0x3251c0
call fcn.002d84d0
lea ecx, [ebp - 0x16c]
call fcn.002c5ec0
mov esi, eax
lea ecx, [ebp - 0x138]
mov dword [ebp - 4], 1
call fcn.002c93d0
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.002d8e50
add esp, 0x1c
mov ecx, edi
push eax
call fcn.002d8410
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x2cdb46
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2cdb3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2cdbc1
push edx
push ecx
call fcn.002de298
add esp, 8
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp edx, 0x10
jb 0x2cda69
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x2cda5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2cdbc1
jmp 0x2cda5f
push edx
push ecx
call fcn.002de298
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.002ddc21
mov esp, ebp
pop ebp
ret
call fcn.002f789a
int3