Function at 0x6d7a1ce6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.6d7b89f0
mov eax, dword [0x6d7f05c8]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa0]
push ebx
push esi
mov esi, dword [ebp + 0xfac]
push edi
mov edi, dword [ebp + 0xfa4]
cmp eax, dword [ecx + 0x30]
jne 0x6d7a1dd8
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xfa8], ebx
jne 0x6d7a1dc0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x6d7e2c08
lea eax, [ebp + 0x394]
push 0x6d7e2c2c
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 1
push ebx
push 0x6d7e2c30
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7a1daf
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 0x6d7e2c5c
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x6d7a1daf
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x394]
push 0x6d7e2c68
push eax
call edi
add esp, 0xc
push ebx
lea eax, [ebp + 0x394]
push eax
push ebx
call fcn.6d7b015b
add esp, 0xc
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi], 3
mov dword [esi + 8], ecx
mov al, 1
jmp 0x6d7a2219
cmp eax, dword [ecx + 0x34]
jne 0x6d7a1e7b
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a1dc0
cmp dword [edi], 5
jne 0x6d7a1dc0
mov ebx, dword [edi + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push str.http:__java.com_inc_dtoolkit.xml
lea eax, [ebp + 0x394]
push 0x6d7e2c90
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 1
push 0
push 0x6d7e2c94
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d7a1e74
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push str.URLOverride
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x7c], 0
jne 0x6d7a1e74
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x394]
push 0x6d7e2ccc
push eax
call edi
add esp, 0xc
push 0
jmp 0x6d7a1db0
cmp eax, dword [ecx + 0x38]
jne 0x6d7a1eaf
cmp byte [ecx + 0x15], 0
je 0x6d7a1eaf
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a1dc0
cmp dword [edi], 5
jne 0x6d7a1dc0
push dword [edi + 8]
call fcn.6d7a786d
pop ecx
movzx eax, al
jmp 0x6d7a1dc0
cmp eax, dword [ecx + 0x3c]
jne 0x6d7a1edc
cmp byte [ecx + 0x15], 0
je 0x6d7a1edc
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a1dc0
cmp dword [edi], 5
jne 0x6d7a1dc0
push dword [edi + 8]
call fcn.6d7a8649
jmp 0x6d7a1ea6
cmp eax, dword [ecx + 0x40]
jne 0x6d7a1f09
cmp byte [ecx + 0x15], 0
je 0x6d7a1f09
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a1dc0
cmp dword [edi], 5
jne 0x6d7a1dc0
push dword [edi + 8]
call fcn.6d7a868a
jmp 0x6d7a1ea6
cmp eax, dword [ecx + 0x44]
jne 0x6d7a1f2c
cmp byte [ecx + 0x15], 0
je 0x6d7a1f2c
xor eax, eax
cmp dword [ebp + 0xfa8], eax
jne 0x6d7a1dc0
call fcn.6d7a71a6
jmp 0x6d7a1ea7
cmp eax, dword [ecx + 0x48]
jne 0x6d7a1f4f
cmp byte [ecx + 0x15], 0
je 0x6d7a1f4f
xor eax, eax
cmp dword [ebp + 0xfa8], eax
jne 0x6d7a1dc0
call fcn.6d7c9aaf
jmp 0x6d7a1ea7
cmp eax, dword [ecx + 0x4c]
jne 0x6d7a1f91
cmp byte [ecx + 0x15], 0
je 0x6d7a1f91
xor edi, edi
cmp dword [ebp + 0xfa8], edi
jne 0x6d7a1f7b
call fcn.6d7a1000
and eax, 0xff
cmp eax, 0x13
jl 0x6d7a1f7b
call fcn.6d7c9aaf
movzx edi, al
xor eax, eax
cmp edi, 1
sete al
mov dword [esi], 3
mov dword [esi + 8], eax
jmp 0x6d7a1dd1
cmp eax, dword [ecx + 0x58]
jne 0x6d7a1fb4
cmp byte [ecx + 0x15], 0
je 0x6d7a1fb4
xor eax, eax
cmp dword [ebp + 0xfa8], eax
jne 0x6d7a1dc0
call fcn.6d7b1288
jmp 0x6d7a1dc0
cmp eax, dword [ecx + 0x5c]
jne 0x6d7a1fe7
cmp byte [ecx + 0x15], 0
je 0x6d7a1fe7
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a1dc0
cmp dword [edi], 2
jne 0x6d7a1dc0
movzx eax, byte [edi + 8]
push eax
call fcn.6d7c9aaf
pop ecx
jmp 0x6d7a1dc0
cmp eax, dword [ecx + 0x54]
jne 0x6d7a2011
cmp byte [ecx + 0x15], 0
je 0x6d7a2011
or eax, 0xffffffff
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a1f83
cmp dword [edi], 5
jne 0x6d7a1f83
push dword [edi + 8]
call fcn.6d7b11d9
pop ecx
jmp 0x6d7a1f83
cmp eax, dword [ecx + 0x50]
jne 0x6d7a209b
cmp byte [ecx + 0x15], 0
je 0x6d7a209b
cmp dword [ebp + 0xfa8], 1
push 5
mov byte [ebp + 0x794], 0
pop ebx
jne 0x6d7a204e
cmp dword [edi], ebx
jne 0x6d7a204e
push 0x800
lea eax, [ebp + 0x794]
push eax
push dword [edi + 8]
call fcn.6d7b0fe2
add esp, 0xc
lea eax, [ebp + 0x794]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d7a2057
sub eax, edx
lea edi, [eax + 1]
push edi
call fcn.6d7a1369
lea ecx, [ebp + 0x794]
push ecx
push edi
push eax
mov dword [ebp - 0x74], eax
call fcn.6d7c9aaf
mov edi, dword [ebp - 0x74]
mov eax, edi
add esp, 0x10
mov dword [esi], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d7a2087
sub eax, ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
jmp 0x6d7a1dd1
cmp eax, dword [ecx + 0x60]
jne 0x6d7a2126
cmp dword [ebp + 0xfa8], 2
jne 0x6d7a2217
mov ecx, dword [edi]
cmp ecx, 1
je 0x6d7a2217
mov eax, dword [edi + 0x10]
cmp eax, 1
je 0x6d7a2217
push 5
pop ebx
cmp ecx, ebx
jne 0x6d7a2217
cmp eax, ebx
jne 0x6d7a2217
lea eax, [ebp - 0x80]
push eax
push dword [edi + 8]
call fcn.6d7c9aaf
pop ecx
pop ecx
test eax, eax
jne 0x6d7a2217
lea eax, [ebp - 0x78]
push eax
push dword [edi + 0x18]
call fcn.6d7c9aaf
pop ecx
pop ecx
test eax, eax
jne 0x6d7a2217
push dword [ebp - 0x74]
mov dword [esi], 3
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.6d7a6fdc
add esp, 0x10
jmp 0x6d7a1f89
cmp eax, dword [ecx + 0x68]
jne 0x6d7a21a7
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a2217
mov eax, dword [edi]
cmp eax, 1
je 0x6d7a2217
push 5
pop ebx
cmp eax, ebx
jne 0x6d7a2217
push 0x7ff
lea eax, [ebp + 0x795]
push 0
push eax
mov byte [ebp + 0x794], 0
call fcn.6d7b8a20
lea eax, [ebp + 0x794]
push eax
push 0x800
push 1
push dword [edi + 8]
call fcn.6d7c9aaf
add esp, 0x1c
test al, al
je 0x6d7a2217
lea ecx, [ebp + 0x794]
mov eax, ecx
mov dword [esi], ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d7a2196
sub eax, edi
mov dword [esi + 8], ecx
jmp 0x6d7a2093
cmp eax, dword [ecx + 0x6c]
jne 0x6d7a2210
cmp dword [ebp + 0xfa8], 1
jne 0x6d7a2217
mov eax, dword [edi]
cmp eax, 1
je 0x6d7a2217
push 5
pop ebx
cmp eax, ebx
jne 0x6d7a2217
push 0x7ff
lea eax, [ebp + 0x795]
push 0
push eax
mov byte [ebp + 0x794], 0
call fcn.6d7b8a20
lea eax, [ebp + 0x794]
push eax
push 0x800
push 0
push dword [edi + 8]
call fcn.6d7c9aaf
add esp, 0x1c
test al, al
je 0x6d7a2217
lea ecx, [ebp + 0x794]
mov eax, ecx
mov dword [esi], ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6d7a2207
jmp 0x6d7a219d
and dword [esi], 0
and dword [esi + 8], 0
xor al, al
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7b886c
add ebp, 0xf98
leave
ret 0x10