Function at 0x43e4ec
Capabilities:
Create process on windows

Disassembly:
push 0x870
mov eax, 0x48c088
call fcn.00454dca
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 1
call fcn.0043d1ad
xor ebx, ebx
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x10], ebx
jb 0x43e51c
mov eax, dword [esi + 4]
jmp 0x43e51f
lea eax, [esi + 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x87c]
push 0x498ac0
push eax
call fcn.0041e3bc
push dword [eax]
mov byte [ebp - 4], 2
call fcn.0044841f
lea eax, [ebp - 0x874]
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [ebp - 0x87c], eax
je 0x43e563
push dword [ebp - 0x87c]
call fcn.0045471c
pop ecx
cmp dword [ebp + 8], ebx
je 0x43e6cf
cmp dword [ebp + 0xc], ebx
je 0x43e6cf
push dword [ebp + 0xc]
call fcn.0045494d
mov esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.00454507
push 0xffffffffffffffff
push dword [ebp + 0xc]
inc esi
push esi
push eax
mov dword [ebp - 0x14], eax
call fcn.0045487a
push 0x40
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.00454800
xor eax, eax
mov dword [ebp - 0x30], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
inc esi
add esp, 0x24
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], 0x44
cmp dword [ebp + 0x14], esi
jne 0x43e662
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x18], ebx
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x43e6c3
lea eax, [ebp + 0x14]
push eax
push esi
push esi
push ebx
push 0x2000000
push dword [ebp - 0x18]
mov dword [ebp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x43e65b
push ebx
push dword [ebp + 0x14]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x43e656
push 0x498aac
call fcn.0044841f
pop ecx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push dword [ebp - 0x1c]
push 0x8000420
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp + 8]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x43e64d
mov dword [ebp - 0x10], esi
push dword [ebp - 0x1c]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp + 0x14]
call edi
push dword [ebp - 0x18]
call edi
jmp 0x43e697
cmp dword [ebp + 0x14], ebx
jne 0x43e6c3
push 0x498a90
call fcn.0044841f
pop ecx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push 0x430
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x43e6c3
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], ebx
je 0x43e6c3
push str._ES_server
call fcn.0044841f
pop ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x30]
push eax
add ecx, 0x44
call fcn.0043c935
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
push dword [ebp - 0x2c]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp - 0x14]
call fcn.00454315
mov esi, dword [ebp - 0x20]
pop ecx
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp + 0x10]
call fcn.0043d1c7
push 0x498a44
call fcn.0044841f
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0041a963
call fcn.00454ea2
ret 0x10