Function at 0x100eb05
Capabilities:
Get common file path

Disassembly:
push 0x21c
mov eax, 0x1031062
call fcn.0100a149
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x224], ebx
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 4], eax
mov dword [ebx], eax
push 0x208
push eax
lea eax, [ebp - 0x21a]
xor ecx, ecx
push eax
mov byte [ebp - 4], 1
mov word [ebp - 0x21c], cx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1004b50
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x220], eax
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
jne 0x100eb7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100eb77
and eax, edi
or eax, esi
push eax
call fcn.0101cfae
push 0x1004b34
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100eccd
mov ebx, 0x104
push ebx
lea ecx, [ebp - 0x21c]
push ecx
call eax
push dword [ebp - 0x220]
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x228], 0
je 0x100ec35
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.0100ea7c
push 0x1004b14
lea ecx, [ebp - 0x220]
call fcn.0100e8c1
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0100eabe
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100ec09
call fcn.01008f06
lea eax, [ebp - 0x21c]
add esi, 4
push eax
mov ecx, esi
call fcn.0100ea7c
push 0x1004af8
lea ecx, [ebp - 0x220]
call fcn.0100e8c1
mov byte [ebp - 4], 3
mov ecx, esi
jmp 0x100ed62
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x100ed89
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100ed83
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.0100ea7c
push 0x1004ac4
lea ecx, [ebp - 0x220]
call fcn.0100e8c1
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0100eabe
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100eca3
call fcn.01008f06
lea eax, [ebp - 0x21c]
add esi, 4
push eax
mov ecx, esi
call fcn.0100ea7c
push 0x1004a98
lea ecx, [ebp - 0x220]
call fcn.0100e8c1
mov byte [ebp - 4], 5
jmp 0x100ec2e
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x100ed83
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push eax
call fcn.0100ea7c
push 0x1004ac4
lea ecx, [ebp - 0x220]
call fcn.0100e8c1
mov ecx, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 6
call fcn.0100eabe
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100ed3e
call fcn.01008f06
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.0100ea7c
push 0x1004a98
lea ecx, [ebp - 0x220]
call fcn.0100e8c1
mov byte [ebp - 4], 7
mov ecx, ebx
lea eax, [ebp - 0x220]
push eax
call fcn.0100eabe
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100ed97
call fcn.01008f06
jmp 0x100ed97
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100ed91
and eax, edi
or eax, esi
push eax
call fcn.0101cfae
mov esi, dword [ebp - 0x224]
mov eax, dword [esi]
xor ecx, ecx
test eax, eax
je 0x100edac
cmp dword [eax], ecx
sete cl
jmp 0x100edad
inc ecx
test cl, cl
jne 0x100edc6
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
je 0x100edc1
cmp dword [eax], ecx
sete cl
jmp 0x100edc2
inc ecx
test cl, cl
je 0x100edd0
push 0x8007000e
call fcn.0101cfae
mov eax, esi
call fcn.0100a1db
ret