Function at 0x10118861
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x1015f979
call fcn.10144177
mov ebx, ecx
mov dword [ebp - 0x234], ebx
call fcn.1012bf25
push 0x1c4
call fcn.10008ce0
pop ecx
mov dword [ebp - 0x230], eax
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
je 0x101188a4
push esi
push dword [ebx + 0x60]
mov ecx, eax
call fcn.1012c66d
jmp 0x101188a6
mov eax, esi
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.1012afea
call fcn.1000ebcf
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 sub.msvcrt.dll_wcslen
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 0x10118afe
xor ecx, ecx
mov dword [ebp - 0x22c], esi
mov word [ebp + eax - 0x218], cx
test ebx, ebx
je 0x10118af8
mov dword [ebp - 0x224], esi
cmp dword [ebx + 4], esi
jle 0x10118af8
lea ecx, [ebp - 0x21c]
call fcn.10008e73
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 [0x10162a70]
mov ecx, ebx
call esi
test eax, eax
je 0x10118ad0
mov edi, 0x101715a0
lea ecx, [ebp - 0x21c]
push edi
mov esi, 0x101715a8
push esi
call fcn.1003fb64
push esi
push 0x1016dda8
lea ecx, [ebp - 0x21c]
call fcn.1003fb64
push esi
push edi
lea ecx, [ebp - 0x21c]
call fcn.1003fb64
lea ecx, [ebp - 0x228]
call fcn.10008e73
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x101189d5
push dword [ebp - 0x21c]
lea eax, [ebp - 0x228]
push str.10__Ts
push eax
call fcn.10009a81
add esp, 0xc
jmp 0x10118a07
jge 0x101189f5
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x228]
push str._d__Ts
push eax
call fcn.10009a81
add esp, 0x10
jmp 0x10118a07
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x228]
call fcn.10009337
push 0x1c4
call fcn.10008ce0
pop ecx
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x10118a29
mov ecx, eax
call fcn.100c571d
jmp 0x10118a2b
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 [0x10162a70]
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 [0x10162a70]
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.1000cd99
mov ecx, edi
push dword [eax]
call dword [0x10162a70]
mov ecx, dword [ebp - 0x220]
call edi
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x234]
call fcn.1012afea
inc dword [ebp - 0x22c]
lea ecx, [esi - 0x10]
call fcn.1000a420
mov edi, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.1000a420
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x224], eax
cmp eax, dword [ebx + 4]
jl 0x10118928
call fcn.10144126
ret
call fcn.101446a1
int3