Function at 0x1016db98
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x101b4263
call fcn.10188248
mov ebx, ecx
mov dword [ebp - 0x234], ebx
call fcn.10135eb4
push 0x1c4
call fcn.10057b31
pop ecx
mov dword [ebp - 0x230], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x1016dbdb
push esi
push dword [ebx + 0x60]
mov ecx, eax
call fcn.1013bed2
jmp 0x1016dbdd
mov eax, esi
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.10134f9d
call fcn.10060697
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call fcn.1018fac9
mov edi, eax
pop ecx
push 0x5c
pop eax
mov word [ebp + edi*2 - 0x218], ax
inc edi
mov dword [ebp - 0x230], edi
lea eax, [edi + edi]
cmp eax, 0x208
jae 0x1016de35
xor ecx, ecx
mov dword [ebp - 0x22c], esi
mov word [ebp + eax - 0x218], cx
test ebx, ebx
je 0x1016de2f
mov dword [ebp - 0x224], esi
cmp dword [ebx + 4], esi
jle 0x1016de2f
lea ecx, [ebp - 0x21c]
call fcn.10044e50
mov eax, dword [ebx]
push 1
push edi
mov dword [ebp - 4], 1
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call dword [fcn.101b7954]
mov ecx, ebx
call esi
test eax, eax
je 0x1016de07
mov edi, 0x101c232c
lea ecx, [ebp - 0x21c]
push edi
mov esi, 0x101c2334
push esi
call fcn.1007bae8
push esi
push 0x101c0308
lea ecx, [ebp - 0x21c]
call fcn.1007bae8
push esi
push edi
lea ecx, [ebp - 0x21c]
call fcn.1007bae8
lea ecx, [ebp - 0x228]
call fcn.10044e50
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x1016dd0c
push dword [ebp - 0x21c]
lea eax, [ebp - 0x228]
push 0x101de2f8
push eax
call fcn.100459d0
add esp, 0xc
jmp 0x1016dd3e
jge 0x1016dd2c
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x228]
push 0x101c2670
push eax
call fcn.100459d0
add esp, 0x10
jmp 0x1016dd3e
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.1004ab10
push 0x1c4
call fcn.10057b31
pop ecx
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x1016dd60
mov ecx, eax
call fcn.100a4905
jmp 0x1016dd62
xor eax, eax
mov esi, dword [ebp - 0x228]
mov dword [ebp - 0x220], eax
mov eax, dword [eax]
push esi
mov byte [ebp - 4], 2
mov edi, dword [eax + 0xb4]
mov ecx, edi
call dword [fcn.101b7954]
mov ecx, dword [ebp - 0x220]
call edi
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx]
mov edi, dword [eax + 0xb0]
mov ecx, edi
mov eax, dword [ebp - 0x224]
add eax, 0xe110
push eax
call dword [fcn.101b7954]
mov ecx, dword [ebp - 0x220]
call edi
mov ecx, dword [ebp - 0x220]
push dword [ebp - 0x224]
mov eax, dword [ecx]
mov ecx, ebx
mov edi, dword [eax + 0xc8]
call fcn.1006f52d
mov ecx, edi
push dword [eax]
call dword [fcn.101b7954]
mov ecx, dword [ebp - 0x220]
call edi
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
call fcn.10134f9d
inc dword [ebp - 0x22c]
lea ecx, [esi - 0x10]
call fcn.10041a50
mov edi, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10041a50
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x224], eax
cmp eax, dword [ebx + 4]
jl 0x1016dc5f
call fcn.101881f7
ret
call fcn.101884b2
int3