Function at 0x100147fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
and byte [ebp - 0x280], 0
push ebx
push esi
push edi
mov esi, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x27f]
push str.ManagerEx4.dll
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], esi
call edi
test eax, eax
jne 0x1001483e
push str.MANAGE1.dll
call edi
mov ebx, 0x104
lea ecx, [ebp - 0x280]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [esi + 0x1c]
test edi, edi
jne 0x1001485d
xor eax, eax
jmp 0x10014880
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.10016950
mov eax, esp
push 0
push esi
push edi
push eax
call fcn.100036f5
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001cfd
mov eax, dword [0x1001f030]
and byte [ebp - 0x17c], 0
push 0x40
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x17b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x17c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x17c]
test eax, eax
jne 0x100148cd
xor eax, eax
jmp 0x100148d6
lea eax, [ebp - 0x17c]
push eax
call edi
lea ecx, [ebp - 0x17c]
push ecx
push eax
lea ecx, [ebp - 0xc]
call fcn.1000438f
mov esi, str.Downloaded_Program_filesAU4.exe
mov eax, esi
test eax, eax
je 0x100148f4
push esi
call edi
push esi
push eax
lea ecx, [ebp - 0xc]
call fcn.10002009
lea eax, [ebp - 0x17c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x17c]
test eax, eax
jne 0x1001491a
xor esi, esi
jmp 0x10014925
lea eax, [ebp - 0x17c]
push eax
call edi
xor esi, esi
lea ecx, [ebp - 0x17c]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.1000438f
mov ebx, str.AU4.exe
mov eax, ebx
test eax, eax
je 0x10014943
push ebx
call edi
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.10002009
lea ecx, [ebp - 0x78]
call fcn.10014b3b
mov eax, dword [0x1001f030]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0x280]
mov ecx, esp
push eax
call fcn.10001cfd
lea ecx, [ebp - 0x78]
call fcn.10016093
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.10003f61
lea ecx, [ebp - 0x78]
call fcn.10016093
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.100167f8
pop ecx
test eax, eax
pop ecx
jne 0x100149b0
mov eax, dword [ebp - 4]
cmp dword [eax - 8], esi
jne 0x10014ad7
lea ecx, [ebp - 4]
call fcn.10001c80
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.10003f61
lea ecx, [ebp - 0x78]
call fcn.10016093
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.100167f8
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
pop ecx
test eax, eax
pop ecx
jne 0x100149f3
mov eax, dword [ebp - 4]
cmp dword [eax - 8], esi
jne 0x10014a8b
lea ecx, [ebp - 4]
call fcn.10001c80
lea eax, [ebp - 4]
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.10003f61
lea ecx, [ebp - 0x78]
call fcn.10016093
push dword [ebp - 4]
push dword [ebp - 0x10]
call fcn.100167f8
pop ecx
test eax, eax
pop ecx
jne 0x10014adb
mov eax, dword [ebp - 4]
cmp dword [eax - 8], esi
je 0x10014adb
mov eax, dword [ebp - 0x14]
cmp eax, esi
mov dword [ebp - 8], eax
jne 0x10014a43
mov dword [ebp - 8], esi
jmp 0x10014a71
push eax
call edi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10016950
mov eax, esp
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 0x20], eax
mov word [eax], cx
push ecx
push ecx
call ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x1c], eax
jmp 0x10014a8e
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
test eax, eax
mov dword [ebp - 8], eax
jne 0x10014a9c
xor edi, edi
jmp 0x10014ac4
push eax
call edi
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.10016950
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push dword [ebp - 8]
xor eax, eax
mov word [edi], ax
push eax
push eax
call ebx
mov esi, dword [ebp - 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi + 0x1c], eax
mov bl, 1
jmp 0x10014afe
push 0x10
push str.Error
push 0x10023b20
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x18]
push 0xffffffffffffffff
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor bl, bl
lea ecx, [ebp - 0x10]
call fcn.10001cd1
lea ecx, [ebp - 4]
call fcn.10001cd1
lea ecx, [ebp - 0x78]
call fcn.10014bbb
lea ecx, [ebp - 0x14]
call fcn.10001cd1
lea ecx, [ebp - 0xc]
call fcn.10001cd1
lea ecx, [ebp - 0x1c]
call fcn.10001cd1
lea esp, [ebp - 0x28c]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret