Function at 0x4192c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ee63
mov eax, dword fs:[0]
push eax
sub esp, 0xcac
mov eax, dword [0x4703d0]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push str.parseGeneral:_n
mov dword [ebp - 0xc80], eax
mov dword [ebp - 0xc98], ecx
mov byte [ebp - 0xc65], 1
mov byte [ebp - 0xc66], 0
call fcn.0040ef30
mov esi, dword [ebp + 0x10]
add esp, 4
push esi
call fcn.0040f070
cmp esi, 4
jne 0x419330
mov al, 1
jmp 0x419fb2
cmp esi, 0x80
je 0x419329
cmp esi, 0x2000
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x419aef
mov eax, dword [ebp - 0xc80]
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
lea ecx, [ebp - 0xc70]
push ecx
push eax
call edx
test eax, eax
jl 0x419aef
cmp word [ebp - 0xc70], 0xffff
jne 0x419aef
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
lea edx, [ebp - 0xc6c]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x419ac2
cmp dword [ebp - 0xc6c], 0
je 0x419ac2
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc6c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc7c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x419ad4
mov eax, dword [ebp - 0xc7c]
test eax, eax
je 0x419ad4
mov ecx, dword [eax]
lea edx, [ebp - 0xcb4]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x419ad4
cmp dword [ebp - 0xcb4], 1
jne 0x4193a2
mov eax, dword [ebp - 0xc7c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc78]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
xor esi, esi
cmp eax, esi
jl 0x419a98
mov ecx, dword [ebp - 0xc78]
push str.Version
push ecx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x41950b
cmp ebx, 8
jne 0x41950b
push 0x19
lea edx, [ebp - 0x44]
push edx
mov word [ebp - 0x44], si
mov word [ebp - 0x78], si
mov word [ebp - 0xac], si
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push str._PACKAGENUMBER_
call esi
push 0x19
lea eax, [ebp - 0x78]
push eax
push str._BUILDNUMBER_
call esi
push 0x19
lea ecx, [ebp - 0xac]
push ecx
push str._VERSION_
call esi
lea edx, [ebp - 0xac]
push edx
call fcn.00428150
add esp, 4
test eax, eax
je 0x41950b
lea eax, [ebp - 0x78]
push eax
call fcn.00428150
add esp, 4
test eax, eax
je 0x41950b
lea ecx, [ebp - 0x44]
push ecx
call fcn.00428150
add esp, 4
test eax, eax
je 0x41950b
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0xac]
push ecx
push str._s._s._s
call fcn.0042a590
mov esi, eax
push esi
push str.package_version_is__S_n
call fcn.0040ef30
add esp, 0x18
push esi
lea ecx, [ebp - 0xc84]
call fcn.0040e920
mov eax, dword [ebp - 0xc7c]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x6c]
mov dword [ebp - 4], 0
call eax
push esi
call fcn.004280a0
mov ecx, dword [ebp - 0xc84]
add esp, 4
push ecx
mov dword [ebp - 4], 0xffffffff
call edi
mov edx, dword [ebp - 0xc78]
push str.ProductId
push edx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x4195ba
mov eax, dword [ebp - 0xc7c]
mov ecx, dword [eax]
lea edx, [ebp - 0xca8]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
lea ecx, [ebp - 0xca8]
push ecx
lea ecx, [ebp - 0xc88]
call fcn.0040e940
mov edx, dword [ebp - 0xca8]
push edx
mov dword [ebp - 4], 1
call edi
cmp dword [0x471584], 0
mov esi, dword [ebp - 0xc88]
jne 0x41957b
push esi
call fcn.00428130
add esp, 4
mov dword [0x471584], eax
cmp ebx, 2
jne 0x4195a7
mov eax, dword [0x47159c]
push 0
push esi
push eax
call fcn.00407520
movzx ecx, al
push ecx
push str.parseGeneral:_ProductId_retval__u_n
mov byte [ebp - 0xc65], al
call fcn.0040ef30
add esp, 8
jmp 0x4195b0
cmp ebx, 0x20
je 0x419aaa
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov edx, dword [ebp - 0xc78]
push str.CorePath
push edx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x4196c7
mov eax, dword [ebp - 0xc7c]
mov ecx, dword [eax]
lea edx, [ebp - 0xca0]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov ecx, dword [ebp - 0xca0]
push ecx
lea ecx, [ebp - 0xcb8]
call fcn.0040e920
mov edx, dword [ebp - 0xca0]
push edx
mov dword [ebp - 4], 2
call edi
cmp ebx, 8
mov esi, dword [ebp - 0xcb8]
je 0x419640
cmp ebx, 0x100
je 0x419628
push esi
push 0
call fcn.00408fa0
push 0x12c
lea eax, [ebp - 0xa0c]
push eax
push 0
push 0
call fcn.0042db90
add esp, 0x10
test bl, 1
je 0x41966d
mov ecx, dword [0x47159c]
push ecx
lea edx, [ebp - 0xa0c]
push edx
call fcn.0040c4d0
mov byte [ebp - 0xc65], al
lea eax, [ebp - 0xa0c]
push eax
call fcn.0042fa40
add esp, 4
cmp ebx, 2
jne 0x4196a8
mov ecx, dword [0x47159c]
push ecx
lea edx, [ebp - 0xa0c]
push edx
call fcn.0040c500
push 1
lea eax, [ebp - 0xa0c]
push eax
call fcn.00409150
test eax, eax
jne 0x4196a8
push 0x471598
lea ecx, [ebp - 0xa0c]
push ecx
call fcn.0040a1f0
movzx edx, byte [ebp - 0xc65]
push edx
push str.parseGeneral:_CorePath_retval__u_n
call fcn.0040ef30
add esp, 8
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, dword [ebp - 0xc78]
push str.CorePath_x86
push eax
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x4197d9
mov eax, dword [ebp - 0xc7c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc9c]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov ecx, dword [ebp - 0xc9c]
push ecx
lea ecx, [ebp - 0xcb0]
call fcn.0040e920
mov edx, dword [ebp - 0xc9c]
push edx
mov dword [ebp - 4], 3
call edi
cmp ebx, 8
mov esi, dword [ebp - 0xcb0]
je 0x419752
cmp ebx, 0x100
je 0x419735
push esi
push 1
call fcn.00408fa0
mov ecx, dword [0x471594]
push 0x12c
lea eax, [ebp - 0x7b4]
push eax
push ecx
push 0
call fcn.0042db90
add esp, 0x10
test bl, 1
je 0x41977f
mov edx, dword [0x47159c]
push edx
lea eax, [ebp - 0x7b4]
push eax
call fcn.0040c4d0
lea ecx, [ebp - 0x7b4]
push ecx
mov byte [ebp - 0xc65], al
call fcn.0042fa40
add esp, 4
cmp ebx, 2
jne 0x4197ba
mov edx, dword [0x47159c]
push edx
lea eax, [ebp - 0x7b4]
push eax
call fcn.0040c500
push 1
lea ecx, [ebp - 0x7b4]
push ecx
call fcn.00409150
test eax, eax
jne 0x4197ba
push 0x471598
lea edx, [ebp - 0x7b4]
push edx
call fcn.0040a1f0
movzx eax, byte [ebp - 0xc65]
push eax
push str.parseGeneral:_CorePath_X86_retval__u_n
call fcn.0040ef30
add esp, 8
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov ecx, dword [ebp - 0xc78]
push str.ProductPath
push ecx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x4198ea
mov eax, dword [ebp - 0xc7c]
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [ebp - 0xcac]
push ecx
push eax
call edx
mov eax, dword [ebp - 0xcac]
push eax
lea ecx, [ebp - 0xc94]
call fcn.0040e920
mov ecx, dword [ebp - 0xcac]
push ecx
mov dword [ebp - 4], 4
call edi
mov eax, dword [0x471590]
test eax, eax
mov esi, dword [ebp - 0xc94]
jne 0x419849
push esi
call fcn.00428130
add esp, 4
mov dword [0x471590], eax
cmp ebx, 8
je 0x419865
push 0x12c
lea edx, [ebp - 0x55c]
push edx
push eax
push 0
call fcn.0042db90
add esp, 0x10
test bl, 1
je 0x419891
mov eax, dword [0x47159c]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call fcn.0040c4d0
lea edx, [ebp - 0x55c]
push edx
mov byte [ebp - 0xc65], al
call fcn.0042fa40
add esp, 4
cmp ebx, 2
jne 0x4198cb
mov eax, dword [0x47159c]
push eax
lea ecx, [ebp - 0x55c]
push ecx
call fcn.0040c500
push 1
lea edx, [ebp - 0x55c]
push edx
call fcn.00409150
test eax, eax
jne 0x4198cb
push 0x471598
lea eax, [ebp - 0x55c]
push eax
call fcn.0040a1f0
movzx ecx, byte [ebp - 0xc65]
push ecx
push str.parseGeneral:_ProductPath_retval__u_n
call fcn.0040ef30
add esp, 8
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov edx, dword [ebp - 0xc78]
push str.ProductPath_x86
push edx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x419a14
mov eax, dword [ebp - 0xc7c]
mov ecx, dword [eax]
lea edx, [ebp - 0xca4]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov ecx, dword [ebp - 0xca4]
push ecx
lea ecx, [ebp - 0xc8c]
call fcn.0040e920
mov edx, dword [ebp - 0xca4]
push edx
mov dword [ebp - 4], 5
call edi
mov eax, dword [0x471594]
test eax, eax
mov esi, dword [ebp - 0xc8c]
jne 0x41995a
push esi
call fcn.00428130
add esp, 4
mov dword [0x471594], eax
cmp ebx, 8
je 0x419976
push 0x12c
lea ecx, [ebp - 0x304]
push ecx
push eax
push 1
call fcn.0042db90
add esp, 0x10
test bl, 1
je 0x4199bb
mov edx, dword [0x47159c]
push edx
lea eax, [ebp - 0x304]
push eax
call fcn.0040c4d0
test al, al
mov byte [ebp - 0xc65], al
jne 0x4199ac
lea ecx, [ebp - 0x304]
push ecx
push str.ERROR:_parseGeneral:_Failed_to_add_reference_on__S_n
call fcn.0040ef30
add esp, 8
lea edx, [ebp - 0x304]
push edx
call fcn.0042fa40
add esp, 4
cmp ebx, 2
jne 0x4199f5
mov eax, dword [0x47159c]
push eax
lea ecx, [ebp - 0x304]
push ecx
call fcn.0040c500
push 1
lea edx, [ebp - 0x304]
push edx
call fcn.00409150
test eax, eax
jne 0x4199f5
push 0x471598
lea eax, [ebp - 0x304]
push eax
call fcn.0040a1f0
movzx ecx, byte [ebp - 0xc65]
push ecx
push str.parseGeneral:_ProductPath_X86_retval__u_n
call fcn.0040ef30
add esp, 8
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov edx, dword [ebp - 0xc78]
push str.SourcePath_x86
push edx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x419a8a
mov eax, dword [ebp - 0xc7c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc74]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov ecx, dword [ebp - 0xc74]
push ecx
lea ecx, [ebp - 0xc90]
call fcn.0040e920
mov edx, dword [ebp - 0xc74]
push edx
mov dword [ebp - 4], 6
call edi
cmp dword [0x4715a0], 0
mov esi, dword [ebp - 0xc90]
jne 0x419a80
push esi
call fcn.00428130
add esp, 4
mov dword [0x4715a0], eax
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, dword [ebp - 0xc78]
push eax
call edi
jmp 0x4193a2
push str.ERROR:_parseGeneral:_Failed_to_get_child_elements_name__n
call fcn.0040ef30
add esp, 4
jmp 0x419f99
mov ecx, dword [ebp - 0xc78]
push ecx
call edi
push esi
mov dword [ebp - 4], 0xffffffff
call edi
jmp 0x419f99
push str.ERROR:_parseGeneral:_Failed_to_get_child_element_n
call fcn.0040ef30
add esp, 4
jmp 0x419f99
cmp byte [ebp - 0xc65], 0
jne 0x419aef
push str.ERROR:_parseGeneral:_General_pre_core_actions_failed_n
call fcn.0040ef30
add esp, 4
jmp 0x419f99
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x100
je 0x419b08
test bl, 1
jne 0x419b08
cmp ebx, 2
jne 0x419c77
mov esi, dword [ebp - 0xc80]
mov edx, dword [esi]
mov ecx, dword [edx + 0x58]
lea eax, [ebp - 0xc70]
push eax
push esi
call ecx
test eax, eax
jl 0x419c5c
cmp word [ebp - 0xc70], 0xffff
jne 0x419c5c
mov edx, dword [esi]
mov ecx, dword [edx + 0x30]
lea eax, [ebp - 0xc6c]
push eax
push esi
call ecx
test eax, eax
jl 0x419ac2
cmp dword [ebp - 0xc6c], 0
je 0x419ac2
mov ebx, 7
mov eax, dword [ebp - 0xc6c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [ebp - 0xc74]
push ecx
push eax
call edx
test eax, eax
jl 0x419c59
mov eax, dword [ebp - 0xc74]
test eax, eax
je 0x419c59
mov ecx, dword [eax]
lea edx, [ebp - 0xc90]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x419c59
cmp dword [ebp - 0xc90], 1
jne 0x419b5c
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax]
lea edx, [ebp - 0xc84]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x419a98
mov ecx, dword [ebp - 0xc84]
push str.Version
push ecx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x419c4b
cmp dword [ebp + 0x10], 2
jne 0x419bfc
mov edx, dword [0x47159c]
push edx
call fcn.0040c6f0
mov ecx, dword [ebp - 0xc84]
push ecx
call edi
jmp 0x419b5c
mov eax, dword [ebp - 0xc74]
mov ecx, dword [eax]
lea edx, [ebp - 0xc88]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
lea ecx, [ebp - 0xc88]
push ecx
lea ecx, [ebp - 0xc8c]
call fcn.0040e940
mov edx, dword [ebp - 0xc88]
push edx
mov dword [ebp - 4], ebx
call edi
mov esi, dword [ebp - 0xc8c]
mov eax, dword [0x47159c]
push esi
push eax
call fcn.0040c530
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov ecx, dword [ebp - 0xc84]
push ecx
call edi
jmp 0x419b5c
mov ebx, dword [ebp + 0x10]
cmp byte [ebp - 0xc65], 0
jne 0x419c77
push str.ERROR:_parseGeneral:_General_version_actions_failed_n
call fcn.0040ef30
add esp, 4
jmp 0x419f99
cmp ebx, 0x100
je 0x419f99
mov eax, dword [ebp + 0x10]
mov ebx, eax
and ebx, 1
jne 0x419cae
cmp eax, 8
je 0x419cae
cmp eax, 0x2000
je 0x419cae
cmp eax, 0x10
je 0x419cae
cmp eax, 0x800
je 0x419cae
cmp eax, 0x40
jne 0x419dca
mov esi, dword [ebp - 0xc80]
mov edx, dword [esi]
mov ecx, dword [edx + 0x58]
lea eax, [ebp - 0xc70]
push eax
push esi
call ecx
test eax, eax
jl 0x419dca
cmp word [ebp - 0xc70], 0xffff
jne 0x419dca
mov edx, dword [esi]
mov ecx, dword [edx + 0x30]
lea eax, [ebp - 0xc6c]
push eax
push esi
call ecx
test eax, eax
jl 0x419ac2
cmp dword [ebp - 0xc6c], 0
je 0x419ac2
mov eax, dword [ebp - 0xc6c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
lea ecx, [ebp - 0xc84]
push ecx
push eax
call edx
test eax, eax
jl 0x419dca
mov eax, dword [ebp - 0xc84]
test eax, eax
je 0x419dca
mov ecx, dword [eax]
lea edx, [ebp - 0xc90]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x419dca
cmp dword [ebp - 0xc90], 1
jne 0x419cfd
mov eax, dword [ebp - 0xc84]
mov ecx, dword [eax]
lea edx, [ebp - 0xc74]
push edx
mov esi, eax
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x419a98
mov ecx, dword [ebp - 0xc74]
push str.Base
push ecx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x419da1
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc98]
push edx
push eax
push esi
call fcn.00419060
test al, al
mov byte [ebp - 0xc65], al
je 0x419daf
mov byte [ebp - 0xc66], 1
mov ecx, dword [ebp - 0xc74]
push ecx
call edi
jmp 0x419cfd
push str.ERROR:_parseGeneral:_Install_failed_n
call fcn.0040ef30
mov edx, dword [ebp - 0xc74]
add esp, 4
push edx
call edi
jmp 0x419f99
mov eax, dword [ebp + 0x10]
cmp eax, 8
jne 0x419ddd
mov al, byte [ebp - 0xc65]
jmp 0x419fb2
cmp eax, 0x2000
je 0x419dd2
cmp eax, 0x10
je 0x419dd2
cmp eax, 0x800
je 0x419dd2
test ebx, ebx
je 0x419f3a
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
lea edx, [ebp - 0xc6c]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test eax, eax
jl 0x419f2b
cmp dword [ebp - 0xc6c], 0
je 0x419f2b
mov eax, dword [ebp - 0xc6c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc80]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jl 0x419f3a
mov eax, dword [ebp - 0xc80]
test eax, eax
je 0x419f3a
mov ecx, dword [eax]
lea edx, [ebp - 0xc98]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jl 0x419f3a
cmp dword [ebp - 0xc98], 1
jne 0x419e22
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
lea edx, [ebp - 0xc88]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x419f1c
mov ecx, dword [ebp - 0xc88]
push str.ProductId
push ecx
call fcn.0043c9b2
add esp, 8
test eax, eax
jne 0x419f0e
cmp byte [ebp - 0xc66], al
je 0x419f0e
mov eax, dword [ebp - 0xc80]
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [ebp - 0xc8c]
push ecx
push eax
call edx
lea eax, [ebp - 0xc8c]
push eax
lea ecx, [ebp - 0xc94]
call fcn.0040e940
mov esi, dword [ebp - 0xc94]
mov ecx, dword [0x47159c]
push 1
push esi
push ecx
mov dword [ebp - 4], 8
call fcn.00407520
movzx edx, al
push edx
push str.parseGeneral:_ProductId_retval__u_n
mov byte [ebp - 0xc65], al
call fcn.0040ef30
add esp, 8
push esi
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, dword [ebp - 0xc88]
push eax
call edi
jmp 0x419e22
push str.ERROR:_parseGeneral:_Failed_to_get_child_elements_name_n
call fcn.0040ef30
add esp, 4
jmp 0x419f99
push str.ERROR:_parseGeneral:_Failed_to_get_child_nodes_n
call fcn.0040ef30
add esp, 4
jmp 0x419f99
cmp dword [ebp + 0x10], 2
jne 0x419f99
push 0x12c
lea ecx, [ebp - 0xc64]
push ecx
push 0
push 0
call fcn.0042db90
add esp, 0x10
push 1
lea edx, [ebp - 0xc64]
push edx
call fcn.00409150
test eax, eax
jne 0x419f99
push 0x12c
lea eax, [ebp - 0xc64]
push eax
push 0
push 1
call fcn.0042db90
add esp, 0x10
push 1
lea ecx, [ebp - 0xc64]
push ecx
call fcn.00409150
test eax, eax
jne 0x419f99
call fcn.004090d0
mov bl, byte [ebp - 0xc65]
movzx edx, bl
push edx
push str.parseGeneral:_exit_u_n
call fcn.0040ef30
add esp, 8
mov al, bl
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.0043c015
mov esp, ebp
pop ebp
ret 0xc