Function at 0x5350d7
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x5996e9
call fcn.0056cbd2
mov ebx, ecx
mov dword [ebp - 0x234], ebx
call fcn.00515a8c
push 0x1c4
call fcn.00422db7
pop ecx
mov dword [ebp - 0x230], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x53511a
push esi
push dword [ebx + 0x60]
mov ecx, eax
call fcn.0054aca1
jmp 0x53511c
mov eax, esi
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.00514b76
call fcn.0042dfe1
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.00578344
pop ecx
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x218], cx
inc eax
mov dword [ebp - 0x230], eax
add eax, eax
cmp eax, 0x208
jae 0x535378
xor ecx, ecx
mov dword [ebp - 0x22c], esi
mov word [ebp + eax - 0x218], cx
test ebx, ebx
je 0x535372
mov edi, esi
mov dword [ebp - 0x228], esi
cmp dword [ebx + 4], esi
jle 0x535372
call fcn.0042dad5
push eax
lea ecx, [ebp - 0x21c]
call fcn.00422e12
mov esi, dword [ebx]
lea eax, [ebp - 0x218]
push 1
push dword [ebp - 0x230]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0xc]
push eax
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [0x59da0c]
mov ecx, ebx
call dword [esi + 0xc]
test eax, eax
je 0x535350
mov edi, 0x5a1c04
lea ecx, [ebp - 0x21c]
push edi
mov esi, 0x5a1c0c
push esi
call fcn.0042bb3e
push esi
push 0x5a0a5c
lea ecx, [ebp - 0x21c]
call fcn.0042bb3e
push esi
push edi
lea ecx, [ebp - 0x21c]
call fcn.0042bb3e
call fcn.0042dad5
push eax
lea ecx, [ebp - 0x224]
call fcn.00422e12
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x535255
push dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
push str.10__Ts
push eax
call fcn.004265fe
add esp, 0xc
jmp 0x535287
jge 0x535275
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x224]
push str._d__Ts
push eax
call fcn.004265fe
add esp, 0x10
jmp 0x535287
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00423107
push 0x1c4
call fcn.00422db7
pop ecx
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x5352a9
mov ecx, eax
call fcn.00501a86
jmp 0x5352ab
xor eax, eax
mov esi, dword [ebp - 0x224]
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 [0x59da0c]
mov ecx, dword [ebp - 0x220]
call edi
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x228]
add eax, 0xe110
push eax
mov edi, dword [ecx + 0xb0]
mov ecx, edi
call dword [0x59da0c]
mov ecx, dword [ebp - 0x220]
call edi
mov eax, dword [ebp - 0x220]
mov ecx, ebx
push dword [ebp - 0x228]
mov edi, dword [eax]
call fcn.0042999c
mov edi, dword [edi + 0xc8]
mov ecx, edi
push dword [eax]
call dword [0x59da0c]
mov ecx, dword [ebp - 0x220]
call edi
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
call fcn.00514b76
inc dword [ebp - 0x22c]
lea ecx, [esi - 0x10]
call fcn.0041ea50
mov edi, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0041ea50
inc edi
mov dword [ebp - 0x228], edi
cmp edi, dword [ebx + 4]
jl 0x53519d
call fcn.0056cb7c
ret
call fcn.0056ca8d
int3