Function at 0x6d2cc520
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov eax, 0x1050
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x104c], eax
push str.10.0.0
call fcn.6d2c35d0
add esp, 4
test eax, eax
je 0x6d2cc56f
cmp byte [esp + 0x105c], 0
je 0x6d2cc579
mov eax, 2
mov ecx, dword [esp + 0x104c]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1050
ret 0xc
cmp byte [esp + 0x105c], 0
je 0x6d2cc553
lea eax, [esp + 4]
push eax
push str.SOFTWAREJavaSoftJava_Runtime_Environment1.7.0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x6d2cc5ea
push 0x7ff
push eax
lea ecx, [esp + 0x855]
push ecx
mov byte [esp + 0x858], al
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x850]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.JavaHome
push edx
mov dword [esp + 0x20], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x6d2cc606
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x104c]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1050
ret 0xc
lea eax, [esp + 0x84c]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x6d2cc610
mov ecx, dword [str._bin_ssvagent.exe]
mov edx, dword [0x6d2dc690]
mov dword [eax], ecx
mov ecx, dword [0x6d2dc694]
mov dword [eax + 4], edx
mov edx, dword [0x6d2dc698]
mov dword [eax + 8], ecx
mov cx, word [0x6d2dc69c]
mov dword [eax + 0xc], edx
push 0x3c
lea edx, [esp + 0x14]
push 0
push edx
mov word [eax + 0x10], cx
call sub.MSVCR100.dll_memset
push 0x7ff
lea eax, [esp + 0x5d]
push 0
push eax
mov dword [esp + 0x28], 0x3c
mov byte [esp + 0x64], 0
call sub.MSVCR100.dll_memset
lea eax, [esp + 0x64]
add esp, 0x18
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x6d2cc680
mov ecx, dword [str._high__jpisetup]
mov edx, dword [0x6d2dc704]
mov dword [eax], ecx
mov ecx, dword [0x6d2dc708]
mov dword [eax + 4], edx
mov edx, dword [0x6d2dc70c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.6d2c2ff0
mov dword [esp + 0x1c], str.runas
test eax, eax
jne 0x6d2cc6c4
mov dword [esp + 0x1c], str.open
lea eax, [esp + 0x84c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c]
dec eax
cmp byte [esp + 0x105c], 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], 0x40
je 0x6d2cc707
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x6d2cc6f0
mov ecx, dword [str.__new]
mov dx, word [0x6d2dc6fc]
jmp 0x6d2cc71c
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x6d2cc707
mov ecx, dword [str.__old]
mov dx, word [0x6d2dc6f4]
mov dword [eax], ecx
mov word [eax + 4], dx
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x6d2cc5ea
mov eax, dword [esp + 0x48]
mov dword [esp], 1
test eax, eax
je 0x6d2cc76f
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x48]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [esp + 0x104c]
mov eax, dword [esp]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1050
ret 0xc