Function at 0x425850
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47863e
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4a6024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x280], ecx
mov cl, byte [ebp + 8]
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp + 0x10]
mov edx, str.SoftwareJavaSoftJava_Runtime_Environment_
or eax, 0x20019
test cl, cl
push eax
push 0
mov eax, 0x490858
cmove eax, edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425f23
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x28c], 0x490914
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov byte [ebp - 4], 1
xor edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x230], edi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x27c], 0x208
push ecx
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x425eb0
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x425f4a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x258], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x42598b
movzx eax, ax
lea ecx, [ebp - 0x258]
push eax
call fcn.00404b50
jmp 0x4259b6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425994
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.00404e30
mov byte [ebp - 4], 3
lea eax, [ebp - 0x258]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x22c]
movups xmmword [ebp - 0x22c], xmm0
call fcn.00427130
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425a03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
nop word [eax + eax]
mov ecx, dword [ebp - 0x280]
mov ecx, dword [ecx + eax*4]
cmp dword [ebp + eax*4 - 0x22c], ecx
jl 0x425b41
jg 0x425a2e
inc eax
cmp eax, 4
jl 0x425a10
lea eax, [ebp - 0x284]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425eaa
mov dword [ebp - 0x23c], 0x490914
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x284]
mov eax, dword [ebp - 0x238]
cmp esi, eax
je 0x425a92
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x23c]
call dword [eax + 4]
mov eax, esi
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x268]
push ecx
push 0
push 0
push 0
push str.JavaHome
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x425e6d
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004528d8
mov esi, eax
add esp, 4
mov dword [ebp - 0x260], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x268]
push eax
push esi
push 0
push 0
push str.JavaHome
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x425b50
mov byte [ebp - 4], 5
push esi
call fcn.00452f38
add esp, 4
mov dword [ebp - 0x260], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x23c], 0x490914
test eax, eax
je 0x425b41
push eax
call esi
mov dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x234]
inc edi
jmp 0x42590e
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
test eax, eax
je 0x425bd3
push 0x14
push eax
call fcn.0045d4e6
add esp, 8
mov dword [ebp - 0x254], eax
test eax, eax
je 0x425bd3
mov eax, dword [ebp - 0x244]
xor edi, edi
mov dword [ebp - 0x24c], eax
test eax, eax
jle 0x425bd3
xor esi, esi
test esi, esi
js 0x425f3e
cmp edi, eax
jge 0x425f3e
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x254]
add eax, esi
push eax
call fcn.00426170
mov eax, dword [ebp - 0x244]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x425ba1
mov byte [ebp - 4], 8
xor esi, esi
mov eax, dword [ebp - 0x250]
test eax, eax
jle 0x425c30
mov edi, dword [ebp - 0x254]
lea ecx, [ebp - 0x22c]
sub edi, ecx
test esi, esi
js 0x425f3e
cmp esi, eax
jge 0x425f3e
xor eax, eax
lea ecx, [edi + eax*4]
mov ecx, dword [ebp + ecx - 0x22c]
cmp ecx, dword [ebp + eax*4 - 0x22c]
jl 0x425cbc
jg 0x425c22
inc eax
cmp eax, 4
jl 0x425c03
mov eax, dword [ebp - 0x250]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x425bf1
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x425c51
push eax
call fcn.0045d2c8
add esp, 4
mov dword [ebp - 0x254], 0
or esi, 0xffffffff
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x24c], 0
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x250], 0
call fcn.00426170
call fcn.00403270
mov ecx, eax
test ecx, ecx
je 0x425f4a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x260]
test edi, 0xffff0000
jne 0x425ce2
movzx eax, di
lea ecx, [ebp - 0x25c]
push eax
call fcn.00404b50
jmp 0x425d03
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x425c54
push eax
call fcn.0045d2c8
add esp, 4
mov dword [ebp - 0x254], 0
jmp 0x425c54
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425ce7
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x25c]
call fcn.00404e30
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x25c]
mov ecx, dword [ebp - 0x274]
push eax
call fcn.0041b690
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x25c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425d3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x425e19
test esi, esi
js 0x425e0c
mov ecx, dword [ebp - 0x244]
cmp ecx, 1
jl 0x425e0c
lea edi, [ecx - 1]
test edi, edi
js 0x425f3e
cmp edi, ecx
jge 0x425f3e
mov eax, dword [ebp - 0x248]
lea edx, [edi + edi*4]
shl edx, 2
movups xmm0, xmmword [eax + edx]
mov eax, dword [eax + edx + 0x10]
mov dword [ebp - 0x21c], eax
movups xmmword [ebp - 0x22c], xmm0
cmp edi, esi
jle 0x425df3
lea eax, [edi - 1]
add edx, 0xffffffec
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], edx
test eax, eax
js 0x425f3e
cmp eax, ecx
jge 0x425f3e
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
add eax, edx
push eax
push edi
call fcn.00426830
mov eax, dword [ebp - 0x26c]
dec edi
mov edx, dword [ebp - 0x270]
dec eax
sub edx, 0x14
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x270], edx
cmp edi, esi
jle 0x425df3
mov ecx, dword [ebp - 0x244]
jmp 0x425da5
lea eax, [ebp - 0x22c]
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.00426830
mov edi, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x274]
mov edx, esi
call fcn.004266e0
mov byte [ebp - 4], 5
push edi
call fcn.00452f38
add esp, 4
mov dword [ebp - 0x260], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x23c], 0x490914
test eax, eax
je 0x425ea4
push eax
call esi
mov edi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x234]
inc edi
mov dword [ebp - 0x238], 0
jmp 0x42590e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x238]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x23c], 0x490914
test eax, eax
je 0x425eaa
push eax
call esi
mov eax, dword [ebp - 0x234]
inc edi
mov dword [ebp - 0x238], 0
jmp 0x42590e
mov edi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x264]
inc edi
mov dword [ebp - 0x230], edi
test eax, eax
jne 0x425ec6
mov eax, dword [ebp - 0x234]
jmp 0x425914
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x425ee7
push eax
call fcn.0045d2c8
add esp, 4
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x28c], 0x490914
test eax, eax
je 0x425f23
push eax
call esi
mov dword [ebp - 0x288], 0
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.00452869
mov esp, ebp
pop ebp
ret
push 1
push 0xc000008c
call fcn.004134e0
push 0x80004005
call fcn.00402f30
int3