Function at 0x4036b0
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4926
mov eax, dword fs:[0]
push eax
sub esp, 0x6d8
mov eax, dword [0x4f6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5b0], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x514]
mov dword [ebp - 0x588], 0
xorps xmm0, xmm0
push 0x12
mov dword [ebp - 0x59c], eax
mov eax, dword [ebp + 0xc]
push str.PackageHistory.xml
mov dword [ebp - 0x58c], eax
movups xmmword [ebp - 0x514], xmm0
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], 0
call fcn.0040bd30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x5c8]
mov ecx, esi
push eax
call fcn.0043a3e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x500]
cmp ecx, 7
jbe 0x403791
mov edx, dword [ebp - 0x514]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403787
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405757
push ecx
push edx
call fcn.00486428
add esp, 8
mov ecx, dword [ebp - 0x5c8]
xor eax, eax
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], 7
mov word [ebp - 0x514], ax
test ecx, ecx
je 0x40575c
lea eax, [ebp - 0x5b8]
push eax
call fcn.00415610
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5b8]
test ecx, ecx
jne 0x4037e5
push 0xfdfe
push 0x93
jmp 0x405766
lea eax, [ebp - 0x5c0]
push eax
call fcn.0041db00
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov esi, dword [ebp - 0x5b8]
lea ecx, [ebp - 0x4fc]
push 0x35
push str.http:__schemas.microsoft.com_appv_2010_PackageHistory
movups xmmword [ebp - 0x4fc], xmm0
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e8], 0
call fcn.0040bd30
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 0x12
push str.PackageHistoryItem
lea ecx, [ebp - 0x52c]
mov dword [ebp - 0x51c], 0
movups xmmword [ebp - 0x52c], xmm0
mov dword [ebp - 0x518], 0
call fcn.0040bd30
mov byte [ebp - 4], 6
lea eax, [ebp - 0x4fc]
push eax
lea eax, [ebp - 0x52c]
mov ecx, esi
push eax
lea eax, [ebp - 0x5c0]
push eax
lea eax, [ebp - 0x598]
push eax
call fcn.004197f0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x518]
cmp ecx, 7
jbe 0x4038ca
mov edx, dword [ebp - 0x52c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40578b
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x51c], 0
mov dword [ebp - 0x518], 7
mov word [ebp - 0x52c], ax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4e8]
cmp ecx, 7
jbe 0x40392b
mov edx, dword [ebp - 0x4fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403921
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40578b
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4ec], 0
mov word [ebp - 0x4fc], ax
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x4e8], 7
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 0xa
push 0
call fcn.00490666
mov dword [ebp - 0x5ac], eax
lea ecx, [ebp - 0x5ac]
lea eax, [ebp - 0x584]
mov dword [ebp - 0x5a8], edx
push eax
call fcn.0040cbf0
lea eax, [ebp - 0x50c]
mov dword [ebp - 0x588], 0x80
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x50c], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
call fcn.0040b040
mov edi, eax
test edi, edi
je 0x405790
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x5a0], esi
mov byte [ebp - 4], 0xc
movzx eax, word [ebp - 0x4fe]
push eax
lea eax, [ebp - 0x584]
push str.._dZ
push eax
call fcn.0040cbd0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403a14
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
or esi, 0xffffffff
mov eax, dword [ebp - 0x584]
xorps xmm0, xmm0
mov edx, eax
mov dword [ebp - 0x4d4], 0
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d0], 0
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x403a40
sub edx, edi
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push eax
call fcn.0040bd30
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x590]
push eax
push str.Time
call fcn.004193e0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x403abb
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ab1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40579a
push ecx
push edx
call fcn.00486428
add esp, 8
mov edi, 0x80
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x588], edi
xor eax, eax
and edi, 0xffffff7f
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
mov eax, esi
mov ecx, dword [ebp - 0x584]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403b22
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x588]
mov ecx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x514]
mov esi, dword [ebp - 0x598]
push eax
call fcn.00407680
mov byte [ebp - 4], 0x10
mov ecx, esi
push eax
push str.PackageVersion
call fcn.004193e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x514]
call fcn.0040bf40
mov eax, dword [ebp - 0x58c]
mov esi, dword [ebp - 0x598]
cmp dword [eax + 0x10], 0
jne 0x403be2
lea ecx, [ebp - 0x590]
call fcn.0040bfe0
mov byte [ebp - 4], 0x11
or edi, 1
mov dword [ebp - 0x588], edi
xorps xmm0, xmm0
mov edx, dword [eax]
mov ecx, edx
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea eax, [ecx + 2]
mov dword [ebp - 0x58c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403bb0
sub ecx, dword [ebp - 0x58c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4e4]
call fcn.0040bd30
lea eax, [ebp - 0x4e4]
mov dword [ebp - 4], 0x12
or edi, 2
jmp 0x403bf8
push eax
lea ecx, [ebp - 0x544]
call fcn.00408100
mov dword [ebp - 4], 0x13
or edi, 4
push eax
push str.SequencerVersion
mov ecx, esi
mov dword [ebp - 0x588], edi
call fcn.004193e0
mov dword [ebp - 4], 0x12
mov eax, edi
test al, 4
je 0x403c32
and eax, 0xfffffffb
lea ecx, [ebp - 0x544]
mov dword [ebp - 0x588], eax
call fcn.0040bf40
mov eax, dword [ebp - 0x588]
mov dword [ebp - 4], 0x11
test al, 2
je 0x403ca9
and eax, 0xfffffffd
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x403c8c
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403c7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40579f
push ecx
push edx
call fcn.00486428
mov eax, dword [ebp - 0x588]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], cx
mov dword [ebp - 4], 9
test al, 1
je 0x403ceb
and eax, 0xfffffffe
mov dword [ebp - 0x588], eax
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x590]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403ceb
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x598]
lea ecx, [ebp - 0x58c]
call fcn.0040c090
mov byte [ebp - 4], 0x15
xorps xmm0, xmm0
mov esi, dword [eax]
mov edx, esi
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403d25
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x4e4]
push eax
push str.SequencerUser
mov ecx, edi
call fcn.004193e0
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x403d9c
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d92
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057a4
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x58c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403de7
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 0x18
call fcn.0040b040
mov edi, eax
test edi, edi
je 0x4057a9
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x584]
mov edi, dword [ebp - 0x588]
or edi, 0x200
push str.COMPUTERNAME
mov dword [ebp - 0x588], edi
call fcn.0040c790
mov esi, dword [ebp - 0x584]
xorps xmm0, xmm0
mov edx, esi
mov dword [ebp - 0x4d4], 0
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403e70
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x58c]
push eax
push str.SequencingStation
call fcn.004193e0
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x403eeb
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ee1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057b3
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xfffffdff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x403f42
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x588]
mov esi, dword [ebp - 0x598]
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x584]
call fcn.0040c260
or edi, 0x400
lea ecx, [ebp - 0x584]
mov dword [ebp - 0x588], edi
call fcn.00425300
push 0xc
push 0x4d7570
lea ecx, [ebp - 0x584]
call fcn.0040c830
lea ecx, [ebp - 0x584]
call fcn.00427300
mov eax, dword [ebp - 0x584]
xorps xmm0, xmm0
mov edx, eax
mov dword [ebp - 0x4d4], 0
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
mov dword [ebp - 0x58c], ecx
nop word [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x403fc0
sub edx, dword [ebp - 0x58c]
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push eax
call fcn.0040bd30
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x4e4]
push eax
push str.WindowsVersion
mov ecx, esi
call fcn.004193e0
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x40403b
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404031
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057b8
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xfffffbff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x584]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404092
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x598]
lea ecx, [ebp - 0x58c]
call fcn.0040c260
mov byte [ebp - 4], 0x1f
xorps xmm0, xmm0
mov esi, dword [eax]
mov edx, esi
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4040d0
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x4e4]
push eax
push str.SystemFolder
mov ecx, edi
call fcn.004193e0
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x404147
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40413d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057bd
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x58c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404192
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 0x22
xor eax, eax
mov word [ebp - 0x2c4], ax
lea eax, [ebp - 0x2c4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
call fcn.0040b040
mov edi, eax
test edi, edi
je 0x4057c2
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x2c4]
test eax, 0xffff0000
jne 0x404208
movzx eax, ax
lea ecx, [ebp - 0x584]
push eax
call fcn.0040b3a0
jmp 0x404233
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404211
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x584]
call fcn.0040b720
mov byte [ebp - 4], 0x22
xorps xmm0, xmm0
mov edi, dword [ebp - 0x588]
or edi, 0x800
mov dword [ebp - 0x588], edi
mov esi, dword [ebp - 0x584]
mov edx, esi
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404272
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x58c]
push eax
push str.WindowsFolder
call fcn.004193e0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x4042ed
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4042e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057cc
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xfffff7ff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404344
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x588]
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 0x26
xor eax, eax
mov word [ebp - 0x4cc], ax
lea eax, [ebp - 0x4cc]
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
call fcn.0040b040
mov dword [ebp - 0x58c], eax
test eax, eax
je 0x4057d1
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x58c]
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x27
lea eax, [ebp - 0x4cc]
test eax, 0xffff0000
jne 0x4043c7
movzx eax, ax
lea ecx, [ebp - 0x584]
push eax
call fcn.0040b3a0
jmp 0x4043f2
lea ecx, [ebp - 0x4cc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4043d0
sub ecx, edx
lea eax, [ebp - 0x4cc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x584]
call fcn.0040b720
mov byte [ebp - 4], 0x26
or edi, 0x1000
mov dword [ebp - 0x588], edi
xorps xmm0, xmm0
mov esi, dword [ebp - 0x584]
mov edx, esi
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404430
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x28
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x590]
push eax
push str.UserFolder
call fcn.004193e0
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x4044ab
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4044a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057db
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xffffefff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4044fc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 0x2a
call fcn.00427690
mov esi, eax
lea edi, [ebp - 0x6e4]
mov ecx, 0x47
rep movsd dword es:[edi], dword [esi]
call fcn.0040b040
mov edi, eax
test edi, edi
je 0x4057e0
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x584], esi
mov byte [ebp - 4], 0x2a
mov edi, dword [ebp - 0x588]
or edi, 0x2000
mov dword [ebp - 0x588], edi
cmp dword [ebp - 0x6e4], 0
jne 0x404583
cmp dword [ebp - 0x6e0], 0
jne 0x404583
cmp dword [ebp - 0x6dc], 0
jne 0x404583
cmp dword [ebp - 0x6d8], 0
je 0x4045a5
movzx eax, word [ebp - 0x5d4]
push eax
lea eax, [ebp - 0x584]
push 0x4d7564
push eax
call fcn.00408e20
mov esi, dword [ebp - 0x584]
add esp, 0xc
mov edx, esi
mov dword [ebp - 0x4d4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x4d0], 0
movups xmmword [ebp - 0x4e4], xmm0
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4045d0
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x58c]
push eax
push str.SystemType
call fcn.004193e0
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x40464b
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404641
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057ea
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xffffdfff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40469c
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x598]
lea ecx, [ebp - 0x58c]
call fcn.0040c360
mov byte [ebp - 4], 0x2e
xorps xmm0, xmm0
mov esi, dword [eax]
mov edx, esi
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4046d6
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x4e4]
push eax
push str.Processor
mov ecx, edi
call fcn.004193e0
mov byte [ebp - 4], 0x2e
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x40474d
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404743
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057ef
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x58c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404798
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 0x31
call fcn.0040b040
mov edi, eax
test edi, edi
je 0x4057f4
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x31
mov edi, dword [ebp - 0x588]
or edi, 0x4000
push 0x43
mov dword [ebp - 0x588], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x584]
push 0x4d7564
push eax
call fcn.00408e20
mov esi, dword [ebp - 0x584]
xorps xmm0, xmm0
mov edx, esi
mov dword [ebp - 0x4d4], 0
add esp, 0xc
mov dword [ebp - 0x4d0], 0
movups xmmword [ebp - 0x4e4], xmm0
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404830
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x33
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x58c]
push eax
push str.LastRebootNormal
call fcn.004193e0
mov byte [ebp - 4], 0x31
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x4048ab
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4048a1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4057fe
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xffffbfff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404902
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x588]
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 0x35
call fcn.0040b040
mov dword [ebp - 0x58c], eax
test eax, eax
je 0x405803
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x58c]
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x35
or edi, 0x8000
push 0x2001
mov dword [ebp - 0x588], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x584]
push 0x4d7564
push eax
call fcn.00408e20
mov esi, dword [ebp - 0x584]
xorps xmm0, xmm0
mov edx, esi
mov dword [ebp - 0x4d4], 0
add esp, 0xc
mov dword [ebp - 0x4d0], 0
movups xmmword [ebp - 0x4e4], xmm0
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4049a0
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x37
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x590]
push eax
push str.TerminalServices
call fcn.004193e0
mov byte [ebp - 4], 0x35
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x404a1b
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404a11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40580d
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xffff7fff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404a72
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x588]
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 0x39
call fcn.0040b040
mov dword [ebp - 0x58c], eax
test eax, eax
je 0x405812
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x58c]
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x39
or edi, 0x10000
push 0x1000
mov dword [ebp - 0x588], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x584]
push 0x4d7564
push eax
call fcn.00408e20
mov esi, dword [ebp - 0x584]
xorps xmm0, xmm0
mov edx, esi
mov dword [ebp - 0x4d4], 0
add esp, 0xc
mov dword [ebp - 0x4d0], 0
movups xmmword [ebp - 0x4e4], xmm0
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404b10
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x3b
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x590]
push eax
push str.RemoteSession
call fcn.004193e0
mov byte [ebp - 4], 0x39
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x404b8b
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404b81
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40581c
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xfffeffff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404be2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x588]
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 0x3d
lea ecx, [ebp - 0x5ac]
call fcn.0043ef00
mov byte [ebp - 4], 0x3e
call fcn.0040b040
mov dword [ebp - 0x58c], eax
test eax, eax
je 0x405821
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x58c]
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x3e
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x58c]
or edi, 0x20000
push eax
lea ecx, [ebp - 0x5ac]
mov dword [ebp - 0x588], edi
call fcn.0043fe90
mov byte [ebp - 4], 0x3e
or eax, 0xffffffff
mov ecx, dword [ebp - 0x58c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404c89
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov byte [ebp - 4], 0x3d
lea eax, [ebp - 0x5ac]
mov dword [ebp - 0x5a0], eax
mov byte [ebp - 4], 0x3d
or eax, 0xffffffff
mov ecx, dword [ebp - 0x5ac]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404cc7
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x584]
xorps xmm0, xmm0
mov edx, esi
mov dword [ebp - 0x4d4], 0
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404cf0
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x43
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x590]
push eax
push str.NetFrameworkVersion
call fcn.004193e0
mov byte [ebp - 4], 0x3d
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x404d6b
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404d61
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40582b
push ecx
push edx
call fcn.00486428
add esp, 8
mov edi, dword [ebp - 0x588]
xor eax, eax
and edi, 0xfffdffff
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404dc2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x598]
lea ecx, [ebp - 0x58c]
call fcn.0040c4d0
mov byte [ebp - 4], 0x45
xorps xmm0, xmm0
mov esi, dword [eax]
mov edx, esi
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404e00
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x46
lea eax, [ebp - 0x4e4]
push eax
push str.IEVersion
mov ecx, edi
call fcn.004193e0
mov byte [ebp - 4], 0x45
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x404e77
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404e6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405830
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 0x58c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x404ec2
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x590], eax
mov byte [ebp - 4], 0x48
call fcn.00427690
mov ecx, 0x4d74e0
mov edi, 0x4d74d8
mov al, byte [eax + 0x115]
test al, al
cmove edi, ecx
call fcn.0040b040
mov dword [ebp - 0x58c], eax
test eax, eax
je 0x405835
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x58c]
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x49
test edi, 0xffff0000
jne 0x404f3a
movzx eax, di
lea ecx, [ebp - 0x584]
push eax
call fcn.0040b3a0
jmp 0x404f5c
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404f40
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x584]
call fcn.0040b720
mov byte [ebp - 4], 0x48
xorps xmm0, xmm0
mov edi, dword [ebp - 0x588]
or edi, 0x40000
mov dword [ebp - 0x588], edi
mov esi, dword [ebp - 0x584]
mov edx, esi
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404fa0
sub edx, ecx
lea ecx, [ebp - 0x4e4]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x4a
lea eax, [ebp - 0x4e4]
mov ecx, dword [ebp - 0x590]
push eax
push str.PackageOSBitness
call fcn.004193e0
mov byte [ebp - 4], 0x48
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x40501b
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405011
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40583f
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
and edi, 0xfffbffff
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x405072
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x588]
mov eax, dword [ebp - 0x59c]
mov esi, dword [ebp - 0x598]
cmp dword [eax + 0x10], 0
jne 0x4050c3
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x4d4], 0
push 0x4d374c
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x4d0], 0
movups xmmword [ebp - 0x4e4], xmm0
call fcn.0040bd30
lea eax, [ebp - 0x4e4]
mov byte [ebp - 4], 0x4c
or edi, 8
jmp 0x4050d9
push eax
lea ecx, [ebp - 0x544]
call fcn.00408100
mov dword [ebp - 4], 0x4d
or edi, 0x10
push eax
push str.PackagingEngine
mov ecx, esi
mov dword [ebp - 0x588], edi
call fcn.004193e0
mov dword [ebp - 4], 0x4c
mov eax, edi
test al, 0x10
je 0x405113
and eax, 0xffffffef
lea ecx, [ebp - 0x544]
mov dword [ebp - 0x588], eax
call fcn.0040bf40
mov eax, dword [ebp - 0x588]
mov dword [ebp - 4], 9
test al, 8
je 0x405184
and eax, 0xfffffff7
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x405167
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40515d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405844
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
push 0x55
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLocaleName]
test eax, eax
jle 0x4051f5
mov edi, dword [ebp - 0x598]
lea eax, [ebp - 0xbc]
sub esp, 8
mov edx, eax
mov esi, esp
lea ecx, [edx + 2]
mov dword [esi], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4051b0
sub edx, ecx
lea ecx, [ebp - 0x544]
sar edx, 1
mov dword [esi + 4], edx
call fcn.0041a0c0
add esp, 8
mov byte [ebp - 4], 0x4e
mov ecx, edi
push eax
push str.Locale
call fcn.004193e0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x544]
call fcn.0040bf40
jmp 0x4052a3
mov esi, dword [ebp - 0x598]
lea ecx, [ebp - 0x4e4]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x4d4], 0
push 0x4d3804
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d0], 0
call fcn.0040bd30
mov byte [ebp - 4], 0x4f
lea eax, [ebp - 0x4e4]
push eax
push str.Locale
mov ecx, esi
call fcn.004193e0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x405286
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40527c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405849
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 7
mov word [ebp - 0x4e4], ax
mov esi, dword [ebp - 0x598]
mov byte [ebp - 4], 0x50
xorps xmm0, xmm0
push 5
push 0x4d8128
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x4d4], 0
movups xmmword [ebp - 0x4e4], xmm0
mov dword [ebp - 0x4d0], 0
call fcn.0040bd30
mov edi, dword [ebp - 0x588]
lea eax, [ebp - 0x4e4]
push eax
or edi, 0x80000
mov ecx, esi
push str.InUpgrade
mov dword [ebp - 0x588], edi
call fcn.004193e0
and edi, 0xfff7ffff
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4d0]
cmp ecx, 7
jbe 0x405352
mov edx, dword [ebp - 0x4e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405348
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40584e
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4d4], 0
mov word [ebp - 0x4e4], ax
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x4d0], 7
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 0x51
call fcn.0040b040
mov dword [ebp - 0x59c], eax
test eax, eax
je 0x405853
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x59c]
call esi
add eax, 0x10
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0x52
mov eax, str.eSave
lea ecx, [ebp - 0x584]
test eax, 0xffff0000
jne 0x4053d1
movzx eax, ax
push eax
call fcn.0040b3a0
jmp 0x4053dd
push 5
push str.eSave
call fcn.0040b720
mov byte [ebp - 4], 0x51
or edi, 0x100000
mov dword [ebp - 0x588], edi
xorps xmm0, xmm0
mov esi, dword [ebp - 0x584]
mov edx, esi
movups xmmword [ebp - 0x4fc], xmm0
mov dword [ebp - 0x4ec], 0
mov dword [ebp - 0x4e8], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x405416
sub edx, ecx
lea ecx, [ebp - 0x4fc]
sar edx, 1
push edx
push esi
call fcn.0040bd30
mov byte [ebp - 4], 0x53
lea eax, [ebp - 0x4fc]
mov ecx, dword [ebp - 0x58c]
push eax
push str.SaveMode
call fcn.004193e0
mov byte [ebp - 4], 0x51
mov ecx, dword [ebp - 0x4e8]
cmp ecx, 7
jbe 0x405491
mov edx, dword [ebp - 0x4fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x405487
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40585d
push ecx
push edx
call fcn.00486428
add esp, 8
xor eax, eax
mov dword [ebp - 0x4ec], 0
and edi, 0xffefffff
mov dword [ebp - 0x4e8], 7
mov word [ebp - 0x4fc], ax
mov dword [ebp - 0x588], edi
mov byte [ebp - 4], 9
or edi, 0xffffffff
lea ecx, [esi - 0x10]
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4054e7
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
or edi, 0xffffffff
mov eax, dword [ebp - 0x5b0]
mov ecx, dword [ebp - 0x594]
mov dword [ebp - 0x5a4], 0
mov dword [ebp - 0x5a0], 0
mov esi, dword [eax + 0x170]
mov byte [eax + 0x19c], 1
test ecx, ecx
je 0x405522
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x594]
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x5a4], eax
mov dword [ebp - 0x5a0], ecx
mov byte [ebp - 4], 0x55
lea eax, [ebp - 0x59c]
push str.PackageHistory.xml
push 0x48c
push eax
call fcn.0040ab70
add esp, 0xc
mov byte [ebp - 4], 0x56
lea ecx, [ebp - 0x5a4]
push ecx
push dword [eax]
mov ecx, esi
call fcn.0043e5d0
mov byte [ebp - 4], 0x55
mov eax, edi
mov ecx, dword [ebp - 0x59c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x405595
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, edi
call esi
or edi, 0xffffffff
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x5a0]
test ecx, ecx
je 0x4055e4
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4055e4
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x5a0]
call esi
mov ecx, dword [ebp - 0x5a0]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x4055e4
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x5a0]
call esi
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x594]
mov dword [ebp - 0x584], ecx
test ecx, ecx
je 0x405639
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x405639
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov ecx, dword [ebp - 0x584]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x405639
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x5bc]
mov dword [ebp - 0x584], ecx
test ecx, ecx
je 0x40568e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40568e
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov ecx, dword [ebp - 0x584]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x40568e
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5b4]
mov dword [ebp - 0x584], ecx
test ecx, ecx
je 0x4056e3
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4056e3
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov ecx, dword [ebp - 0x584]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x4056e3
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c4]
mov dword [ebp - 0x584], ecx
test ecx, ecx
je 0x40573a
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x40573a
mov eax, dword [ecx]
mov esi, dword [eax]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov eax, dword [ebp - 0x584]
lock xadd dword [eax + 8], edi
dec edi
jne 0x40573a
mov eax, dword [eax]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4c83a0]
mov ecx, dword [ebp - 0x584]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048641a
mov esp, ebp
pop ebp
ret 8
call fcn.0048b78f
push 0xfdfe
push 0x8f
lea eax, [ebp - 0x580]
push str.C:ReleaseAI_tools_tweakappvAppV5Package.cpp
push eax
call fcn.00413920
add esp, 0x10
lea eax, [ebp - 0x580]
push 0x4f3e34
push eax
call fcn.004881d5
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
call fcn.0048b78f
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
call fcn.0048b78f
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
call fcn.0048b78f
call fcn.0048b78f
call fcn.0048b78f
push 0x80004005
call fcn.0040b700
call fcn.0048b78f
int3