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

Disassembly:
push 0xffffffffffffffff
push 0x498ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4c5280]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5280]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2f0]
xor ebx, ebx
mov esi, ecx
cmp byte [0x4cad31], bl
jne 0x41037b
call fcn.0040d840
cmp byte [eax + 0x96a], bl
je 0x41037b
cmp byte [0x4cad31], bl
jne 0x41037b
cmp word [esi], bx
je 0x41037b
call fcn.0040d840
cmp byte [eax + 0x96a], bl
je 0x41037b
cmp byte [0x4cad31], bl
jne 0x41037b
call fcn.0040d840
cmp byte [eax + 0x128], bl
je 0x410097
add eax, 0x18
jmp 0x41009a
mov eax, dword [eax + 0x14]
add eax, 4
cmp eax, ebx
je 0x41037f
cmp word [eax], bx
je 0x41037f
push ebx
push ebx
push ebx
push ebx
push str.SGTool.exe
push eax
lea ecx, [esp + 0x1cc]
call fcn.0040df70
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.004165a0
test al, al
jne 0x410124
push 0x4b9958
mov eax, ebp
call fcn.00407b00
lea ecx, [esp + 0x18]
call fcn.00416560
lea ecx, [esp + 0x1b4]
call fcn.0040e2d0
jmp 0x41038b
mov eax, dword [esp + 0x2f4]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, esi
mov ecx, ebp
call fcn.00416680
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
cmp esi, ebx
jne 0x410152
push 0x4b9974
jmp 0x410103
push 6
push esi
call fcn.00415b20
push 6
push esi
call fcn.00415b70
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 0x41019e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4b9988
jmp 0x410103
push 0x40
lea eax, [esp + 0x4c]
push ebx
push eax
mov dword [esp + 0x50], 0x44
call fcn.00479770
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.00410770
push 0x4b8238
push 0x4b8ff4
lea edx, [esp + 0x94]
mov byte [esp + 0x2f0], 2
call fcn.00410f90
add esp, 8
lea eax, [esp + 0x1b4]
call fcn.00410eb0
push eax
push 0x4b8ff4
lea edx, [esp + 0x94]
call fcn.00410f90
push 0x4b8238
push 0x4b8ff4
lea edx, [esp + 0x9c]
call fcn.00410f90
push str.___appiderrorreport
push 0x4b8ff4
lea edx, [esp + 0xa4]
call fcn.00410f90
push str.__list
push 0x4b8ff4
lea edx, [esp + 0xac]
call fcn.00410f90
push str.__hevent
push 0x4b8ff4
lea edx, [esp + 0xb4]
call fcn.00410f90
mov ecx, dword [esp + 0x3c]
push ecx
push 0x4b9a74
lea edx, [esp + 0xbc]
call fcn.00410f90
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.00410b90
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x410314
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.00410bc0
mov ebx, ebp
call fcn.004103c0
mov esi, eax
push str._T_vz1Y_
push 0x4b8ff4
mov edx, esi
call fcn.00410f90
add esp, 8
lea eax, [esp + 0x1b4]
call fcn.00410eb0
call fcn.00410db0
push 0x4b9958
mov eax, ebp
call fcn.00407b00
mov ecx, edi
call fcn.0040e2d0
jmp 0x41010a
lea edi, [esp + 0x8c]
call fcn.00410bc0
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.0040e2d0
lea ecx, [esp + 0x18]
call fcn.00416560
lea ecx, [esp + 0x1b4]
call fcn.0040e2d0
mov al, 1
jmp 0x41038d
push 0x4b9914
mov eax, ebp
call fcn.00407b00
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.00474db0
add esp, 0x2d8
ret