Function at 0x6d5b1e60
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x1068
call fcn.6d5ca7f0
mov eax, dword [0x6d5e2a5c]
xor eax, esp
mov dword [esp + 0x1064], eax
push ebp
push esi
push 0x800
lea eax, [esp + 0x70]
push eax
xor ebp, ebp
push ebp
push 0x6d5cec6c
call fcn.6d594030
add esp, 0x10
test eax, eax
je 0x6d5b1e9f
lea ecx, [esp + 0x6c]
push ecx
jmp 0x6d5b1ea4
push 0x6d5cda3c
lea ecx, [esp + 0x14]
call fcn.6d592e00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x6d5b1ec3
add eax, 8
push eax
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x6d5b1f76
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push edi
lea edi, [esi + 8]
push str.javaws.exe
mov dword [esi + 4], ebp
mov dword [edi], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x6d5b1f02
push 0x8007000e
call fcn.6d5ca1c9
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.6d594760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5b1f45
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b1f2c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b1f3c
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x6d5b1ef8
push 0x6d5cda3c
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x6d5b1f80
push 0x8007000e
call fcn.6d5ca1c9
push 0x8007000e
call fcn.6d5ca1c9
push 0xc
mov dword [esp + 0x14], esi
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x6d5b1ef8
lea edi, [esi + 8]
push 0x6d5cf5f0
mov dword [esi + 4], ebp
mov dword [edi], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x6d5b1fbb
push 0x8007000e
call fcn.6d5ca1c9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5b1ffe
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b1fe5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b1ff5
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.6d594760
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x6d5b1ef8
lea edi, [esi + 8]
push 0x6d5cf5f0
mov dword [esi + 4], ebp
mov dword [edi], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x6d5b2043
push 0x8007000e
call fcn.6d5ca1c9
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5b2086
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b206d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b207d
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x6d5b1ef8
lea edi, [esi + 8]
push str.__wait__fix__permissions__silent
mov dword [esi + 4], ebp
mov dword [edi], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x6d5b20bd
push 0x8007000e
call fcn.6d5ca1c9
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.6d594760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x6d5b2100
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b20e7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b20f7
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x40
lea ecx, [esp + 0x38]
push ebp
push ecx
call sub.MSVCR100.dll_memset
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x20], ebp
cmp eax, ebp
je 0x6d5b2136
mov edx, dword [eax]
jmp 0x6d5b2138
xor edx, edx
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x6d5b2144
mov ecx, dword [esi]
jmp 0x6d5b2146
xor ecx, ecx
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
je 0x6d5b2152
mov eax, dword [ebx]
jmp 0x6d5b2154
xor eax, eax
lea edi, [esp + 0x20]
push edi
lea edi, [esp + 0x34]
push edi
push edx
push ebp
push 0x8000000
push ebp
push ebp
push ebp
push ecx
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x6d5b21b1
mov edx, dword [esp + 0x20]
push 0x2bf20
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x6d5b219d
mov eax, dword [esp + 0x20]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
call fcn.6d5a5130
mov ecx, dword [esp + 0x24]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x20]
push edx
call edi
mov edi, dword [sym.imp.kernel32.dll_InterlockedDecrement]
cmp esi, ebp
je 0x6d5b21eb
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x6d5b21eb
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b21d2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b21e2
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp ebx, ebp
je 0x6d5b221f
lea ecx, [ebx + 8]
push ecx
call edi
test eax, eax
jne 0x6d5b221f
mov eax, dword [ebx]
cmp eax, ebp
je 0x6d5b2206
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x6d5b2216
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x6d5b2257
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x6d5b2257
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b223e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b224e
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x1074]
pop edi
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.6d5ca6ac
add esp, 0x1068
ret