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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5729fd
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5e8024]
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 - 0x26c], edx
mov dword [ebp - 0x278], ecx
mov cl, byte [ebp + 8]
lea eax, [ebp - 0x270]
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, str.SoftwareJavaSoftJava_Development_Kit_
cmove eax, edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c5726
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x290], 0x5a32b4
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov byte [ebp - 4], 1
xor edi, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x240], edi
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x274]
mov dword [ebp - 0x274], 0x208
push ecx
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x23c], eax
test eax, eax
jne 0x4c565c
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4c574d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x4c520b
movzx eax, ax
lea ecx, [ebp - 0x254]
push eax
call fcn.00409280
jmp 0x4c5236
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c5214
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x254]
call fcn.004098b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x254]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x22c]
movups xmmword [ebp - 0x22c], xmm0
call fcn.00497c50
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c5283
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 - 0x278]
mov ecx, dword [ecx + eax*4]
cmp dword [ebp + eax*4 - 0x22c], ecx
jl 0x4c53c1
jg 0x4c52ae
inc eax
cmp eax, 4
jl 0x4c5290
lea eax, [ebp - 0x27c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c5656
mov dword [ebp - 0x234], 0x5a32b4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x230]
cmp esi, eax
je 0x4c5312
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 4]
mov eax, esi
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x264]
push ecx
push 0
push 0
push 0
push str.JavaHome
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x4c569c
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052e817
mov esi, eax
add esp, 4
mov dword [ebp - 0x238], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x264]
push eax
push esi
push 0
push 0
push str.JavaHome
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4c53d0
mov byte [ebp - 4], 5
push esi
call fcn.0052e812
add esp, 4
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0x5a32b4
test eax, eax
je 0x4c53c1
push eax
call esi
mov dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x244]
inc edi
jmp 0x4c518e
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x260]
call fcn.004c5a00
mov byte [ebp - 4], 8
xor esi, esi
mov eax, dword [ebp - 0x25c]
test eax, eax
jle 0x4c543f
mov edi, dword [ebp - 0x260]
lea ecx, [ebp - 0x22c]
sub edi, ecx
test esi, esi
js 0x4c5741
cmp esi, eax
jge 0x4c5741
xor eax, eax
lea ecx, [edi + eax*4]
mov ecx, dword [ebp + ecx - 0x22c]
cmp ecx, dword [ebp + eax*4 - 0x22c]
jl 0x4c5672
jg 0x4c5431
inc eax
cmp eax, 4
jl 0x4c5412
mov eax, dword [ebp - 0x25c]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x4c5400
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4c5460
push eax
call fcn.0053586a
add esp, 4
mov dword [ebp - 0x260], 0
or esi, 0xffffffff
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x258], 0
push eax
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x294], esi
call fcn.004c58f0
mov edi, dword [ebp - 0x238]
lea ecx, [ebp - 0x268]
push edi
call fcn.00416070
mov byte [ebp - 4], 9
lea eax, [ebp - 0x268]
mov ecx, dword [ebp - 0x26c]
push eax
call fcn.00496e80
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c54d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x4c560e
test esi, esi
js 0x4c5601
mov edi, dword [ebp - 0x24c]
cmp edi, 1
jl 0x4c55fb
lea ecx, [edi - 1]
test ecx, ecx
js 0x4c5741
cmp ecx, edi
jge 0x4c5741
mov edx, dword [ebp - 0x250]
lea eax, [ecx + ecx*4]
movups xmm1, xmmword [edx + eax*4]
mov eax, dword [edx + eax*4 + 0x10]
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], ecx
cmp ecx, esi
jle 0x4c55cd
lea edx, [ecx - 1]
test edx, edx
js 0x4c5741
cmp edx, edi
jge 0x4c5741
mov edi, dword [ebp - 0x250]
lea eax, [edx + edx*4]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x24c]
mov dword [ebp - 0x280], eax
test ecx, ecx
js 0x4c55b7
cmp ecx, edi
jge 0x4c55b7
lea eax, [ecx + ecx*4]
mov ecx, dword [ebp - 0x250]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x298], ecx
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x4c55ad
mov edi, dword [ebp - 0x280]
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 - 0x24c]
mov ecx, edx
mov dword [ebp - 0x284], ecx
cmp ecx, esi
jg 0x4c5531
mov edx, dword [ebp - 0x250]
cmp esi, edi
jge 0x4c55fb
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4c55f7
mov ecx, dword [ebp - 0x288]
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 - 0x238]
mov ecx, dword [ebp - 0x26c]
mov edx, esi
call fcn.004c5a80
mov byte [ebp - 4], 5
push edi
call fcn.0052e812
add esp, 4
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0x5a32b4
test eax, eax
je 0x4c5650
push eax
call esi
mov dword [ebp - 0x230], 0
mov edi, dword [ebp - 0x240]
mov eax, dword [ebp - 0x23c]
inc edi
mov dword [ebp - 0x240], edi
test eax, eax
jne 0x4c56c9
mov eax, dword [ebp - 0x244]
jmp 0x4c5194
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4c5463
push eax
call fcn.0053586a
add esp, 4
mov dword [ebp - 0x260], 0
jmp 0x4c5463
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x234], 0x5a32b4
test eax, eax
je 0x4c5656
push eax
call esi
mov dword [ebp - 0x230], 0
jmp 0x4c5656
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x4c56ea
push eax
call fcn.0053586a
add esp, 4
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x290], 0x5a32b4
test eax, eax
je 0x4c5726
push eax
call esi
mov dword [ebp - 0x28c], 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.0052df57
mov esp, ebp
pop ebp
ret
push 1
push 0xc000008c
call fcn.00412050
push 0x80004005
call fcn.00409a00
int3