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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a46bc
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4ed3dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x49d60f
mov ecx, dword [ebp + 8]
call fcn.00401c10
jmp 0x49d9f0
call fcn.00498840
mov ecx, eax
call fcn.00497a30
mov ecx, eax
call fcn.00499a60
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x49d635
mov edx, dword [ebp - 0x38]
movzx eax, word [edx]
test eax, eax
jne 0x49d64e
push 0x4d7bb8
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
jmp 0x49d9f0
push 0
push 0
push 0
push 0
push str.ErrorReport.exe
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0049a5c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004a2040
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.004a2390
movzx eax, al
test eax, eax
jne 0x49d6cd
push 0x4d7c04
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
mov byte [ebp - 0xad], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004a21a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00499a80
mov al, byte [ebp - 0xad]
jmp 0x49d9f0
mov cl, byte [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004a22a0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x49d73e
push 0x4d7c20
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
mov byte [ebp - 0xae], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004a21a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00499a80
mov al, byte [ebp - 0xae]
jmp 0x49d9f0
push 0x10000000
push 6
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.00499560
add esp, 0xc
push 6
mov edx, dword [ebp - 0xac]
push edx
call fcn.004997c0
add esp, 8
mov dword [ebp - 0x4c], 0
push 0
push 1
push 0x10000000
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x49d7e5
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4d7c34
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
mov byte [ebp - 0xaf], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004a21a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00499a80
mov al, byte [ebp - 0xaf]
jmp 0x49d9f0
mov dword [ebp - 0x94], 0x44
push 0x40
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.00470e10
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0xa4]
call fcn.0049be10
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
push edx
push str.__hevent
push 0x4d7c60
push 0x4d7c5c
lea ecx, [ebp - 0x48]
call fcn.00499a60
push eax
push 0x4d7c58
lea ecx, [ebp - 0xa4]
call fcn.0049c020
mov ecx, eax
call fcn.0049c020
mov ecx, eax
call fcn.0049c020
mov ecx, eax
call fcn.0049c020
mov ecx, eax
call fcn.0049c020
mov ecx, eax
call fcn.0049c080
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x94]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push 0x104
lea ecx, [ebp - 0xa4]
call fcn.0049bc90
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x49d93b
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xa4]
call fcn.0049c0f0
lea ecx, [ebp - 0x48]
call fcn.00499a60
push eax
push str._T_vz1Y_
mov ecx, dword [ebp + 8]
call fcn.0049ce30
mov ecx, eax
call fcn.0049ccb0
mov ecx, eax
call fcn.0049ccb0
push 0x4d7c94
mov ecx, dword [ebp + 8]
call fcn.00401c20
mov ecx, eax
call fcn.00401c00
mov byte [ebp - 0xb0], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0049ba50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004a21a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00499a80
mov al, byte [ebp - 0xb0]
jmp 0x49d9f0
lea ecx, [ebp - 0xa4]
call fcn.0049c0f0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xa8], 2
cmp dword [ebp - 0xac], 0
jne 0x49d972
mov dword [ebp - 0xa8], 1
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
call fcn.00401c10
mov byte [ebp - 0xb1], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0049ba50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004a21a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00499a80
mov al, byte [ebp - 0xb1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret