Function at 0x100562b0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f7bf
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x101ed40c]
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 edi, ecx
mov dword [ebp - 0x468], edi
lea esi, [edi + 0x18]
mov dword [ebp - 0x464], 0
push esi
mov dword [ebp - 0x478], esi
call fcn.100a49b9
add esp, 4
test eax, eax
je 0x1005630f
push eax
call fcn.100a4e38
add esp, 4
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov dword [ebp - 4], 0
cmp edi, ebx
je 0x10056338
nop
mov ecx, edi
call fcn.10055da0
add edi, 0x18
cmp edi, ebx
jne 0x10056320
mov eax, dword [ebp - 0x468]
mov edi, dword [eax]
jmp 0x1005633e
mov eax, dword [ebp - 0x468]
mov dword [eax + 4], edi
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10057177
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x45c], eax
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10057181
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x458], eax
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x1005718b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x454], eax
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10057195
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x450], eax
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x1005719f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44c], eax
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x100571a9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x448], eax
mov byte [ebp - 4], 1
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x100571b3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x470], edi
push 0x1fe
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.1014de30
push 0x1fe
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1014de30
add esp, 0x18
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x430], 0xff
xorps xmm0, xmm0
mov dword [ebp - 0x414], 0xff
movq qword [ebp - 0x42c], xmm0
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x478]
mov dword [ebp - 0x418], 7
push eax
lea eax, [ebp - 0x49c]
mov dword [ebp - 0x49c], VariantClear
push eax
mov byte [ebp - 0x498], 0
mov dword [ebp - 0x494], reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x490], 0
mov dword [ebp - 0x48c], reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 0x488], 1
mov dword [ebp - 0x484], VariantClear
mov byte [ebp - 0x480], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
call fcn.100416b0
mov edx, dword [ebp - 0x42c]
or ebx, 0xffffffff
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 3
mov dword [ebp - 0x46c], edx
mov dword [ebp - 0x47c], eax
cmp edx, eax
je 0x100570ba
mov esi, edx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call fcn.10043000
mov ecx, eax
test ecx, ecx
je 0x10057177
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x444], eax
xor eax, eax
mov byte [ebp - 4], 4
cmp byte [esi + 4], al
mov ecx, 0x100
push 0x33
cmovne eax, ecx
lea ecx, [ebp - 0x444]
or eax, 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov dword [ebp - 0x474], eax
call fcn.10043c10
cmp dword [esi], 0x80000003
jne 0x100569f1
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0
push eax
call fcn.10092160
add esp, 4
mov dword [ebp - 0x41c], 0
mov eax, dword [ebp - 0x420]
mov byte [ebp - 4], 6
mov dword [ebp - 0x440], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100565be
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100565d2
call fcn.10043000
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x10057177
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 0x464], 1
lea esi, [eax + 0x10]
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x460], eax
mov ebx, dword [eax - 0xc]
mov dword [ebp - 0x43c], ebx
lea edx, [ebx + 1]
test edx, edx
js 0x100571c2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x1005662c
push edx
lea ecx, [ebp - 0x440]
call fcn.100430f0
mov esi, dword [ebp - 0x440]
add ebx, ebx
push ebx
push dword [ebp - 0x460]
push ebx
push esi
call fcn.10044e40
lea ecx, [ebx + esi]
add esp, 0x10
test ecx, ecx
jne 0x10056658
call fcn.101514a6
mov dword [eax], 0x16
call fcn.101513cc
jmp 0x10056661
mov ax, word [0x1019f360]
mov word [ecx], ax
mov eax, dword [ebp - 0x43c]
inc eax
cmp eax, dword [esi - 8]
jg 0x100571c2
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x440]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push eax
lea eax, [ebp - 0x41c]
push eax
call fcn.1004e6f0
add esp, 0xc
and dword [ebp - 0x464], 0xfffffffe
mov byte [ebp - 4], 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100566b8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x41c]
mov esi, dword [ebp - 0x444]
lea edx, [eax - 0x10]
lea ebx, [esi - 0x10]
cmp edx, ebx
je 0x1005672c
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x10056711
mov ecx, dword [edx]
cmp ecx, dword [ebx]
jne 0x10056711
push edx
call fcn.10042e70
add esp, 4
mov dword [ebp - 0x43c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x10056706
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x43c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x444], esi
jmp 0x10056726
push dword [eax - 0xc]
lea ecx, [ebp - 0x444]
push eax
call fcn.10043c10
mov esi, dword [ebp - 0x444]
mov eax, dword [ebp - 0x41c]
or ebx, 0xffffffff
mov byte [ebp - 4], 5
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005674a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x420]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1005676b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x46c]
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x474]
push 0
push esi
push dword [edx]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10057075
push eax
push eax
push eax
push eax
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10057069
nop word [eax + eax]
inc dword [ebp - 0x460]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x470]
push 0x1019f364
push eax
call fcn.1004e910
mov edi, dword [ebp - 0x470]
add esp, 0xc
cmp dword [edi - 0xc], 0
je 0x10057032
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x474]
push 0
push edi
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10057012
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x434]
call ebx
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056852
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.10043c10
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.DisplayIcon
push dword [ebp - 0x434]
call ebx
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100568c1
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x448]
call fcn.10043c10
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.DisplayVersion
push dword [ebp - 0x434]
call ebx
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056930
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x458]
call fcn.10043c10
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x434]
call ebx
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100569a0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.10043c10
mov ebx, dword [ebp - 0x454]
xor edx, edx
mov ecx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x10056a61
mov ebx, eax
nop word [eax + eax]
cmp bx, 0x22
jne 0x100569fc
test edx, edx
mov eax, ecx
cmovne eax, edx
mov edx, eax
jmp 0x100569fe
mov esi, dword [ebp - 0x444]
jmp 0x10056771
xor edx, edx
movzx eax, word [ecx + 2]
add ecx, 2
mov ebx, eax
test ax, ax
jne 0x100569e0
mov ebx, dword [ebp - 0x454]
test edx, edx
je 0x10056a61
sub edx, ebx
sar edx, 1
mov dword [ebp - 0x43c], edx
js 0x100571c2
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edx
or eax, ecx
jge 0x10056a4f
push edx
lea ecx, [ebp - 0x454]
call fcn.100430f0
mov ebx, dword [ebp - 0x454]
mov edx, dword [ebp - 0x43c]
cmp edx, dword [ebx - 8]
jg 0x100571c2
xor eax, eax
mov dword [ebx - 0xc], edx
mov word [ebx + edx*2], ax
mov ecx, 0x22
mov eax, ebx
cmp cx, word [ebx]
jne 0x10056b11
add eax, 2
cmp cx, word [eax]
je 0x10056a71
cmp eax, ebx
je 0x10056b11
mov edx, dword [ebx - 0xc]
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x43c], eax
test edx, edx
js 0x100571c2
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edx
or eax, ecx
jge 0x10056ab9
push edx
lea ecx, [ebp - 0x454]
call fcn.100430f0
mov ebx, dword [ebp - 0x454]
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebx - 0xc]
mov dword [ebp - 0x440], ecx
sub dword [ebp - 0x440], eax
lea edx, [ebx + eax*2]
mov eax, dword [ebp - 0x440]
lea eax, [eax*2 + 2]
push eax
push edx
lea eax, [ecx*2 + 2]
push eax
push ebx
call fcn.10044dc0
mov eax, dword [ebp - 0x440]
add esp, 0x10
test eax, eax
js 0x100571c2
cmp eax, dword [ebx - 8]
jg 0x100571c2
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
cmp dword [ebx - 0xc], 0
jne 0x10056ea4
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.LocationRoot
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056b70
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.10043c10
mov ebx, dword [ebp - 0x454]
xor edx, edx
mov ecx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x10056c1c
mov ebx, eax
cmp bx, 0x22
jne 0x10056bb7
test edx, edx
mov eax, ecx
cmovne eax, edx
mov edx, eax
jmp 0x10056bb9
xor edx, edx
movzx eax, word [ecx + 2]
add ecx, 2
mov ebx, eax
test ax, ax
jne 0x10056ba6
mov ebx, dword [ebp - 0x454]
test edx, edx
je 0x10056c1c
sub edx, ebx
sar edx, 1
mov dword [ebp - 0x43c], edx
js 0x100571c2
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edx
or eax, ecx
jge 0x10056c0a
push edx
lea ecx, [ebp - 0x454]
call fcn.100430f0
mov ebx, dword [ebp - 0x454]
mov edx, dword [ebp - 0x43c]
cmp edx, dword [ebx - 8]
jg 0x100571c2
xor eax, eax
mov dword [ebx - 0xc], edx
mov word [ebx + edx*2], ax
mov ecx, 0x22
mov eax, ebx
cmp cx, word [ebx]
jne 0x10056cd0
nop dword [eax]
add eax, 2
cmp cx, word [eax]
je 0x10056c30
cmp eax, ebx
je 0x10056cd0
mov edx, dword [ebx - 0xc]
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x43c], eax
test edx, edx
js 0x100571c2
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edx
or eax, ecx
jge 0x10056c78
push edx
lea ecx, [ebp - 0x454]
call fcn.100430f0
mov ebx, dword [ebp - 0x454]
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebx - 0xc]
mov dword [ebp - 0x440], ecx
sub dword [ebp - 0x440], eax
lea edx, [ebx + eax*2]
mov eax, dword [ebp - 0x440]
lea eax, [eax*2 + 2]
push eax
push edx
lea eax, [ecx*2 + 2]
push eax
push ebx
call fcn.10044dc0
mov eax, dword [ebp - 0x440]
add esp, 0x10
test eax, eax
js 0x100571c2
cmp eax, dword [ebx - 8]
jg 0x100571c2
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
cmp dword [ebx - 0xc], 0
jne 0x10056ea4
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.InstallSource
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056d30
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.10043c10
mov edx, dword [ebp - 0x454]
xor ebx, ebx
mov ecx, edx
movzx eax, word [edx]
test ax, ax
je 0x10056dd0
mov edx, eax
cmp dx, 0x22
jne 0x10056d77
test ebx, ebx
mov eax, ecx
cmovne eax, ebx
mov ebx, eax
jmp 0x10056d79
xor ebx, ebx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x10056d66
mov edx, dword [ebp - 0x454]
test ebx, ebx
je 0x10056dd0
sub ebx, edx
sar ebx, 1
js 0x100571c2
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, ebx
or eax, ecx
jge 0x10056dbe
push ebx
lea ecx, [ebp - 0x454]
call fcn.100430f0
mov edx, dword [ebp - 0x454]
cmp ebx, dword [edx - 8]
jg 0x100571c2
xor eax, eax
mov dword [edx - 0xc], ebx
mov word [edx + ebx*2], ax
mov eax, 0x22
mov ebx, edx
cmp ax, word [edx]
jne 0x10056e84
add ebx, 2
cmp ax, word [ebx]
je 0x10056de0
cmp ebx, edx
je 0x10056e84
mov eax, dword [edx - 0xc]
sub ebx, edx
sar ebx, 1
mov dword [ebp - 0x43c], eax
test eax, eax
js 0x100571c2
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, dword [edx - 0xc]
or eax, ecx
jge 0x10056e2e
push dword [ebp - 0x43c]
lea ecx, [ebp - 0x454]
call fcn.100430f0
mov edx, dword [ebp - 0x454]
mov ecx, dword [ebp - 0x454]
lea edx, [edx + ebx*2]
mov ecx, dword [ecx - 0xc]
mov eax, ecx
sub eax, ebx
mov ebx, dword [ebp - 0x454]
mov dword [ebp - 0x43c], eax
lea eax, [eax*2 + 2]
push eax
push edx
lea eax, [ecx*2 + 2]
push eax
push ebx
call fcn.10044dc0
mov eax, dword [ebp - 0x43c]
add esp, 0x10
test eax, eax
js 0x100571c2
cmp eax, dword [ebx - 8]
jg 0x100571c2
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.Publisher
push dword [ebp - 0x434]
call ebx
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056ed7
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.10043c10
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x434]
call ebx
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056f46
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44c]
call fcn.10043c10
push 0xff
lea eax, [ebp - 0x210]
mov dword [ebp - 0x414], 0xff
push 0
push eax
call fcn.1014de30
mov eax, dword [ebp - 0x45c]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x10057012
mov ecx, dword [edi - 0xc]
test ecx, ecx
js 0x100571c2
cmp word [edi], 0x4b
jne 0x10056fdc
cmp ecx, 1
jl 0x100571c2
cmp word [edi + 2], 0x42
jne 0x10056fdc
mov ebx, dword [ebp - 0x468]
lea ecx, [ebp - 0x45c]
push ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
je 0x10056fd7
mov ecx, eax
call fcn.10055c70
add dword [ebx + 0x10], 0x18
jmp 0x10057012
lea ecx, [ebx + 0xc]
jmp 0x1005700c
mov eax, dword [ebp - 0x454]
cmp dword [eax - 0xc], 0
je 0x10057012
mov ebx, dword [ebp - 0x468]
lea ecx, [ebp - 0x45c]
push ecx
mov eax, dword [ebx + 4]
cmp dword [ebx + 8], eax
je 0x1005700a
mov ecx, eax
call fcn.10055c70
add dword [ebx + 4], 0x18
jmp 0x10057012
mov ecx, ebx
push eax
call fcn.10055970
push 0xff
lea eax, [ebp - 0x410]
mov dword [ebp - 0x430], 0xff
push 0
push eax
call fcn.1014de30
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x410]
push eax
mov eax, dword [ebp - 0x460]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100567d0
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10057093
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x46c]
add esi, 8
mov dword [ebp - 0x46c], esi
cmp esi, dword [ebp - 0x47c]
jne 0x1005651a
mov edx, dword [ebp - 0x42c]
mov esi, dword [ebp - 0x478]
mov byte [ebp - 4], 2
test edx, edx
je 0x1005711a
mov eax, dword [ebp - 0x424]
sub eax, edx
sar eax, 3
lea ecx, [eax*8]
mov eax, edx
cmp ecx, 0x1000
jb 0x100570f2
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100571bd
push ecx
push edx
call fcn.1012659a
add esp, 8
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10057133
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x45c]
call fcn.10055da0
push esi
mov dword [ebp - 4], 9
call fcn.100a4a14
add esp, 4
test eax, eax
je 0x1005715b
push eax
call fcn.100a4e38
add esp, 4
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.10126919
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
push 0x80004005
call fcn.10042d10
call fcn.101513dc
push 0x80070057
call fcn.10042d10
int3