Function at 0x40efb0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x48da91
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2f0]
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40f312
call fcn.0040c9f0
cmp byte [eax + 0x96a], bl
je 0x40f312
cmp byte [0x4bd2df], bl
jne 0x40f312
call fcn.0040c9f0
cmp byte [eax + 0x128], bl
je 0x40f02e
add eax, 0x18
jmp 0x40f031
mov eax, dword [eax + 0x14]
add eax, 4
cmp eax, ebx
je 0x40f316
cmp word [eax], bx
je 0x40f316
push ebx
push ebx
push ebx
push ebx
push str.SGTool.exe
push eax
lea ecx, [esp + 0x1cc]
call fcn.0040d150
mov dword [esp + 0x2e8], ebx
mov dword [esp + 0x18], vtable.t_errorList.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], vtable.t_errorList::t_mem.0
mov ecx, ebp
lea edi, [esp + 0x18]
mov byte [esp + 0x2e8], 1
call fcn.00414570
test al, al
jne 0x40f0bb
push 0x4ade08
mov eax, ebp
call fcn.0040a030
lea ecx, [esp + 0x18]
call fcn.00414530
lea ecx, [esp + 0x1b4]
call fcn.0040d4b0
jmp 0x40f331
mov eax, dword [esp + 0x2f4]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, esi
mov ecx, ebp
call fcn.00414650
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
cmp esi, ebx
jne 0x40f0e9
push 0x4ade24
jmp 0x40f09a
push 6
push esi
call fcn.00413b20
push 6
push esi
call fcn.00413b70
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 0x10
push ebx
push 1
push 0x10000000
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x40f135
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4ade38
jmp 0x40f09a
push 0x40
lea eax, [esp + 0x4c]
push ebx
push eax
mov dword [esp + 0x50], 0x44
call fcn.0046f9f0
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.0040f730
push 0x4ac7cc
push 0x4ad42c
lea edx, [esp + 0x94]
mov byte [esp + 0x2f0], 2
call fcn.0040fd10
add esp, 8
lea eax, [esp + 0x1b4]
call fcn.0040d4e0
push eax
push 0x4ad42c
lea edx, [esp + 0x94]
call fcn.0040fd10
push 0x4ac7cc
push 0x4ad42c
lea edx, [esp + 0x9c]
call fcn.0040fd10
push str.___appiderrorreport
push 0x4ad42c
lea edx, [esp + 0xa4]
call fcn.0040fd10
push str.__list
push 0x4ad42c
lea edx, [esp + 0xac]
call fcn.0040fd10
push str.__hevent
push 0x4ad42c
lea edx, [esp + 0xb4]
call fcn.0040fd10
mov ecx, dword [esp + 0x3c]
push ecx
push 0x4adf24
lea edx, [esp + 0xbc]
call fcn.0040fd10
add esp, 0x30
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
mov ecx, 0x104
lea eax, [esp + 0xac]
call fcn.0040fb50
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40f2ab
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
lea edi, [esp + 0x8c]
call fcn.0040fb80
mov ebx, ebp
call fcn.0040f360
mov esi, eax
push str._T_vz1Y_
push 0x4ad42c
mov edx, esi
call fcn.0040fd10
add esp, 8
lea eax, [esp + 0x1b4]
call fcn.0040d4e0
call fcn.0040f4a0
push 0x4ade08
mov eax, ebp
call fcn.0040a030
mov ecx, edi
call fcn.0040d4b0
jmp 0x40f0a1
lea edi, [esp + 0x8c]
call fcn.0040fb80
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
push 2
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, dword [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x30]
push edx
call edi
push esi
call edi
mov eax, dword [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x8c]
call fcn.0040d4b0
lea ecx, [esp + 0x18]
call fcn.00414530
lea ecx, [esp + 0x1b4]
call fcn.0040d4b0
mov al, 1
jmp 0x40f333
mov eax, ebp
call fcn.0040e680
push 0x4addc4
push 0x4ad42c
mov edx, eax
call fcn.0040fd10
add esp, 8
xor al, al
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x2d8
ret