Function at 0x1c60b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.01c59f50
mov ecx, eax
push str.enable_logging
call fcn.01c5a410
test al, al
je 0x1c60dc0
mov bl, 1
cmp dword [0x1d0976c], 0
jne 0x1c60dc2
mov esi, dword [0x1d0975c]
test esi, esi
jne 0x1c60c9a
push 0xc
call fcn.01cb30d6
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01cb76e0
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esi], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], 0xffffffff
push edi
call fcn.01ccde34
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1c60dd9
mov ebx, eax
cmp eax, 5
jae 0x1c60bf9
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x1c60c1f
jmp 0x1c60c32
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.01cb30d6
add esp, 4
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
lea edi, [ebp - 0x218]
mov dword [esi + 4], ebx
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.01cb6be0
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c60c43
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.01c412b0
cmp eax, 0xffffffff
mov bl, 1
je 0x1c60c88
lea ecx, [eax + 1]
movzx edx, byte [esi + 0xb]
test dl, dl
js 0x1c60c73
cmp eax, edx
jae 0x1c60de0
mov word [esi + eax*2 + 2], 0
mov byte [esi + 0xb], cl
jmp 0x1c60c88
cmp dword [esi + 4], eax
jbe 0x1c60de0
mov edx, dword [esi]
mov word [edx + eax*2 + 2], 0
mov dword [esi + 4], ecx
mov ecx, esi
push str.debug.log
call fcn.01c414d0
mov dword [0x1d0975c], esi
test byte [0x1d02180], 1
je 0x1c60dc2
cmp byte [esi + 0xb], 0
jns 0x1c60caf
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1ce8ba0]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1d0976c], eax
add eax, 1
cmp eax, 1
ja 0x1c60dc2
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.01cb76e0
add esp, 0xc
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1c60dc0
cmp eax, 0x104
ja 0x1c60dc0
mov ecx, dword [0x1d0975c]
push esi
call fcn.01c3e920
mov ecx, dword [0x1d0975c]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x1c60d4d
mov edx, ecx
jmp 0x1c60d52
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x1c60d6a
push 0x1ce3b8e
call fcn.01c414d0
mov ecx, dword [0x1d0975c]
push str.debug.log
call fcn.01c414d0
mov eax, dword [0x1d0975c]
cmp byte [eax + 0xb], 0
jns 0x1c60d81
mov eax, dword [eax]
movaps xmm0, xmmword [0x1ce8ba0]
sub esp, 0x1c
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1d0976c], eax
add eax, 1
cmp eax, 1
ja 0x1c60dc2
mov dword [0x1d0976c], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c3fd04
mov ecx, esi
call fcn.01c3fd12
int3