Function at 0x43b2e8
Capabilities:
Set environment variable

Disassembly:
push 0x108
mov eax, 0x47a259
call fcn.00444285
mov esi, ecx
mov dword [ebp - 0xe8], esi
xor ebx, ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 4], 1
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x2f8]
call fcn.00407b10
push ebx
push ebx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp + 8]
call fcn.00414125
mov byte [ebp - 4], 2
lea ecx, [esi + 0x144]
mov dword [ebp - 0xf8], ecx
add eax, 4
add ecx, 4
push eax
mov dword [ebp - 0xf4], ecx
call fcn.00407b10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00404d40
cmp dword [ebp + 0x50], 8
lea eax, [ebp + 0x3c]
lea ecx, [ebp - 0x10c]
cmovae eax, dword [ebp + 0x3c]
push eax
call fcn.00415ca9
mov byte [ebp - 4], 4
lea eax, [ebp - 0xd1]
push ebx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x48e948
mov dword [ebp - 0x18], 0x48e950
call fcn.00406120
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], bx
mov byte [ebp - 4], 8
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 7
mov ecx, eax
push 4
pop edi
mov dword [ebp - 0xd8], edi
mov byte [ebp - 0xe0], 1
call fcn.00413f7e
push 1
push ebx
push eax
push 0x481d24
lea ecx, [ebp - 0x10c]
call fcn.0041694c
mov dword [ebp - 0xd8], edi
mov bl, al
and edi, 0xfffffffb
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe4]
call fcn.0041602f
test bl, bl
je 0x43b415
lea ecx, [ebp - 0x40]
call fcn.0040f205
push eax
call fcn.00457ece
pop ecx
mov dword [esi + 0x3c], eax
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
call fcn.00413dba
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], bx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0xa
or edi, 8
mov dword [ebp - 0xd8], edi
mov ecx, eax
mov byte [ebp - 0xe0], 1
call fcn.00413f7e
push 1
push ebx
push eax
push str.tempdisk1folder:
lea ecx, [ebp - 0x10c]
call fcn.0041694c
and edi, 0xfffffff7
mov bl, al
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 6
mov esi, 0x48e7d0
cmp dword [ebp - 0x1c], 0
cmovne esi, dword [ebp - 0x1c]
push esi
call fcn.00454be3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00408080
mov eax, dword [ebp - 0xe8]
add eax, 0x324
mov dword [ebp - 0xf0], eax
add eax, 4
mov dword [ebp - 0xec], eax
test bl, bl
je 0x43b511
lea ecx, [ebp - 0x40]
call fcn.00413f7e
mov edx, 0x48e7d0
mov ecx, edx
mov esi, edx
cmp dword [eax], 0
cmovne ecx, dword [eax]
test ecx, ecx
cmovne esi, ecx
push esi
call fcn.00454be3
pop ecx
mov ecx, dword [ebp - 0xec]
push eax
push esi
call fcn.00408080
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0x70]
push eax
call fcn.00419a87
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404d40
mov eax, dword [ebp - 0xe8]
mov byte [eax + 0x14], 1
jmp 0x43b517
mov dword [ebp - 0xec], eax
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
call fcn.00413dba
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], bx
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0xe
or edi, 0x20
mov dword [ebp - 0xd8], edi
mov ecx, eax
mov byte [ebp - 0xe0], 1
call fcn.00413f7e
push ebx
push ebx
push eax
push str.tempdisk1extractpath
lea ecx, [ebp - 0x10c]
call fcn.0041694c
and edi, 0xffffffdf
mov bl, al
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 6
mov esi, 0x48e7d0
cmp dword [ebp - 0x1c], 0
cmovne esi, dword [ebp - 0x1c]
push esi
call fcn.00454be3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00408080
test bl, bl
je 0x43b7c8
lea ecx, [ebp - 0x40]
call fcn.00413f7e
xor ebx, ebx
lea ecx, [ebp - 0xd1]
inc ebx
push ebx
push ecx
push dword [eax]
lea ecx, [ebp - 0xa0]
call fcn.0041085e
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00419a87
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.00404d40
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004140d7
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.00404d40
mov esi, dword [ebp - 0xe8]
cmp byte [esi + 0x14], 0
jne 0x43b74b
call fcn.0044d301
test al, al
lea edx, [ebp - 0xd1]
push 0
lea eax, [ebp - 0x9c]
je 0x43b669
cmp dword [ebp - 0x88], 8
cmovae eax, dword [ebp - 0x9c]
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x110], esp
push ebx
push edx
push eax
call fcn.0041085e
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 0x11
call fcn.00447a96
add esp, 0x38
mov byte [ebp - 4], 0x15
mov ebx, edi
or ebx, 1
jmp 0x43b6d4
cmp dword [ebp - 0x88], 8
cmovae eax, dword [ebp - 0x9c]
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x110], esp
push ebx
push edx
push eax
call fcn.0041085e
mov dword [ebp - 4], 0x16
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x114], esp
lea eax, [ebp - 0xd1]
push ebx
push eax
push 0x48e7d0
call fcn.0041085e
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x70]
push 0
push eax
mov byte [ebp - 4], 0x15
call fcn.00447fe6
add esp, 0x6c
mov dword [ebp - 4], 0x18
mov ebx, dword [ebp - 0xd8]
or ebx, 2
add eax, 4
mov dword [ebp - 0xd8], ebx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00407b10
mov dword [ebp - 4], 0x15
test bl, 2
je 0x43b70d
and ebx, 0xfffffffd
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
call fcn.00404d40
mov dword [ebp - 4], 0x11
test bl, 1
je 0x43b731
and ebx, 0xfffffffe
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xd0]
call fcn.00404d40
lea eax, [ebp - 0x9c]
push eax
lea ecx, [esi + 0x328]
call fcn.00407b10
mov edi, dword [ebp - 0xd8]
jmp 0x43b7b9
push 0
lea eax, [ebp - 0xd1]
mov dword [ebp - 0x70], 0x48e948
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], 0x48e950
call fcn.00406120
mov byte [ebp - 4], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x70]
push str.Setup_d_TempDisk1Folder
push eax
call fcn.0041ca3d
add esp, 0xc
lea ecx, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x6c]
cmovae ecx, dword [ebp - 0x9c]
cmp dword [ebp - 0x58], 8
push ecx
cmovae eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.00404d40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00404d40
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
call fcn.00413dba
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], bx
mov byte [ebp - 4], 0x20
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x1f
or edi, 0x10
mov dword [ebp - 0xd8], edi
mov ecx, eax
mov byte [ebp - 0xe0], 1
call fcn.00413f7e
push 1
push ebx
push eax
push str.extract_all:
lea ecx, [ebp - 0x10c]
call fcn.0041694c
and edi, 0xffffffef
mov bl, al
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 6
mov esi, 0x48e7d0
cmp dword [ebp - 0x1c], 0
cmovne esi, dword [ebp - 0x1c]
push esi
call fcn.00454be3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00408080
test bl, bl
je 0x43b8b0
lea ecx, [ebp - 0x40]
call fcn.00413f7e
mov edx, 0x48e7d0
mov ecx, edx
mov esi, edx
cmp dword [eax], 0
cmovne ecx, dword [eax]
test ecx, ecx
cmovne esi, ecx
push esi
call fcn.00454be3
pop ecx
mov ecx, dword [ebp - 0xec]
push eax
push esi
call fcn.00408080
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0xd0]
push eax
call fcn.00419a87
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.00404d40
mov ebx, dword [ebp - 0xe8]
mov byte [ebx + 0x15], 1
jmp 0x43b8b6
mov ebx, dword [ebp - 0xe8]
push 1
push 1
push 0
push str.runfromtemp
lea ecx, [ebp - 0x10c]
call fcn.0041694c
test al, al
je 0x43b8d4
mov byte [ebx + 0x11], 1
push 1
push 1
push 0
push str.IS_temp
lea ecx, [ebp - 0x10c]
call fcn.0041694c
push 0
push 1
push 0
push 0x481da8
lea ecx, [ebp - 0x10c]
call fcn.0041694c
test al, al
je 0x43b908
mov byte [ebx + 1], 1
push 0
push 1
push 0
push 0x481dac
lea ecx, [ebp - 0x10c]
call fcn.0041694c
test al, al
je 0x43b926
mov byte [ebx + 2], 1
push 0
push 1
push 0
push 0x481db8
lea ecx, [ebp - 0x10c]
call fcn.0041694c
test al, al
je 0x43b944
mov byte [ebx + 3], 1
push 0xffffffffffffffff
xor ebx, ebx
lea ecx, [ebp - 0x40]
push ebx
call fcn.00413dba
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], bx
mov byte [ebp - 4], 0x24
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x23
or edi, 0x40
mov dword [ebp - 0xd8], edi
mov ecx, eax
mov byte [ebp - 0xe0], 1
call fcn.00413f7e
push 1
push ebx
push eax
push str.media_path:
lea ecx, [ebp - 0x10c]
call fcn.0041694c
and edi, 0xffffffbf
mov bl, al
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 6
mov esi, 0x48e7d0
cmp dword [ebp - 0x1c], 0
cmovne esi, dword [ebp - 0x1c]
push esi
call fcn.00454be3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00408080
test bl, bl
je 0x43ba33
xor ebx, ebx
mov dword [ebp - 0x70], 0x48e948
push ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0x48e950
push eax
lea ecx, [ebp - 0x70]
call fcn.004104d7
mov byte [ebp - 4], 0x27
cmp dword [ebp - 0x5c], ebx
je 0x43ba25
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x6c]
push eax
call fcn.00407b10
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0xd0]
push eax
call fcn.00419a87
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0xd0]
call fcn.00404d40
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404d40
jmp 0x43ba35
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x40]
call fcn.00413dba
mov byte [ebp - 4], 0x2a
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], 0
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x2a
or edi, 0x80
mov dword [ebp - 0xd8], edi
mov ecx, eax
mov byte [ebp - 0xe0], 1
call fcn.00413f7e
push 1
push ebx
push eax
push str.installfromweb:
lea ecx, [ebp - 0x10c]
call fcn.0041694c
and edi, 0xffffff7f
mov bl, al
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 6
mov esi, 0x48e7d0
cmp dword [ebp - 0x1c], 0
cmovne esi, dword [ebp - 0x1c]
push esi
call fcn.00454be3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x3c]
call fcn.00408080
test bl, bl
je 0x43bb34
xor ebx, ebx
mov dword [ebp - 0x70], 0x48e948
push ebx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x48], 0x48e950
push eax
lea ecx, [ebp - 0x70]
call fcn.004104d7
mov byte [ebp - 4], 0x2e
cmp dword [ebp - 0x5c], ebx
je 0x43bb1c
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x6c]
push eax
call fcn.00407b10
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0xd0]
push eax
call fcn.00419a87
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0xd0]
call fcn.00404d40
mov esi, dword [ebp - 0xe8]
mov byte [esi + 0x13], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00404d40
jmp 0x43bb3c
mov esi, dword [ebp - 0xe8]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x40]
call fcn.00413dba
mov byte [ebp - 4], 0x31
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov word [ebp - 0xe0], 0
mov byte [ebp - 4], 0x32
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x31
or edi, 0x100
mov dword [ebp - 0xd8], edi
mov ecx, eax
mov byte [ebp - 0xe0], 1
call fcn.00413f7e
push 1
push ebx
push eax
push str.IS_OriginalLauncher:
lea ecx, [ebp - 0x10c]
call fcn.0041694c
and edi, 0xfffffeff
mov bl, al
mov dword [ebp - 0xd8], edi
mov byte [ebp - 4], 6
mov edi, 0x48e7d0
cmp dword [ebp - 0x1c], 0
cmovne edi, dword [ebp - 0x1c]
push edi
call fcn.00454be3
pop ecx
push eax
push edi
lea ecx, [ebp - 0x3c]
call fcn.00408080
test bl, bl
je 0x43bc00
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x40]
call fcn.00419a87
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.00404d40
cmp dword [ebp - 0x2c], 0
je 0x43bc00
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 0x388]
call fcn.00407b10
cmp byte [esi + 0x13], 0
lea ebx, [esi + 0x144]
jne 0x43bc1a
mov ecx, ebx
call fcn.0043c039
mov byte [esi + 0x13], al
test al, al
je 0x43bc42
mov ecx, ebx
call fcn.0043c061
test al, al
je 0x43bc42
lea eax, [ebp - 0xd0]
mov ecx, ebx
push eax
call fcn.0043bd79
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.00404d40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10c]
call fcn.00415f88
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404d40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x38]
call fcn.00404d40
call fcn.00444234
ret 0x60