Function at 0x4024e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x54d42b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5af640]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5af640]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x850]
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004093d0
xor ebx, ebx
mov dword [esp + 0x848], ebx
mov edi, 7
xor eax, eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], ebx
mov word [esi + 0x1c], ax
xor ecx, ecx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], ebx
mov word [esi + 0x38], cx
xor edx, edx
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], ebx
mov word [esi + 0x60], dx
lea eax, [esi + 0x80]
mov byte [esp + 0x848], 3
push eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
call fcn.00402040
lea ecx, [esi + 0x384]
mov byte [esp + 0x848], 4
push ecx
mov dword [esi + 0x380], ebx
call fcn.00409850
mov dword [esi + 0x3a0], ebx
xor edx, edx
mov dword [esi + 0x3bc], edi
mov dword [esi + 0x3b8], ebx
mov word [esi + 0x3a8], dx
lea edi, [esi + 0x3cc]
mov dword [esi + 0x3c0], ebx
mov dword [esi + 0x3c4], ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov word [edi + 4], ax
mov ecx, dword [esp + 0x854]
mov byte [esp + 0x848], 8
push 0x88
mov dword [esi + 0x58], ecx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x3e8], ebx
mov dword [esi + 0x3ec], ebx
call fcn.00450896
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x848], 9
cmp eax, ebx
je 0x40261b
push ebp
mov ecx, eax
call fcn.00412010
jmp 0x40261d
xor eax, eax
mov byte [esp + 0x848], 8
push 0x206
mov dword [esi + 0x37c], eax
lea eax, [esp + 0x22]
xor edx, edx
push ebx
push eax
mov byte [esi + 0x3c8], bl
mov word [esp + 0x28], dx
call fcn.00523080
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x206
lea eax, [esp + 0x432]
xor edx, edx
push ebx
push eax
mov word [esp + 0x438], dx
call fcn.00523080
add esp, 0xc
push str.7z.dll
lea ecx, [esp + 0x20]
push ecx
push str._s_s
lea edx, [esp + 0x438]
call fcn.0040ffd0
add esp, 0xc
lea edx, [esp + 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x39c], eax
mov eax, ebp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4026b2
sub eax, ecx
sar eax, 1
push eax
push ebp
mov ecx, edi
call fcn.0040cc30
call fcn.00403eb0
mov ecx, esi
call fcn.00403f50
mov edi, esi
call fcn.00404800
push 0x206
lea ecx, [esp + 0x22a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x230], ax
call fcn.00523080
add esp, 0xc
push str.Plugins.zip
lea edx, [esp + 0x20]
push edx
push str._s_s
lea edx, [esp + 0x230]
call fcn.0040ffd0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x228]
push ecx
push esi
call fcn.00405350
push 0x206
lea eax, [esp + 0x63a]
xor edx, edx
push ebx
lea edi, [esi + 0x3f4]
push eax
mov dword [esi + 0x3f0], ebx
mov dword [edi], ebx
mov word [esp + 0x640], dx
call fcn.00523080
add esp, 0xc
push str.InstallerChannelPlugin.dll
lea ecx, [esp + 0x20]
push ecx
push str._s_s
lea edx, [esp + 0x640]
call fcn.0040ffd0
add esp, 0xc
push 8
push ebx
lea edx, [esp + 0x63c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0x3f0], eax
cmp eax, ebx
je 0x4027b2
push str.CreateInstallerChannelPluginObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4027b2
cmp edi, ebx
je 0x4027b2
push str.F00735EC_6253_4472_BC19_99DC10E528D0
call eax
mov dword [edi], eax
mov eax, esi
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.00522f5c
add esp, 0x838
ret 8