Function at 0x4098bb
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x481e1f
call fcn.00466fdc
sub esp, 0x138
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
call fcn.00401166
mov ebx, eax
lea eax, [ebp - 0xd]
push 1
mov esi, 0x4ab258
push eax
push esi
lea ecx, [ebp - 0x98]
call fcn.00401884
mov eax, dword [eax + 8]
and dword [ebp - 4], 0
test eax, eax
mov edi, 0x48b67c
je 0x409901
mov edi, eax
lea eax, [ebp - 0xf]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupdiskaction.cpp
lea ecx, [ebp - 0xc0]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
test eax, eax
jne 0x409927
mov eax, 0x48b67c
mov dword [ebp - 0x1c], eax
push edi
lea eax, [ebp - 0x1c]
push str.Reading_setup.ini_from__s
push eax
mov dword [ebp - 0x18], 0xd6
call fcn.0040a552
and byte [ebp - 4], 0
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00401093
push esi
lea ecx, [ebx + 0x18]
call fcn.0040293e
lea eax, [ebp - 0xf]
push 0
mov edi, 0x48b660
mov esi, 0x48b658
push eax
push 0x4a9e50
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x50], esi
call fcn.004011a9
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6dc]
mov dword [ebp - 4], 2
call fcn.00401884
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48b6d4]
mov byte [ebp - 4], 3
call fcn.00401884
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x44]
push eax
push 5
mov byte [ebp - 4], 4
call fcn.0040a4e9
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00401093
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401093
push 5
mov ecx, ebx
call fcn.0040a421
test al, al
jne 0x409aa0
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6dc]
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], 5
test eax, eax
mov esi, 0x48b67c
je 0x409a43
mov esi, eax
lea eax, [ebp - 0xf]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupdiskaction.cpp
lea ecx, [ebp - 0xc0]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x409a69
mov eax, 0x48b67c
mov dword [ebp - 0x1c], eax
push esi
lea eax, [ebp - 0x1c]
push str.Failed_to_read_setup_package:__s_name_from_Setup.ini
push eax
mov dword [ebp - 0x18], 0xdf
call fcn.0040a552
add esp, 0xc
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
jmp 0x409af9
mov ecx, dword [ebp - 0x14]
call fcn.0040a619
test al, al
push 1
jne 0x409b05
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0xc0]
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupdiskaction.cpp
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], 7
test eax, eax
jne 0x409ad5
mov eax, 0x48b67c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push str.Failed_to_get_MSI_Engine_Version
push eax
mov dword [ebp - 0x18], 0xe7
call fcn.0040a552
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0xc0]
call fcn.00401093
xor eax, eax
jmp 0x40a3ba
lea eax, [ebp - 0xe]
lea ecx, [ebp - 0x44]
push eax
push dword [0x48b6e0]
call fcn.00401884
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6e4]
mov dword [ebp - 4], 8
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push 0x1f40
push eax
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
mov byte [ebp - 4], 9
call fcn.0042d9e4
lea ecx, [ebp - 0x98]
mov dword [ebx + 0x40], eax
mov byte [ebp - 4], 8
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48b6f0]
call fcn.00401884
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6d4]
mov dword [ebp - 4], 0xa
call fcn.00401884
push 0xa
lea eax, [ebp - 0x44]
push 1
push eax
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0xb
call fcn.0042d9e4
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
push 1
pop ecx
cmp dword [ebp - 0x14], ecx
jne 0x409c0e
mov eax, dword [ebx + 0x164]
cmp byte [eax + 1], 0
jne 0x409bf8
cmp byte [eax + 2], 0
jne 0x409bf8
mov eax, ecx
jmp 0x409bfa
xor eax, eax
test al, al
sete al
test al, al
je 0x409c08
mov dword [ebx + 0x38], ecx
jmp 0x409c19
and dword [ebx + 0x38], 0
jmp 0x409c19
push 2
pop eax
cmp dword [ebp - 0x14], eax
je 0x409c03
mov dword [ebx + 0x38], eax
lea eax, [ebp - 0xe]
push 0
push eax
push 0x4a9e50
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x50], esi
call fcn.004011a9
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48b6f8]
mov dword [ebp - 4], 0xc
call fcn.00401884
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6d4]
mov byte [ebp - 4], 0xd
call fcn.00401884
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x98]
push eax
push 1
mov byte [ebp - 4], 0xe
call fcn.0040a4e9
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xd
call fcn.00401093
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401093
lea eax, [ebp - 0xe]
push 0
push eax
push 0x4a9e50
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x50], esi
call fcn.004011a9
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48b6f4]
mov dword [ebp - 4], 0xf
call fcn.00401884
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6d4]
mov byte [ebp - 4], 0x10
call fcn.00401884
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x98]
push eax
push 2
mov byte [ebp - 4], 0x11
call fcn.0040a4e9
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x98]
call fcn.00401093
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xf
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401093
lea eax, [ebp - 0xe]
push 0
push eax
push 0x4a9e50
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x50], esi
call fcn.004011a9
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x44]
push dword [0x48b6fc]
mov dword [ebp - 4], 0x12
call fcn.00401884
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6d4]
mov byte [ebp - 4], 0x13
call fcn.00401884
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x98]
push eax
push 3
mov byte [ebp - 4], 0x14
call fcn.0040a4e9
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x13
call fcn.00401093
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x12
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401093
lea eax, [ebp - 0xc0]
push 7
push eax
mov ecx, ebx
call fcn.0040a446
cmp dword [eax + 0xc], 0
lea ecx, [ebp - 0xc0]
sete byte [ebp - 0xd]
call fcn.00402438
cmp byte [ebp - 0xd], 0
je 0x409f87
lea eax, [ebp - 0xe]
push 0
push eax
push 0x4a9e50
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], esi
call fcn.004011a9
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0xc0]
push dword [0x48b6e8]
mov dword [ebp - 4], 0x15
call fcn.00401884
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6d4]
mov byte [ebp - 4], 0x16
call fcn.00401884
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x98]
push eax
push 7
mov byte [ebp - 4], 0x17
call fcn.0040a4e9
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x16
call fcn.00401093
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x15
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
lea eax, [ebp - 0xe]
push 0
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x48b6a8
mov dword [ebp - 0x50], 0x48b6a0
call fcn.00403cd9
lea eax, [ebp - 0x11c]
push 0x400
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0x18
call fcn.00402f01
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x19
call fcn.004042dd
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 7
mov dword [ecx + 8], eax
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
call fcn.0040a446
push 0x400
mov ecx, eax
push dword [ebp - 0x18]
mov byte [ebp - 4], 0x1a
call fcn.004042dd
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x110]
call fcn.00402438
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x18
call fcn.00403013
lea eax, [ebp - 0x70]
push 0
push eax
push 7
mov ecx, ebx
call fcn.0040a3c9
cmp dword [ebx + 0x14], 5
je 0x409f7b
lea eax, [ebp - 0x110]
push 7
push eax
mov ecx, ebx
call fcn.0040a446
push 1
mov ecx, eax
mov byte [ebp - 4], 0x1b
call fcn.004042dd
push eax
push 0x4a080c
mov ecx, ebx
call fcn.0042ceca
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x18
call fcn.00402438
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402438
mov eax, 0x4a0808
mov dword [ebp - 0x44], edi
mov ecx, eax
mov dword [ebp - 0x24], esi
test ecx, ecx
jne 0x409f9d
mov eax, 0x4a9e50
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004011a9
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b700]
mov dword [ebp - 4], 0x1c
call fcn.00401884
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc0]
push dword [0x48b6d4]
mov byte [ebp - 4], 0x1d
call fcn.00401884
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0x13
mov byte [ebp - 4], 0x1e
call fcn.0040a4e9
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x1d
call fcn.00401093
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x1c
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
cmp dword [ebx + 0x14], 0
jne 0x40a0a7
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x98]
push dword [0x48b6ec]
call fcn.00401884
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0xc0]
push dword [0x48b6d4]
mov dword [ebp - 4], 0x1f
call fcn.00401884
push 0xa
lea eax, [ebp - 0x98]
push 0
push eax
lea eax, [ebp - 0xc0]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x20
call fcn.0042d9e4
lea ecx, [ebp - 0xc0]
mov dword [ebx + 0x14], eax
mov byte [ebp - 4], 0x1f
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.00401093
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0xe]
push 0
mov esi, 0x4a9e50
push eax
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
call fcn.004011a9
lea eax, [ebp - 0xf]
push 1
push eax
push 0x4a07f8
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0x21
call fcn.00401884
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc0]
push dword [0x48b6d4]
mov byte [ebp - 4], 0x22
call fcn.00401884
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0xd
mov byte [ebp - 4], 0x23
call fcn.0040a4e9
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x22
call fcn.00401093
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x21
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401093
lea eax, [ebp - 0xe8]
push 0xd
push eax
mov ecx, ebx
call fcn.0040a446
cmp dword [ebp - 0xdc], 3
mov dword [ebp - 4], 0x24
jbe 0x40a3a8
mov eax, 0x4a07f0
mov edi, 0x48b6a0
mov ecx, eax
mov dword [ebp - 0x44], 0x48b6a8
test ecx, ecx
mov dword [ebp - 0x24], edi
jne 0x40a182
mov eax, esi
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00404d89
lea eax, [ebp - 0x44]
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x25
call fcn.00402e4a
neg eax
sbb al, al
lea ecx, [ebp - 0x44]
inc al
mov byte [ebp - 4], 0x24
mov byte [ebp - 0xd], al
call fcn.00402438
cmp byte [ebp - 0xd], 0
je 0x40a1ca
mov byte [ebx + 0x4c], 1
jmp 0x40a339
mov eax, 0x4a07e8
mov dword [ebp - 0x70], 0x48b6a8
mov ecx, eax
mov dword [ebp - 0x50], edi
test ecx, ecx
jne 0x40a1e1
mov eax, esi
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00404d89
lea eax, [ebp - 0x70]
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x26
call fcn.00402e4a
test eax, eax
je 0x40a265
mov eax, str.v1.1
mov dword [ebp - 0x44], 0x48b6a8
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x40a220
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00404d89
lea eax, [ebp - 0x44]
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x27
call fcn.00402e4a
neg eax
sbb al, al
lea ecx, [ebp - 0x44]
inc al
mov byte [ebp - 4], 0x26
mov byte [ebp - 0xd], al
call fcn.00402438
cmp byte [ebp - 0xd], 0
jne 0x40a265
and byte [ebp - 0xd], 0
jmp 0x40a269
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x24
call fcn.00402438
cmp byte [ebp - 0xd], 0
je 0x40a284
mov byte [ebx + 0x4d], 1
jmp 0x40a339
mov eax, 0x4a07d4
mov dword [ebp - 0x70], 0x48b6a8
mov ecx, eax
mov dword [ebp - 0x50], edi
test ecx, ecx
jne 0x40a29b
mov eax, esi
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00404d89
lea eax, [ebp - 0x70]
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x28
call fcn.00402e4a
test eax, eax
je 0x40a31f
mov eax, str.v2.0
mov dword [ebp - 0x44], 0x48b6a8
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x40a2da
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00404d89
lea eax, [ebp - 0x44]
push 0
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x29
call fcn.00402e4a
neg eax
sbb al, al
lea ecx, [ebp - 0x44]
inc al
mov byte [ebp - 4], 0x28
mov byte [ebp - 0xd], al
call fcn.00402438
cmp byte [ebp - 0xd], 0
jne 0x40a31f
and byte [ebp - 0xd], 0
jmp 0x40a323
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x24
call fcn.00402438
cmp byte [ebp - 0xd], 0
je 0x40a339
mov byte [ebx + 0x4e], 1
lea eax, [ebp - 0x45]
push 1
push eax
push str.DotNetSPRequired
lea ecx, [ebp - 0x110]
call fcn.00401884
lea eax, [ebp - 0x46]
push 1
push eax
lea ecx, [ebp - 0x144]
push dword [0x48b6d4]
mov byte [ebp - 4], 0x2a
call fcn.00401884
push 0xa
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x144]
mov ecx, ebx
push eax
mov byte [ebp - 4], 0x2b
call fcn.0042d9e4
lea ecx, [ebp - 0x144]
mov dword [ebx + 0x50], eax
mov byte [ebp - 4], 0x2a
call fcn.00401093
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x24
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00402438
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret