Function at 0x4041d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46cb78
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x491870]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491870]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
push eax
push 1
xor ebp, ebp
push ebp
push str.SOFTWAREMacromediaFlashPlayer
mov edi, 0x208
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404648
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
push ebp
push ebp
push str.CurrentVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x28]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebp
jne 0x404648
cmp dword [esp + 0x24], edi
ja 0x404648
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
call fcn.00407570
push str.10_3_102_64
lea ecx, [esp + 0x1c]
mov dword [esp + 0x254], ebp
call fcn.00407570
mov byte [esp + 0x250], 1
mov bl, 3
or edi, 0xffffffff
push 0x4792fc
lea ecx, [esp + 0x24]
call fcn.00407570
push 0x4792fc
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 2
call fcn.00407570
mov byte [esp + 0x250], bl
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x404399
push 0x2c
push eax
call fcn.0044ef45
add esp, 8
test eax, eax
je 0x404399
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, edi
je 0x404399
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405d80
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x254], 4
call fcn.00406f70
mov byte [esp + 0x250], bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404344
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
inc esi
push esi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
call fcn.00405cd0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 5
call fcn.00406f70
mov byte [esp + 0x250], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4043a7
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00406f70
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jle 0x404474
push 0x2c
push eax
call fcn.0044ef45
add esp, 8
test eax, eax
je 0x404474
sub eax, dword [esp + 0x18]
sar eax, 1
mov esi, eax
cmp esi, edi
je 0x404474
push esi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
call fcn.00405d80
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 6
call fcn.00406f70
mov byte [esp + 0x250], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40441f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
sub eax, esi
dec eax
push eax
inc esi
push esi
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call fcn.00405cd0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], 7
call fcn.00406f70
mov byte [esp + 0x250], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x404482
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00406f70
mov eax, dword [esp + 0x20]
push eax
call fcn.0044eb0e
mov edx, dword [esp + 0x20]
push edx
mov esi, eax
call fcn.0044eb0e
add esp, 8
cmp esi, eax
jg 0x40451d
mov eax, dword [esp + 0x20]
push eax
call fcn.0044eb0e
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0044eb0e
add esp, 8
mov byte [esp + 0x250], 2
cmp esi, eax
mov eax, dword [esp + 0x1c]
mov edx, edi
jl 0x4045bd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40450e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, 4
jl 0x4042a1
jmp 0x4045fd
mov byte [esp + 0x250], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404544
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40456b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404592
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x250], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4045b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x40464a
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x250], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov edx, edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404624
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x250], edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x404648
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0044dee5
add esp, 0x240
ret