Function at 0x404010
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46cc48
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x491830]
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 0x404488
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 0x404488
cmp dword [esp + 0x24], edi
ja 0x404488
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
call fcn.00406f00
push str.10_3_102_64
lea ecx, [esp + 0x1c]
mov dword [esp + 0x254], ebp
call fcn.00406f00
mov byte [esp + 0x250], 1
mov bl, 3
or edi, 0xffffffff
push 0x47927c
lea ecx, [esp + 0x24]
call fcn.00406f00
push 0x47927c
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 2
call fcn.00406f00
mov byte [esp + 0x250], bl
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x4041d9
push 0x2c
push eax
call fcn.0044f0b8
add esp, 8
test eax, eax
je 0x4041d9
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, edi
je 0x4041d9
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405af0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x254], 4
call fcn.004068d0
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 0x404184
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.00405a40
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 5
call fcn.004068d0
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 0x4041e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4041e7
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.004068d0
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jle 0x4042b4
push 0x2c
push eax
call fcn.0044f0b8
add esp, 8
test eax, eax
je 0x4042b4
sub eax, dword [esp + 0x18]
sar eax, 1
mov esi, eax
cmp esi, edi
je 0x4042b4
push esi
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x20]
call fcn.00405af0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 6
call fcn.004068d0
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 0x40425f
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.00405a40
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], 7
call fcn.004068d0
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 0x4042c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4042c2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.004068d0
mov eax, dword [esp + 0x20]
push eax
call fcn.0044ee5d
mov edx, dword [esp + 0x20]
push edx
mov esi, eax
call fcn.0044ee5d
add esp, 8
cmp esi, eax
jg 0x40435d
mov eax, dword [esp + 0x20]
push eax
call fcn.0044ee5d
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.0044ee5d
add esp, 8
mov byte [esp + 0x250], 2
cmp esi, eax
mov eax, dword [esp + 0x1c]
mov edx, edi
jl 0x4043fd
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404327
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 0x40434e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebp
cmp ebp, 4
jl 0x4040e1
jmp 0x40443d
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 0x404384
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 0x4043ab
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 0x4043d2
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 0x4043f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x40448a
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404416
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 0x40443d
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 0x404464
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 0x404488
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.0044e3af
add esp, 0x240
ret