Function at 0x6d2d0730
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov eax, 0x4060
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x405c], eax
push ebx
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x2065]
push ebx
push eax
mov byte [esp + 0x206c], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea ecx, [esp + 0x871]
push ebx
push ecx
mov byte [esp + 0x878], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea edx, [esp + 0x387d]
push ebx
push edx
mov byte [esp + 0x3884], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea eax, [esp + 0x3089]
push ebx
push eax
mov byte [esp + 0x3090], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea ecx, [esp + 0x2895]
push ebx
push ecx
mov byte [esp + 0x289c], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea edx, [esp + 0x18a1]
push ebx
push edx
mov byte [esp + 0x18a8], bl
call sub.MSVCR100.dll_memset
add esp, 0x48
push 0x7ff
lea eax, [esp + 0x1065]
push ebx
push eax
mov byte [esp + 0x106c], bl
call sub.MSVCR100.dll_memset
push 0x7ff
lea ecx, [esp + 0x71]
push ebx
push ecx
mov byte [esp + 0x78], bl
call sub.MSVCR100.dll_memset
add esp, 0x18
call fcn.6d2c2ff0
test eax, eax
jne 0x6d2d087d
lea edx, [esp + 0x1060]
push edx
call fcn.6d2cfac0
add esp, 4
test eax, eax
je 0x6d2d087d
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x106c]
push edx
mov dword [esp + 0x24], 0x800
call fcn.6d2cfc00
add esp, 0x10
test eax, eax
jne 0x6d2d0895
lea eax, [esp + 0x1060]
push eax
lea ecx, [esp + 0x2864]
push str.JQS_ERROR:_Cannot_find_JavaHome_for__s_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x405c]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x4060
ret
push edi
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp byte [esp + eax + 0x63], 0x5c
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x6d2d08c0
lea eax, [esp + 0x64]
push eax
mov ecx, eax
push 0x6d2dcf3c
push ecx
call edi
add esp, 0xc
push str.jqs.exe
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x206c]
push str._sbin_s
push eax
call edi
push str.jqs.conf
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x87c]
push str._slibdeployjqs_s
push edx
call edi
lea eax, [esp + 0x2084]
push eax
call fcn.6d2ce330
add esp, 0x24
test eax, eax
je 0x6d2d0934
lea ecx, [esp + 0x864]
push ecx
call fcn.6d2ce330
add esp, 4
test eax, eax
jne 0x6d2d094d
lea edx, [esp + 0x864]
push edx
lea eax, [esp + 0x2868]
push str.JQS_ERROR:_Cannot_find_JQS_config_file:__s_n
push eax
call edi
add esp, 0xc
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x405c]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x4060
ret
push ebp
push esi
push 0x800
lea ecx, [esp + 0x3070]
push ecx
push str.JQS_DEBUG_LEVEL
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebp, dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
call ebp
cmp eax, 0xcb
je 0x6d2d09bd
cmp esi, ebx
je 0x6d2d09bd
lea edx, [esp + 0x386c]
push edx
call fcn.6d2ce5b0
lea eax, [esp + 0x3070]
push eax
lea ecx, [esp + 0x3874]
push ecx
lea edx, [esp + 0x878]
push edx
lea eax, [esp + 0x207c]
push eax
lea ecx, [esp + 0x1880]
push str.__s___register__config___s___logfile___s___verbose__s
push ecx
call edi
add esp, 0x1c
jmp 0x6d2d09df
lea edx, [esp + 0x86c]
push edx
lea eax, [esp + 0x2070]
push eax
lea ecx, [esp + 0x1874]
push str.__s___register__config___s_
push ecx
call edi
add esp, 0x10
push 0x44
lea edx, [esp + 0x2c]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x24]
push ecx
push 0x2000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x5c], 1
mov word [esp + 0x60], ax
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x6d2d0a8d
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push 0x8000008
push ebx
push ebx
push ebx
lea ecx, [esp + 0x188c]
push ecx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp eax, ebx
jne 0x6d2d0a91
call ebp
cmp eax, 0x522
jne 0x6d2d0a8d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push ebx
push 0x8000008
push ebx
push ebx
push ebx
lea edx, [esp + 0x188c]
push edx
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessA]
cmp eax, ebx
jne 0x6d2d0a91
xor eax, eax
jmp 0x6d2d0aba
mov eax, dword [esp + 0x10]
push 0x7530
push eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
call fcn.6d2ce3a0
mov ecx, dword [esp + 0x406c]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x4060
ret