Function at 0x4215b0
Capabilities:
Get common file path
Get installed programs
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546b05
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x5ec938]
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 ebx, ecx
mov eax, dword [ebx + 0xe894]
xor esi, esi
mov edi, 1
mov dword [ebp - 0x240], esi
mov dword [ebx + 0xc], edi
cmp eax, esi
je 0x4215ff
cmp eax, 5
jne 0x421602
mov dword [ebx + 0xc], esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0xdc54], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0xdc58], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x124], esi
mov dword [ebx + 0x128], esi
mov dword [ebx + 0x12c], esi
mov dword [ebx + 0x13c], esi
mov dword [ebx + 0x134], esi
mov dword [ebx + 0x138], esi
mov dword [ebx + 0x144], esi
mov dword [ebx + 0x140], esi
mov dword [ebx + 0x130], esi
cmp eax, esi
jne 0x421675
call fcn.004184e0
cmp eax, 0xbc2
jne 0x421668
mov dword [ebp - 0x240], edi
jmp 0x421f9c
cmp eax, esi
je 0x421f9c
jmp 0x4229de
cmp eax, 2
jne 0x421f9c
mov edi, edi
lea ecx, [ebx + 0x148]
call fcn.00407c10
test eax, eax
je 0x42199f
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebx + 0x148]
call fcn.00413dc0
mov esi, eax
mov eax, dword [esi]
cmp dword [eax - 4], 1
mov dword [ebp - 4], 0
jle 0x4216c1
mov ecx, dword [eax - 0xc]
push ecx
mov ecx, esi
call fcn.004021c0
mov esi, dword [esi]
push esi
lea ecx, [ebx + 0x148]
call fcn.00408550
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4216f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4220d6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebx + 0x148]
mov dword [ebp - 4], 1
call fcn.0040bc00
mov edx, dword [ebp - 0x22c]
cmp dword [edx - 0xc], 0
mov byte [ebp - 4], 2
jne 0x421785
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebx + 0x148]
call fcn.0040a010
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 3
call fcn.00402930
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4217d3
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebx + 0x148]
call fcn.0040a010
mov edx, dword [ebp - 0x22c]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x220]
push str._s_s
push ecx
mov byte [ebp - 4], 4
call fcn.00403bf0
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4217df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x138], 0
jne 0x42181a
push 0xb8
call fcn.0042c875
add esp, 4
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x42180e
push 0
mov ecx, eax
call fcn.00403db0
jmp 0x421810
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebx + 0x138], eax
lea ecx, [ebp - 0x230]
push ecx
lea ecx, [ebx + 0x148]
call fcn.0040b5f0
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebx + 0x148]
mov byte [ebp - 4], 6
call fcn.00417f20
mov eax, dword [ebp - 0x234]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x23c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 7
call fcn.004023a0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov dword [ebp - 0x21c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 8
call fcn.004023a0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov dword [ebp - 0x228], esp
mov esi, esp
push eax
mov byte [ebp - 4], 9
call fcn.004023a0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebx + 0x138]
add esp, 4
call fcn.00404060
test eax, eax
jne 0x421e1d
mov ecx, dword [ebx + 0x138]
mov eax, dword [ecx]
mov edx, dword [eax + 0x170]
call edx
cmp eax, 2
je 0x421e74
lea ecx, [ebp - 0x22c]
call fcn.004022d0
lea ecx, [ebp - 0x220]
call fcn.004022d0
lea ecx, [ebp - 0x234]
call fcn.004022d0
lea ecx, [ebp - 0x234]
call fcn.004022d0
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42192a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42199f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebx + 0x148]
call fcn.00409420
test eax, eax
jne 0x421f81
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4220d6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0xa
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4220d6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebx + 0x148]
mov byte [ebp - 4], 0xb
call fcn.0040f920
mov ecx, dword [eax]
mov esi, dword [ebp - 0x220]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
mov byte [ebp - 4], 0xc
cmp eax, esi
je 0x421a86
cmp dword [esi + 0xc], 0
jl 0x421a76
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x421a76
push eax
call fcn.004023a0
mov dword [ebp - 0x21c], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x421a65
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x21c]
add ecx, 0x10
mov dword [ebp - 0x220], ecx
jmp 0x421a86
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x220]
call fcn.004026f0
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421aac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x220]
cmp dword [esi - 0xc], 0
jne 0x421af6
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebx + 0x148]
call fcn.0040a010
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0xd
call fcn.00402930
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x421b3e
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebx + 0x148]
call fcn.0040a010
mov edx, dword [eax]
push esi
push edx
lea eax, [ebp - 0x228]
push str._s_s
push eax
mov byte [ebp - 4], 0xe
call fcn.00403bf0
mov eax, dword [ebp - 0x250]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421b4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x13c], 0
jne 0x421b85
push 0xb8
call fcn.0042c875
add esp, 4
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x421b79
push 0
mov ecx, eax
call fcn.00403db0
jmp 0x421b7b
xor eax, eax
mov byte [ebp - 4], 0xb
mov dword [ebx + 0x13c], eax
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebx + 0x148]
call fcn.0040b5f0
push 0x409
mov byte [ebp - 4], 0x10
call fcn.00406be0
add esp, 4
push eax
lea ecx, [ebp - 0x244]
call fcn.00404fe0
mov esi, dword [ebp - 0x244]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x254], esp
mov dword [ebp - 0x21c], esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x421bf1
cmp eax, dword [esi - 0x10]
jne 0x421bf1
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x421c29
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x421eaa
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0052cc82
add esp, 0x10
mov ecx, dword [ebp - 0x21c]
add edi, 0x10
mov dword [ecx], edi
mov edi, dword [ebp - 0x228]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x248], esp
mov dword [ebp - 0x21c], esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x421c72
cmp eax, dword [edi]
jne 0x421c72
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x421cad
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x421eaa
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0052cc82
add esp, 0x10
mov edx, dword [ebp - 0x21c]
add esi, 0x10
mov dword [edx], esi
mov esi, dword [ebp - 0x224]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x23c], esp
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x23c], esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x421cfa
cmp eax, dword [esi]
jne 0x421cfa
mov dword [ebp - 0x21c], esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x421d3f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x421eaa
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 4]
lea edx, [eax + eax + 2]
push edx
add esi, 0x10
push esi
lea eax, [eax + eax + 2]
push eax
add ecx, 0x10
push ecx
call fcn.0052cc82
add esp, 0x10
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x23c]
add ecx, 0x10
mov dword [edx], ecx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebx + 0x13c]
call fcn.00404310
test eax, eax
jne 0x421eaf
mov ecx, dword [ebx + 0x13c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x170]
call edx
cmp eax, 0x7d6
jne 0x421efc
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421da8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421dce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421deb
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421680
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x421680
push 8
push ecx
mov ecx, esp
mov dword [ebp - 0x248], esp
push ecx
lea ecx, [ebx + 0x148]
call fcn.0040b5f0
push 0
call fcn.00416b60
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00402480
lea ecx, [ebp - 0x230]
call fcn.00402480
lea ecx, [ebp - 0x22c]
call fcn.00402480
lea ecx, [ebp - 0x220]
call fcn.00402480
mov eax, 0x643
jmp 0x4229de
lea ecx, [ebp - 0x234]
call fcn.00402480
lea ecx, [ebp - 0x230]
call fcn.00402480
lea ecx, [ebp - 0x22c]
call fcn.00402480
lea ecx, [ebp - 0x220]
call fcn.00402480
mov eax, 0x642
jmp 0x4229de
call fcn.004021b0
mov eax, dword [ebp - 0x224]
push 8
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x248], esp
mov esi, esp
push eax
call fcn.004023a0
add esp, 4
add eax, 0x10
push 0
mov dword [esi], eax
call fcn.00416b60
add esp, 0xc
lea ecx, [ebp - 0x244]
call fcn.00402480
lea ecx, [ebp - 0x224]
call fcn.00402480
lea ecx, [ebp - 0x228]
jmp 0x421e5a
cmp eax, 2
jne 0x421f22
lea ecx, [ebp - 0x244]
call fcn.00402480
lea ecx, [ebp - 0x224]
call fcn.00402480
lea ecx, [ebp - 0x228]
jmp 0x421e90
lea ecx, [ebp - 0x220]
call fcn.004022d0
lea ecx, [ebp - 0x228]
call fcn.004022d0
lea ecx, [ebp - 0x244]
call fcn.004022d0
lea ecx, [ebp - 0x244]
call fcn.004022d0
lea ecx, [ebp - 0x244]
call fcn.00402480
lea ecx, [ebp - 0x224]
call fcn.00402480
lea ecx, [ebp - 0x228]
call fcn.00402480
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
call fcn.00402480
mov ecx, ebx
call fcn.00418310
cmp eax, 9
je 0x421e6a
cmp eax, 1
jne 0x421f9c
mov dword [ebp - 0x240], eax
lea esi, [ebx + 0x148]
lea edx, [ebp - 0x238]
xor edi, edi
push edx
mov ecx, esi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x220], esi
call fcn.00407890
mov dword [ebp - 0x228], eax
mov eax, dword [ebx + 0xe894]
cmp eax, 1
jne 0x42200c
mov eax, dword [ebp - 0x238]
push eax
mov ecx, esi
call fcn.00407bf0
cmp dword [ebx + 8], edi
jne 0x4229dc
push 6
push ecx
mov ecx, esp
mov dword [ebp - 0x248], esp
push ecx
mov ecx, esi
call fcn.0040b5f0
push edi
call fcn.00416b60
add esp, 0xc
mov eax, 0x8c
jmp 0x4229de
cmp eax, 2
je 0x42201a
cmp eax, 3
jne 0x42216e
cmp dword [ebx + 8], edi
je 0x42202c
cmp dword [ebx + 0xe888], 1
je 0x42216e
cmp dword [ebx + 0x130], edi
jne 0x42216e
push 0x184
call fcn.0042c875
add esp, 4
mov dword [ebp - 0x248], eax
mov dword [ebp - 4], 0x14
cmp eax, edi
je 0x422060
push edi
mov ecx, eax
call fcn.00423ca0
jmp 0x422062
xor eax, eax
mov dword [ebx + 0x130], eax
mov edx, dword [eax]
push edi
mov ecx, eax
mov eax, dword [edx + 0x160]
or esi, 0xffffffff
push 0x6b
mov dword [ebp - 4], esi
call eax
mov ecx, dword [ebx + 0x130]
push 5
call fcn.004347fe
mov eax, dword [ebx + 0x130]
cmp eax, edi
jne 0x422098
xor eax, eax
jmp 0x42209b
mov eax, dword [eax + 0x20]
push edi
push 0x404
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x130]
cmp eax, edi
jne 0x4220bd
xor eax, eax
jmp 0x4220c0
mov eax, dword [eax + 0x20]
mov dword [ebx + 0xe8a4], eax
call fcn.00436219
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4220e0
push 0x80004005
call fcn.00401ed0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x407
mov dword [ebp - 4], 0x15
call fcn.00436134
cmp eax, edi
je 0x42211c
push 0x407
push eax
lea ecx, [ebp - 0x224]
call fcn.004025b0
cmp eax, edi
jne 0x422131
lea ecx, [ebp - 0x224]
call fcn.00402480
mov eax, 0x643
jmp 0x4229de
mov eax, dword [ebx + 0x130]
cmp eax, edi
jne 0x42213f
xor eax, eax
jmp 0x422142
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0x224]
push ecx
push 0x405
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
lea ecx, [ebp - 0x224]
call fcn.004022d0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], esi
call fcn.00402480
mov dword [ebp - 0x22c], edi
cmp dword [ebp - 0x228], edi
jbe 0x42237d
mov dword [ebp - 0x21c], 0
lea ebx, [ebx]
mov edx, dword [ebp - 0x238]
add edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x224]
push edx
push 0
push ecx
mov ecx, ebx
call fcn.0041bec0
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x23c]
push edx
sub esp, 0x114
mov edi, esp
mov ecx, 0x45
lea esi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x23c], 0
call fcn.00413800
test eax, eax
je 0x4221fc
mov ecx, dword [ebp - 0x220]
call fcn.00407240
test eax, eax
je 0x422413
call fcn.00436219
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x4220d6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x238]
mov edi, dword [ebp - 0x21c]
lea edx, [ecx + edi + 0x208]
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea eax, [ebp - 0x230]
push str._s_s
push eax
mov byte [ebp - 4], 0x18
call fcn.00403bf0
mov esi, dword [ebp - 0x230]
add esp, 0x10
lea ecx, [ebp - 0x234]
push ecx
push 1
push 0
push esi
push 0x80000002
mov dword [ebp - 0x234], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x422297
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x16
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x422327
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x422302
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x238]
cmp dword [eax + edi + 0xe40], 0
je 0x422302
push 0x15
push 0
push ecx
lea edx, [eax + edi + 0xe44]
mov ecx, esp
mov dword [ebp - 0x248], esp
push edx
call fcn.00404fe0
push ecx
mov ecx, dword [ebp - 0x220]
mov eax, esp
mov dword [ebp - 0x254], esp
push eax
mov byte [ebp - 4], 0x19
call fcn.0040b5f0
push 0
mov byte [ebp - 4], 0x18
call fcn.00414f10
add esp, 0x14
cmp eax, 2
je 0x4224ad
lea ecx, [ebp - 0x230]
call fcn.004022d0
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422333
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422358
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
inc eax
add edi, 0x1248
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], edi
cmp eax, dword [ebp - 0x228]
jb 0x422190
xor edi, edi
cmp dword [ebp - 0x228], edi
jbe 0x4223cf
xor esi, esi
lea esp, [esp]
mov ecx, dword [ebp - 0x238]
lea edx, [ecx + esi + 0x208]
push edx
mov ecx, ebx
call fcn.0041c130
cmp eax, 0x642
je 0x422516
cmp eax, 0xffffffff
je 0x422532
inc edi
add esi, 0x1248
mov dword [ebx + 0xc], 1
cmp edi, dword [ebp - 0x228]
jb 0x422390
cmp dword [ebx + 8], 0
jne 0x42254e
mov ecx, ebx
call fcn.0041e420
test eax, eax
jne 0x42254e
push 0xc
push ecx
mov ecx, dword [ebp - 0x220]
mov edx, esp
mov dword [ebp - 0x248], esp
push edx
call fcn.0040b5f0
push 0
call fcn.00416b60
add esp, 0xc
mov eax, 0x27
jmp 0x4229de
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x238]
imul eax, eax, 0x1248
push 7
push 0
push ecx
lea edx, [eax + ecx + 0x410]
mov ecx, esp
mov dword [ebp - 0x248], esp
push edx
call fcn.00404fe0
mov esi, dword [ebp - 0x220]
push ecx
mov eax, esp
mov dword [ebp - 0x254], esp
push eax
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.0040b5f0
push 0
mov byte [ebp - 4], 0x16
call fcn.00414f10
mov ecx, dword [ebp - 0x238]
add esp, 0x14
push ecx
mov ecx, esi
call fcn.00407bf0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421e6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x643
jmp 0x4229de
mov ecx, dword [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.00407bf0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x16
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4224df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x642
jmp 0x4229de
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x220]
push eax
call fcn.00407bf0
mov eax, 0x642
jmp 0x4229de
mov ecx, dword [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x220]
call fcn.00407bf0
mov eax, 0x642
jmp 0x4229de
mov ecx, ebx
call fcn.0041d400
cmp eax, 0xbc2
jne 0x422568
mov dword [ebp - 0x240], 1
jmp 0x422570
test eax, eax
jne 0x421e6a
mov edi, dword [ebp - 0x220]
lea eax, [ebp - 0x22c]
push eax
mov ecx, edi
call fcn.00409a70
lea ecx, [ebp - 0x230]
push ecx
mov ecx, edi
mov dword [ebp - 4], 0x1a
call fcn.00413df0
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x22c]
push edx
lea ecx, [ebx + 0xdd9c]
push eax
mov byte [ebp - 4], 0x1b
call fcn.00427860
mov ecx, ebx
call fcn.00414070
mov ecx, ebx
call fcn.00421320
mov esi, eax
test esi, esi
je 0x422639
cmp esi, 0xbc2
je 0x42262f
mov ecx, ebx
call fcn.00414a10
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4225ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422628
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x4229de
mov dword [ebp - 0x240], 1
mov ecx, edi
call fcn.00407110
mov esi, eax
xor eax, eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], eax
cmp dword [ebp + 8], eax
jne 0x4226a3
cmp esi, 2
jne 0x422680
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x224]
push edx
push 1
push eax
mov ecx, ebx
call fcn.004141b0
mov eax, dword [ebp - 0x21c]
jmp 0x4226c6
mov edx, dword [ebp - 0x240]
push 0
lea ecx, [ebp - 0x224]
push ecx
push 0
push edx
mov ecx, ebx
call fcn.004141b0
cmp esi, 1
je 0x4226ce
jmp 0x422829
test esi, esi
je 0x4226b8
cmp dword [ebx + 4], eax
je 0x4226b1
cmp esi, 2
je 0x4226b8
mov eax, 1
jmp 0x4226ba
xor eax, eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x224], ecx
test eax, eax
je 0x422829
xor esi, esi
push esi
lea edx, [ebp - 0x234]
push edx
mov ecx, edi
mov dword [ebp - 0x234], esi
call fcn.0040da30
mov dword [ebp - 0x228], eax
cmp eax, esi
jbe 0x42282b
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x218], ax
call fcn.0052c850
add esp, 0xc
push esi
push 0x19
lea edx, [ebp - 0x218]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x42278f
lea eax, [ebp - 0x21c]
push eax
push 1
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
mov dword [ebp - 0x21c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42278f
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x250]
push eax
push esi
push str.Common_Desktop
push ecx
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x23c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x228], 0
mov esi, dword [ebp - 0x234]
jbe 0x4227cd
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x21c], eax
lea ebx, [ebx]
push esi
lea ecx, [ebp - 0x218]
push ecx
mov ecx, ebx
call fcn.00412540
add esi, 0x824
dec dword [ebp - 0x21c]
jne 0x4227b0
mov edx, dword [ebp - 0x234]
push edx
mov ecx, edi
call fcn.00407bf0
push 0
lea eax, [ebp - 0x218]
push eax
push 5
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 0x2dc]
call fcn.0042f0a6
mov byte [ebp - 4], 0x1c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0042ffa7
mov ecx, dword [eax + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x1b
call fcn.00431331
xor esi, esi
push esi
push str._InstallEndCall_
lea edx, [ebp - 0x24c]
push edx
mov ecx, edi
mov dword [ebp - 0x24c], esi
call fcn.00410910
cmp eax, esi
jbe 0x42286d
mov ecx, dword [ebx + 4]
mov edx, dword [ebp - 0x24c]
push ecx
push 1
push esi
push edx
push eax
mov ecx, ebx
call fcn.00417460
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, edi
call fcn.00407bf0
cmp dword [ebp - 0x224], esi
jne 0x42290b
cmp dword [ebx + 8], esi
jne 0x42290b
push str._InstallEndCall_
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
mov dword [ebp - 0x21c], esi
call fcn.00407ee0
cmp eax, esi
je 0x4228b6
mov edx, dword [ebx + 4]
mov eax, dword [ebp - 0x21c]
push edx
push 1
push esi
push eax
push 1
mov ecx, ebx
call fcn.00417460
mov ecx, dword [ebp - 0x21c]
push ecx
mov ecx, edi
call fcn.00407bf0
cmp dword [ebx + 8], esi
jne 0x42290b
push str._InstallEndCall_
lea edx, [ebp - 0x21c]
push edx
mov ecx, edi
mov dword [ebp - 0x21c], esi
call fcn.00408100
cmp eax, esi
je 0x4228fd
mov eax, dword [ebx + 4]
mov ecx, dword [ebp - 0x21c]
push eax
push 1
push esi
push ecx
push 1
mov ecx, ebx
call fcn.00417460
mov edx, dword [ebp - 0x21c]
push edx
mov ecx, edi
call fcn.00407bf0
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebx + 0xdd9c]
call fcn.004272c0
push 1
lea ecx, [ebx + 0xdd9c]
call fcn.004276e0
mov ecx, edi
call fcn.004087a0
test eax, eax
je 0x422946
mov ecx, ebx
call fcn.00414cc0
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1a
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp dword [ebp - 0x224], 0
je 0x4229a5
test edx, edx
jg 0x422975
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42299e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xbc2
jmp 0x4229de
test edx, edx
jg 0x4229b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4229dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
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.0052c2ec
mov esp, ebp
pop ebp
ret 4