Function at 0x49ffa0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x800953
push eax
mov dword fs:[0], esp
sub esp, 0x114
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.006d43a0
test eax, eax
jne 0x49ffd6
mov dword [esp + 4], eax
jmp 0x49ffda
mov eax, dword [esp + 4]
test eax, eax
mov dword [esp + 0xc], eax
je 0x49fff0
lea ecx, [esp + 0x10]
push ecx
call fcn.006d4460
mov dword [esp + 0xc], eax
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x88]
mov dword [esp + 0x124], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x88], 0x44
test eax, eax
je 0x4a0028
lea esi, [eax + 4]
jmp 0x4a002a
xor esi, esi
lea edx, [esp + 0xb]
lea ecx, [esp + 0x34]
push edx
call fcn.00478ac0
push 0x8fbc24
mov byte [esp + 0x128], 1
mov dword [esp + 0x34], vtable.ucs2string.0
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x34]
push eax
push 0x8fbc24
call fcn.00403980
lea eax, [esp + 0x34]
lea ecx, [esp + 0x78]
push eax
push 0x90691c
push ecx
mov byte [esp + 0x130], 2
call fcn.00406a00
push esi
lea edx, [esp + 0x78]
push eax
push edx
mov byte [esp + 0x13c], 3
call fcn.00406890
add esp, 0x18
mov esi, eax
lea eax, [esp + 0xb]
lea ecx, [esp + 0x20]
push eax
mov byte [esp + 0x128], 4
call fcn.00478ac0
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x130], 5
mov dword [esp + 0x28], vtable.ucs2string.0
call fcn.00403140
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x128], 9
call fcn.00404f20
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x128], 8
call fcn.00404f20
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x128], 7
call fcn.00404f20
mov edi, dword [esp + 0x130]
test edi, edi
je 0x4a0117
mov dword [esp + 0x10], edi
jmp 0x4a011f
lea ecx, [esp + 0x58]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call dword [edx]
test al, al
je 0x4a0163
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a0163
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4a0142
mov esi, 0x8522f8
lea ecx, [esp + 0x1c]
call fcn.00435660
test al, al
je 0x4a015f
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
call dword [eax + 0x1c]
lea eax, [esi + eax*2]
jmp 0x4a0168
mov eax, esi
jmp 0x4a0168
mov eax, 0x852354
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x88]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4a01fa
lea eax, [esp + 0xb]
lea ecx, [esp + 0x48]
push eax
call fcn.00478ac0
push str.Executing_mstsc.exe_failed:_CreateProcess__
mov byte [esp + 0x128], 0xa
mov dword [esp + 0x48], vtable.ucs2string.0
call fcn.007ac4d2
add esp, 4
lea ecx, [esp + 0x48]
push eax
push str.Executing_mstsc.exe_failed:_CreateProcess__
call fcn.00403980
mov byte [esp + 0x124], 0xb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0xd4]
call fcn.005844f0
lea edx, [esp + 0xcc]
push 0x89b94c
push edx
call fcn.007ac5c6
test edi, edi
jne 0x4a0212
mov eax, dword [esp + 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x58]
push ecx
call esi
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x128], 0
call fcn.00404f20
mov eax, dword [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
test eax, eax
je 0x4a0242
mov edx, dword [esp + 0x18]
push edx
call fcn.006d44b0
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x120
ret