Function at 0x44dc50
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f86a2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x134c
call fcn.004954e0
mov eax, dword [0x52f4a8]
xor eax, esp
mov dword [esp + 0x1348], eax
push ebx
push esi
push edi
mov eax, dword [0x52f4a8]
xor eax, esp
push eax
lea eax, [esp + 0x1360]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov edi, edi
mov eax, dword [esi + 0x90]
lea ecx, [esp + 0xa4]
push ecx
mov edi, 0x517654
mov dword [esp + 0x18], eax
call fcn.00406500
xor edi, edi
mov dword [esp + 0x1368], edi
cmp dword [esi + 8], 4
jne 0x44dcec
mov edx, dword [esi + 0x94]
push 3
mov eax, 0x51765c
lea esi, [esp + 0xa8]
mov dword [esp + 0x18], edx
call fcn.00408910
mov esi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push 0x44
lea edx, [esp + 0x60]
push edi
push edx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x14c], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edi
call fcn.00488300
xor eax, eax
mov dword [ebx + 0x138], eax
mov dword [ebx + 0x13c], eax
mov dword [ebx + 0x140], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
add esp, 0xc
mov dword [ebx + 0x144], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
push 1
mov ecx, eax
push ecx
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 1
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push edi
push edi
push 1
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push edi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 2
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0x38]
push eax
call edi
mov ecx, dword [esp + 0x38]
push eax
push ecx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
push 0
push 0
lea edx, [esp + 0x4c]
push edx
call edi
push eax
mov eax, dword [esp + 0x34]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea ecx, [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
xor edx, edx
push 0x50d5f8
lea ecx, [esp + 0xcc]
mov dword [esp + 0x64], 0x44
mov dword [esp + 0x90], 0x101
mov word [esp + 0x94], dx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
mov byte [esp + 0x1368], 1
cmp dword [esi], 1
jne 0x44de6f
push str.__redirect_gateway_def1_bypass_dhcp_bypass_dns
lea ecx, [esp + 0xc8]
call dword [0x4fd308]
cmp dword [esi + 8], 3
mov ecx, 8
jne 0x44dec5
cmp dword [esi + 0x48], ecx
jb 0x44de84
mov eax, dword [esi + 0x34]
jmp 0x44de87
lea eax, [esi + 0x34]
mov edx, dword [esp + 0xac]
cmp dword [esp + 0xc0], ecx
jae 0x44de9e
lea edx, [esp + 0xac]
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x98]
push ecx
push eax
push edx
push str.___service_vpn_exit_0___config_client.o___verb_3___client___dev_tun___keepalive_10_120___cipher_AES_256_CBC___auth_SHA1___auth_user_pass___reneg_sec_0___ping_timer_rem____proto__s___remote__s__d__s
jmp 0x44df0e
cmp dword [esi + 0x48], ecx
jb 0x44decf
mov eax, dword [esi + 0x34]
jmp 0x44ded2
lea eax, [esi + 0x34]
mov edx, dword [esp + 0xac]
cmp dword [esp + 0xc0], ecx
jae 0x44dee9
lea edx, [esp + 0xac]
sub esp, 0x84
mov edi, esp
mov ecx, 0x21
lea esi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x98]
push ecx
push eax
push edx
push str.___service_vpn_exit_0___config_client.o___client___dev_tun___persist_key___persist_tun___auth_user_pass___ns_cert_type_server___comp_lzo___reneg_sec_0___ping_timer_rem___verb_3___explicit_exit_notify_2___proto__s___remote__s__d__s
lea edx, [esp + 0x1e0]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
add esp, 0x98
lea eax, [ebx + 0x138]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 0x30]
call esi
push eax
push 0
push 0x10
push 1
push 0
push 0
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [ebx + 0xb4]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x44e110
push str.vpn_exit
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [ebx + 0x148], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov esi, dword [esp + 0x1c]
mov edi, 8
cmp dword [esi + 0x88], edi
jb 0x44df97
mov eax, dword [esi + 0x74]
jmp 0x44df9a
lea eax, [esi + 0x74]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0046b7b0
add esp, 4
mov byte [esp + 0x1388], 2
cmp dword [esi + 0x68], edi
jb 0x44dfbe
mov esi, dword [esi + 0x54]
jmp 0x44dfc1
add esi, 0x54
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x98], esp
push esi
call fcn.0046b7b0
mov edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x148]
mov ecx, dword [esp + 0x70]
add esp, 4
push edx
push eax
push ebx
lea edx, [esp + 0x3a0]
mov byte [esp + 0x13b4], 1
call fcn.0044e2a0
mov ecx, dword [ebx + 0x148]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebx + 0x13c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [ebx + 0x148]
push edx
call esi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0x138]
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp edi, 3
jne 0x44e190
mov ecx, ebx
call fcn.0044f190
cmp eax, 1
jne 0x44e195
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1368], 0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x1368], 0xffffffff
cmp dword [esp + 0xc0], 8
jb 0x44e09e
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00476350
add esp, 4
xor edx, edx
push 3
lea ecx, [esp + 0x40]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], esi
mov word [esp + 0xb0], dx
call fcn.00473c00
mov eax, dword [esp + 0xa4]
cmp eax, 0xfffffffd
je 0x44e0fe
cmp eax, esi
je 0x44e0f7
jmp 0x44e0e0
mov dword [eax], esi
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
cmp eax, esi
jne 0x44e0e0
mov dword [esp + 0xa4], esi
lea ecx, [esp + 0x3c]
call fcn.00473c40
mov esi, dword [esp + 0x1c]
jmp 0x44dca0
mov ecx, dword [ebx + 0x14c]
mov edx, dword [ebx + 0x28]
push 0
push 2
push ecx
call edx
add esp, 0xc
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1368], 0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x1368], 0xffffffff
cmp dword [esp + 0xc0], 8
jb 0x44e15d
mov eax, dword [esp + 0xac]
push eax
call fcn.00476350
add esp, 4
xor ecx, ecx
mov word [esp + 0xac], cx
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], 0
call fcn.00401050
xor eax, eax
jmp 0x44e273
cmp edi, 6
je 0x44e1ed
mov edx, dword [ebx + 0x14c]
mov eax, dword [ebx + 0x28]
push edi
push 2
push edx
call eax
add esp, 0xc
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1368], 0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x1368], 0xffffffff
cmp dword [esp + 0xc0], 8
jb 0x44e1e1
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00476350
add esp, 4
xor edx, edx
mov word [esp + 0xac], dx
jmp 0x44e250
mov eax, dword [ebx + 0x14c]
mov ecx, dword [ebx + 0x28]
push esi
push 3
push eax
call ecx
add esp, 0xc
push 0x50ea64
call fcn.0044d9c0
add esp, 4
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1368], 0
call dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov dword [esp + 0x1368], 0xffffffff
cmp dword [esp + 0xc0], 8
jb 0x44e246
mov edx, dword [esp + 0xac]
push edx
call fcn.00476350
add esp, 4
xor eax, eax
mov word [esp + 0xac], ax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], esi
call fcn.00401050
mov eax, 1
mov ecx, dword [esp + 0x1360]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1348]
xor ecx, esp
call fcn.00476050
mov esp, ebp
pop ebp
ret 0xc