Function at 0x6d691ce6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.6d6a89f0
mov eax, dword [0x6d6e05c8]
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 0x6d691dd8
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xfa8], ebx
jne 0x6d691dc0
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x6d6d2c08
lea eax, [ebp + 0x394]
push 0x6d6d2c2c
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 1
push ebx
push 0x6d6d2c30
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d691daf
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push 0x6d6d2c5c
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 0x6d691daf
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x394]
push 0x6d6d2c68
push eax
call edi
add esp, 0xc
push ebx
lea eax, [ebp + 0x394]
push eax
push ebx
call fcn.6d6a015b
add esp, 0xc
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi], 3
mov dword [esi + 8], ecx
mov al, 1
jmp 0x6d692219
cmp eax, dword [ecx + 0x34]
jne 0x6d691e7b
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d691dc0
cmp dword [edi], 5
jne 0x6d691dc0
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 0x6d6d2c90
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 1
push 0
push 0x6d6d2c94
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d691e74
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 0x6d691e74
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x394]
push 0x6d6d2ccc
push eax
call edi
add esp, 0xc
push 0
jmp 0x6d691db0
cmp eax, dword [ecx + 0x38]
jne 0x6d691eaf
cmp byte [ecx + 0x15], 0
je 0x6d691eaf
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d691dc0
cmp dword [edi], 5
jne 0x6d691dc0
push dword [edi + 8]
call fcn.6d69786d
pop ecx
movzx eax, al
jmp 0x6d691dc0
cmp eax, dword [ecx + 0x3c]
jne 0x6d691edc
cmp byte [ecx + 0x15], 0
je 0x6d691edc
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d691dc0
cmp dword [edi], 5
jne 0x6d691dc0
push dword [edi + 8]
call fcn.6d698649
jmp 0x6d691ea6
cmp eax, dword [ecx + 0x40]
jne 0x6d691f09
cmp byte [ecx + 0x15], 0
je 0x6d691f09
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d691dc0
cmp dword [edi], 5
jne 0x6d691dc0
push dword [edi + 8]
call fcn.6d69868a
jmp 0x6d691ea6
cmp eax, dword [ecx + 0x44]
jne 0x6d691f2c
cmp byte [ecx + 0x15], 0
je 0x6d691f2c
xor eax, eax
cmp dword [ebp + 0xfa8], eax
jne 0x6d691dc0
call fcn.6d6971a6
jmp 0x6d691ea7
cmp eax, dword [ecx + 0x48]
jne 0x6d691f4f
cmp byte [ecx + 0x15], 0
je 0x6d691f4f
xor eax, eax
cmp dword [ebp + 0xfa8], eax
jne 0x6d691dc0
call fcn.6d6aa5f6
jmp 0x6d691ea7
cmp eax, dword [ecx + 0x4c]
jne 0x6d691f91
cmp byte [ecx + 0x15], 0
je 0x6d691f91
xor edi, edi
cmp dword [ebp + 0xfa8], edi
jne 0x6d691f7b
call fcn.6d691000
and eax, 0xff
cmp eax, 0x13
jl 0x6d691f7b
call fcn.6d6aa5f6
movzx edi, al
xor eax, eax
cmp edi, 1
sete al
mov dword [esi], 3
mov dword [esi + 8], eax
jmp 0x6d691dd1
cmp eax, dword [ecx + 0x58]
jne 0x6d691fb4
cmp byte [ecx + 0x15], 0
je 0x6d691fb4
xor eax, eax
cmp dword [ebp + 0xfa8], eax
jne 0x6d691dc0
call fcn.6d6a1288
jmp 0x6d691dc0
cmp eax, dword [ecx + 0x5c]
jne 0x6d691fe7
cmp byte [ecx + 0x15], 0
je 0x6d691fe7
xor eax, eax
cmp dword [ebp + 0xfa8], 1
jne 0x6d691dc0
cmp dword [edi], 2
jne 0x6d691dc0
movzx eax, byte [edi + 8]
push eax
call fcn.6d6aa5f6
pop ecx
jmp 0x6d691dc0
cmp eax, dword [ecx + 0x54]
jne 0x6d692011
cmp byte [ecx + 0x15], 0
je 0x6d692011
or eax, 0xffffffff
cmp dword [ebp + 0xfa8], 1
jne 0x6d691f83
cmp dword [edi], 5
jne 0x6d691f83
push dword [edi + 8]
call fcn.6d6a11d9
pop ecx
jmp 0x6d691f83
cmp eax, dword [ecx + 0x50]
jne 0x6d69209b
cmp byte [ecx + 0x15], 0
je 0x6d69209b
cmp dword [ebp + 0xfa8], 1
push 5
mov byte [ebp + 0x794], 0
pop ebx
jne 0x6d69204e
cmp dword [edi], ebx
jne 0x6d69204e
push 0x800
lea eax, [ebp + 0x794]
push eax
push dword [edi + 8]
call fcn.6d6a0fe2
add esp, 0xc
lea eax, [ebp + 0x794]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d692057
sub eax, edx
lea edi, [eax + 1]
push edi
call fcn.6d691369
lea ecx, [ebp + 0x794]
push ecx
push edi
push eax
mov dword [ebp - 0x74], eax
call fcn.6d6aa5f6
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 0x6d692087
sub eax, ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
jmp 0x6d691dd1
cmp eax, dword [ecx + 0x60]
jne 0x6d692126
cmp dword [ebp + 0xfa8], 2
jne 0x6d692217
mov ecx, dword [edi]
cmp ecx, 1
je 0x6d692217
mov eax, dword [edi + 0x10]
cmp eax, 1
je 0x6d692217
push 5
pop ebx
cmp ecx, ebx
jne 0x6d692217
cmp eax, ebx
jne 0x6d692217
lea eax, [ebp - 0x80]
push eax
push dword [edi + 8]
call fcn.6d6aa5f6
pop ecx
pop ecx
test eax, eax
jne 0x6d692217
lea eax, [ebp - 0x78]
push eax
push dword [edi + 0x18]
call fcn.6d6aa5f6
pop ecx
pop ecx
test eax, eax
jne 0x6d692217
push dword [ebp - 0x74]
mov dword [esi], 3
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.6d696fdc
add esp, 0x10
jmp 0x6d691f89
cmp eax, dword [ecx + 0x68]
jne 0x6d6921a7
cmp dword [ebp + 0xfa8], 1
jne 0x6d692217
mov eax, dword [edi]
cmp eax, 1
je 0x6d692217
push 5
pop ebx
cmp eax, ebx
jne 0x6d692217
push 0x7ff
lea eax, [ebp + 0x795]
push 0
push eax
mov byte [ebp + 0x794], 0
call fcn.6d6a8a20
lea eax, [ebp + 0x794]
push eax
push 0x800
push 1
push dword [edi + 8]
call fcn.6d6aa5f6
add esp, 0x1c
test al, al
je 0x6d692217
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 0x6d692196
sub eax, edi
mov dword [esi + 8], ecx
jmp 0x6d692093
cmp eax, dword [ecx + 0x6c]
jne 0x6d692210
cmp dword [ebp + 0xfa8], 1
jne 0x6d692217
mov eax, dword [edi]
cmp eax, 1
je 0x6d692217
push 5
pop ebx
cmp eax, ebx
jne 0x6d692217
push 0x7ff
lea eax, [ebp + 0x795]
push 0
push eax
mov byte [ebp + 0x794], 0
call fcn.6d6a8a20
lea eax, [ebp + 0x794]
push eax
push 0x800
push 0
push dword [edi + 8]
call fcn.6d6aa5f6
add esp, 0x1c
test al, al
je 0x6d692217
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 0x6d692207
jmp 0x6d69219d
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.6d6a886c
add ebp, 0xf98
leave
ret 0x10