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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ee8e
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5d0074]
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 - 0x268], edx
mov dword [ebp - 0x274], ecx
mov cl, byte [ebp + 8]
lea eax, [ebp - 0x26c]
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 0x4c05a8
mov esi, dword [ebp - 0x26c]
mov dword [ebp - 0x284], 0x58b4bc
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x280], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x240], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x270], 0x208
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x27c], eax
test eax, eax
jne 0x4c0537
call fcn.00411fd0
mov ecx, eax
test ecx, ecx
je 0x4c05c3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
test eax, 0xffff0000
jne 0x4c01f9
movzx eax, ax
lea ecx, [ebp - 0x23c]
push eax
call fcn.00412350
jmp 0x4c0224
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0202
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x23c]
call fcn.004126c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x23c]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push eax
lea ecx, [ebp - 0x22c]
movups xmmword [ebp - 0x22c], xmm0
call fcn.00490730
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c0271
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x274]
lea ecx, [ebp - 0x22c]
call fcn.004906f0
test eax, eax
js 0x4c0537
lea eax, [ebp - 0x278]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c0537
mov dword [ebp - 0x234], 0x58b4bc
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x278]
mov eax, dword [ebp - 0x230]
cmp esi, eax
je 0x4c02e9
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 4]
mov eax, esi
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
push 0
push str.JavaHome
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4c050c
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00521c5f
mov esi, eax
add esp, 4
mov dword [ebp - 0x244], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x260]
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 0x4c03b0
mov byte [ebp - 4], 5
push esi
call fcn.00521c5a
add esp, 4
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], 0x58b4bc
test eax, eax
je 0x4c0392
push eax
call edi
mov dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x240]
mov esi, dword [ebp - 0x238]
inc eax
jmp 0x4c017c
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x250]
call fcn.004c0880
mov byte [ebp - 4], 8
xor esi, esi
mov eax, dword [ebp - 0x24c]
test eax, eax
jle 0x4c040c
mov edi, dword [ebp - 0x250]
test esi, esi
js 0x4c05cd
cmp esi, eax
jge 0x4c05cd
lea eax, [ebp - 0x22c]
mov ecx, edi
push eax
call fcn.004906f0
test eax, eax
js 0x4c04e2
mov eax, dword [ebp - 0x24c]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x4c03d8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x4c042d
push eax
call fcn.005269c4
add esp, 4
mov dword [ebp - 0x250], 0
or esi, 0xffffffff
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x248], 0
push eax
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x24c], 0
call fcn.004c0770
mov edi, dword [ebp - 0x244]
lea ecx, [ebp - 0x264]
push edi
call fcn.004127e0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x264]
mov ecx, dword [ebp - 0x268]
push eax
call fcn.0048f3e0
mov byte [ebp - 4], 6
or eax, 0xffffffff
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c04a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x4c04bf
mov edx, esi
lea ecx, [ebp - 0x25c]
call fcn.004c0900
mov ecx, dword [ebp - 0x268]
mov edx, esi
call fcn.004c0a90
mov byte [ebp - 4], 5
push edi
call fcn.00521c5a
add esp, 4
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4c0510
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x4c0430
push eax
call fcn.005269c4
add esp, 4
mov dword [ebp - 0x250], 0
jmp 0x4c0430
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], 0x58b4bc
test eax, eax
je 0x4c0531
push eax
call edi
mov dword [ebp - 0x230], 0
mov esi, dword [ebp - 0x238]
mov eax, dword [ebp - 0x240]
inc eax
cmp dword [ebp - 0x27c], 0
mov dword [ebp - 0x240], eax
je 0x4c0182
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x4c0572
push eax
call fcn.005269c4
add esp, 4
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x284], 0x58b4bc
test esi, esi
je 0x4c05a8
push esi
call edi
mov dword [ebp - 0x280], 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.005214e1
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004126a0
push 1
push 0xc000008c
call fcn.0040db10
int3