Function at 0x6d5b2270
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 0x6d5b22af
lea ecx, [esp + 0x6c]
push ecx
jmp 0x6d5b22b4
push 0x6d5cda3c
lea ecx, [esp + 0x14]
call fcn.6d592e00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x6d5b22d3
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 0x6d5b2386
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 0x6d5b2312
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 0x6d5b2355
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b233c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b234c
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 0x6d5b2308
push 0x6d5cda3c
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x6d5b2390
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 0x6d5b2308
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 0x6d5b23cb
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 0x6d5b240e
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b23f5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b2405
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 0x6d5b2308
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 0x6d5b2453
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 0x6d5b2496
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b247d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b248d
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 0x6d5b2308
lea edi, [esi + 8]
push str.__wait__fix__shortcut__silent
mov dword [esi + 4], ebp
mov dword [edi], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x6d5b24cd
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 0x6d5b2510
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b24f7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b2507
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 0x6d5b2546
mov edx, dword [eax]
jmp 0x6d5b2548
xor edx, edx
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x6d5b2554
mov ecx, dword [esi]
jmp 0x6d5b2556
xor ecx, ecx
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
je 0x6d5b2562
mov eax, dword [ebx]
jmp 0x6d5b2564
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 0x6d5b25c1
mov edx, dword [esp + 0x20]
push 0x2bf20
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x6d5b25ad
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 0x6d5b25fb
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x6d5b25fb
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b25e2
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b25f2
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 0x6d5b262f
lea ecx, [ebx + 8]
push ecx
call edi
test eax, eax
jne 0x6d5b262f
mov eax, dword [ebx]
cmp eax, ebp
je 0x6d5b2616
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x6d5b2626
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 0x6d5b2667
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x6d5b2667
mov eax, dword [esi]
cmp eax, ebp
je 0x6d5b264e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x6d5b265e
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