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

Disassembly:
mov eax, 0x1068
call fcn.100378e0
mov eax, dword [0x1004f860]
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 0x1003bb30
call fcn.10004030
add esp, 0x10
test eax, eax
je 0x1001f52f
lea ecx, [esp + 0x6c]
push ecx
jmp 0x1001f534
push 0x1003a9fc
lea ecx, [esp + 0x14]
call fcn.10002e00
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x1001f553
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 0x1001f606
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 0x1001f592
push 0x8007000e
call fcn.1002e6c0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.10004760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001f5d5
mov eax, dword [esi]
cmp eax, ebp
je 0x1001f5bc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1001f5cc
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 0x1001f588
push 0x1003a9fc
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x1001f610
push 0x8007000e
call fcn.1002e6c0
push 0x8007000e
call fcn.1002e6c0
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 0x1001f588
lea edi, [esi + 8]
push 0x1003c448
mov dword [esi + 4], ebp
mov dword [edi], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x1001f64b
push 0x8007000e
call fcn.1002e6c0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.10004760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001f68e
mov eax, dword [esi]
cmp eax, ebp
je 0x1001f675
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1001f685
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.10004760
push 0xc
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x1001f588
lea edi, [esi + 8]
push 0x1003c448
mov dword [esi + 4], ebp
mov dword [edi], 1
call ebx
mov dword [esi], eax
cmp eax, ebp
jne 0x1001f6d3
push 0x8007000e
call fcn.1002e6c0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.10004760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001f716
mov eax, dword [esi]
cmp eax, ebp
je 0x1001f6fd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1001f70d
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 0x1001f588
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 0x1001f74d
push 0x8007000e
call fcn.1002e6c0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.10004760
push edi
call dword [sym.imp.kernel32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001f790
mov eax, dword [esi]
cmp eax, ebp
je 0x1001f777
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1001f787
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 0x1001f7c6
mov edx, dword [eax]
jmp 0x1001f7c8
xor edx, edx
mov esi, dword [esp + 0x10]
cmp esi, ebp
je 0x1001f7d4
mov ecx, dword [esi]
jmp 0x1001f7d6
xor ecx, ecx
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
je 0x1001f7e2
mov eax, dword [ebx]
jmp 0x1001f7e4
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 0x1001f841
mov edx, dword [esp + 0x20]
push 0x2bf20
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1001f82d
mov eax, dword [esp + 0x20]
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
call fcn.10014cc0
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 0x1001f87b
lea eax, [esi + 8]
push eax
call edi
test eax, eax
jne 0x1001f87b
mov eax, dword [esi]
cmp eax, ebp
je 0x1001f862
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1001f872
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 0x1001f8af
lea ecx, [ebx + 8]
push ecx
call edi
test eax, eax
jne 0x1001f8af
mov eax, dword [ebx]
cmp eax, ebp
je 0x1001f896
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x1001f8a6
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 0x1001f8e7
lea edx, [esi + 8]
push edx
call edi
test eax, eax
jne 0x1001f8e7
mov eax, dword [esi]
cmp eax, ebp
je 0x1001f8ce
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x1001f8de
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.1003779c
add esp, 0x1068
ret