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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456d83
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x478024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x27c], ecx
mov cl, byte [ebp + 8]
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp + 0x10]
mov edx, str.SoftwareJavaSoftJava_Runtime_Environment_
or eax, 0x20019
mov dword [ebp - 0x29c], edi
push eax
test cl, cl
mov eax, str.SoftwareJavaSoftJava_Development_Kit_
push 0
cmove eax, edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429650
mov ecx, dword [ebp - 0x274]
mov dword [ebp - 0x298], 0x469e08
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x294], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x23c], eax
nop word [eax + eax]
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x278]
mov dword [ebp - 0x278], 0x208
push edx
lea edx, [ebp - 0x218]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x290], eax
test eax, eax
jne 0x4295a6
call fcn.00403950
mov ecx, eax
test ecx, ecx
je 0x429677
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x429077
movzx eax, ax
lea ecx, [ebp - 0x250]
push eax
call fcn.00403ca0
jmp 0x4290a2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429080
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00404040
mov byte [ebp - 4], 3
lea eax, [ebp - 0x250]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x22c]
movups xmmword [ebp - 0x22c], xmm0
call fcn.00422e80
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4290ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [ebp - 0x27c]
mov ecx, dword [ecx + eax*4]
cmp dword [ebp + eax*4 - 0x22c], ecx
jl 0x429231
jg 0x42911e
inc eax
cmp eax, 4
jl 0x429100
lea eax, [ebp - 0x280]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4295a6
mov dword [ebp - 0x238], 0x469e08
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x280]
mov eax, dword [ebp - 0x234]
cmp esi, eax
je 0x429182
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
call dword [eax + 4]
mov eax, esi
mov dword [ebp - 0x234], 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 0x42957b
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004388a8
mov esi, eax
add esp, 4
mov dword [ebp - 0x254], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x268]
push eax
push esi
push 0
push 0
push str.JavaHome
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x429243
mov byte [ebp - 4], 5
push esi
call fcn.00438f5b
add esp, 4
mov dword [ebp - 0x254], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x234]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x238], 0x469e08
test eax, eax
je 0x429231
push eax
call esi
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x240]
inc eax
jmp 0x428ff4
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00429970
mov byte [ebp - 4], 8
xor esi, esi
mov eax, dword [ebp - 0x260]
test eax, eax
jle 0x4292b8
mov edi, dword [ebp - 0x264]
lea ecx, [ebp - 0x22c]
sub edi, ecx
test esi, esi
js 0x42966b
cmp esi, eax
jge 0x42966b
xor eax, eax
lea ecx, [edi + eax*4]
mov ecx, dword [ebp + ecx - 0x22c]
cmp ecx, dword [ebp + eax*4 - 0x22c]
jl 0x4295c7
jg 0x4292a4
inc eax
cmp eax, 4
jl 0x429285
mov eax, dword [ebp - 0x260]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x429273
mov edi, dword [ebp - 0x230]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x4292d9
push eax
call fcn.00441319
add esp, 4
mov dword [ebp - 0x264], 0
or esi, 0xffffffff
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x25c], 0
push eax
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x2a0], esi
call fcn.00429860
push dword [ebp - 0x254]
lea ecx, [ebp - 0x26c]
call fcn.00404120
mov byte [ebp - 4], 9
lea eax, [ebp - 0x26c]
push eax
mov ecx, edi
call fcn.0040b890
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42934d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x42955f
test esi, esi
js 0x42955f
mov edi, dword [ebp - 0x248]
cmp edi, 1
jl 0x42946f
lea ecx, [edi - 1]
test ecx, ecx
js 0x42966b
cmp ecx, edi
jge 0x42966b
mov edx, dword [ebp - 0x24c]
lea eax, [ecx + ecx*4]
movups xmm1, xmmword [edx + eax*4]
mov eax, dword [edx + eax*4 + 0x10]
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x288], ecx
cmp ecx, esi
jle 0x429441
lea edx, [ecx - 1]
test edx, edx
js 0x42966b
cmp edx, edi
jge 0x42966b
mov edi, dword [ebp - 0x24c]
lea eax, [edx + edx*4]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x248]
mov dword [ebp - 0x284], eax
test ecx, ecx
js 0x42942b
cmp ecx, edi
jge 0x42942b
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x24c]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x429421
mov edi, dword [ebp - 0x284]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x248]
mov ecx, edx
mov dword [ebp - 0x288], ecx
cmp ecx, esi
jg 0x4293a5
mov edx, dword [ebp - 0x24c]
cmp esi, edi
jge 0x42946f
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x42946b
mov ecx, dword [ebp - 0x258]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax], xmm1
mov dword [eax + 0x10], ecx
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x230]
mov eax, dword [edi + 4]
cmp eax, 1
jl 0x42955f
lea ecx, [eax - 1]
cmp ecx, eax
jge 0x42966b
mov eax, dword [edi]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x270]
call fcn.00407510
mov byte [ebp - 4], 0xd
mov edx, edi
mov eax, dword [edx + 4]
dec eax
mov dword [ebp - 0x28c], eax
cmp eax, esi
jle 0x42950b
lea edi, [eax - 1]
test edi, edi
js 0x42966b
mov ecx, dword [edx + 4]
mov dword [ebp - 0x258], ecx
cmp edi, ecx
jge 0x42966b
mov edx, dword [edx]
test eax, eax
js 0x4294f9
cmp eax, ecx
jge 0x4294f9
lea ecx, [edx + eax*4]
mov dword [ebp - 0x2ac], ecx
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x4294f5
lea eax, [edx + edi*4]
push eax
call fcn.00407510
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xd
mov eax, edi
mov dword [ebp - 0x28c], eax
mov edx, dword [ebp - 0x230]
cmp eax, esi
jg 0x4294b1
cmp esi, dword [edx + 4]
jge 0x429537
mov eax, dword [edx]
lea ecx, [eax + esi*4]
mov dword [ebp - 0x2b0], ecx
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x429533
lea eax, [ebp - 0x270]
push eax
call fcn.00407510
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429559
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x230]
mov byte [ebp - 4], 5
push dword [ebp - 0x254]
call fcn.00438f5b
add esp, 4
mov dword [ebp - 0x254], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x234]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x238], 0x469e08
test eax, eax
je 0x4295a6
push eax
call esi
mov dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x23c]
inc eax
cmp dword [ebp - 0x290], 0
mov dword [ebp - 0x23c], eax
jne 0x4295f3
mov ecx, dword [ebp - 0x240]
jmp 0x429000
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x4295e8
push eax
call fcn.00441319
add esp, 4
mov dword [ebp - 0x264], 0
mov edi, dword [ebp - 0x230]
jmp 0x4292dc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x429614
push eax
call fcn.00441319
add esp, 4
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x298], 0x469e08
test eax, eax
je 0x429650
push eax
call esi
mov dword [ebp - 0x294], 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.00438889
mov esp, ebp
pop ebp
ret
push 1
push 0xc000008c
call fcn.0040ce70
push 0x80004005
call fcn.00404020
int3