Function at 0x438860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5afc26
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
push 0x654554
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov ecx, 4
mov dword [ebp - 0x234], 4
call fcn.0040ce70
push ecx
push 0x654568
push 0
mov dword [ebp - 4], 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
lea ecx, [ebp - 0x228]
call fcn.0042e3e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x228]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x220], eax
lea eax, [esi + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [eax]
test eax, eax
jne 0x43892c
xor esi, esi
mov dword [ebp - 0x224], esi
push 0x654578
mov byte [ebp - 4], 2
call ebx
mov edi, eax
mov dword [ebp - 0x21c], edi
test edi, edi
jne 0x438945
push 0x8007000e
call fcn.00404b10
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x224], esi
test esi, esi
jne 0x43890b
push 0x8007000e
call fcn.00404b10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
push esi
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jns 0x438962
mov ecx, eax
call fcn.0042d800
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push esi
mov byte [ebp - 4], 1
call edi
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
test eax, eax
jne 0x4389b3
xor esi, esi
mov dword [ebp - 0x220], esi
push 0x651c20
mov byte [ebp - 4], 4
call ebx
mov edi, eax
mov dword [ebp - 0x21c], edi
test edi, edi
jne 0x4389cc
push 0x8007000e
call fcn.00404b10
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x438992
push 0x8007000e
call fcn.00404b10
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x224]
push esi
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jns 0x4389e9
mov ecx, eax
call fcn.0042d800
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push esi
mov byte [ebp - 4], 1
call edi
mov eax, dword [ebp - 0x228]
push str.Download_
push dword [ebp - 0x22c]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00413ba0
add esp, 0xc
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
jne 0x438a52
xor esi, esi
mov dword [ebp - 0x220], esi
push str.Package
mov byte [ebp - 4], 7
call ebx
mov edi, eax
mov dword [ebp - 0x230], edi
test edi, edi
jne 0x438a6b
push 0x8007000e
call fcn.00404b10
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x438a31
push 0x8007000e
call fcn.00404b10
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x224]
push esi
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jns 0x438a88
mov ecx, eax
call fcn.0042d800
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push esi
call edi
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438ab6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x228]
push 0x654594
push dword [ebp - 0x22c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x224]
push eax
call fcn.00413ba0
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
test eax, eax
jne 0x438b0f
xor esi, esi
mov dword [ebp - 0x21c], esi
push str.MainApp
mov byte [ebp - 4], 0xa
call ebx
mov edi, eax
mov dword [ebp - 0x230], edi
test edi, edi
jne 0x438b28
push 0x8007000e
call fcn.00404b10
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x21c], esi
test esi, esi
jne 0x438aee
push 0x8007000e
call fcn.00404b10
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x220]
push esi
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jns 0x438b45
mov ecx, eax
call fcn.0042d800
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push esi
call edi
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438b73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x438c02
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
push eax
call ebx
mov edi, eax
mov dword [ebp - 0x230], edi
test edi, edi
jne 0x438bb4
push 0x8007000e
call fcn.00404b10
push str.Temp
mov byte [ebp - 4], 0xc
call ebx
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x438bd5
push 0x8007000e
call fcn.00404b10
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x21c]
push edi
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jns 0x438bf2
mov ecx, eax
call fcn.0042d800
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call ebx
push edi
mov byte [ebp - 4], 1
call ebx
mov edx, str.Package:updater_
lea ecx, [ebp - 0x21c]
call fcn.0042e310
mov byte [ebp - 4], 0xe
mov ecx, dword [eax]
call fcn.0042d960
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x21c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438c41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
push 0x6545a8
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov ecx, 4
mov dword [ebp - 0x230], 4
call fcn.0040ce70
mov edx, str.MainApp:.
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x21c]
call fcn.0042e310
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
call fcn.0042e880
mov byte [ebp - 4], 0xf
mov eax, ebx
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438ca9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, str.Bin:.
lea ecx, [ebp - 0x21c]
call fcn.0042e310
mov byte [ebp - 4], 0x11
mov ecx, dword [eax]
call fcn.0042e880
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x438ce3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 0xfffffffc
call fcn.0040ce70
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x438d01
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, 0xfffffffc
call fcn.0040ce70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret