Function at 0x44d570
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 0x4f8e32
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x134c
call fcn.00495cd0
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, 0x51741c
mov dword [esp + 0x18], eax
call fcn.00406530
xor edi, edi
mov dword [esp + 0x1368], edi
cmp dword [esi + 8], 4
jne 0x44d60c
mov edx, dword [esi + 0x94]
push 3
mov eax, 0x517424
lea esi, [esp + 0xa8]
mov dword [esp + 0x18], edx
call fcn.00408980
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.00488970
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 0x50d618
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 0x44d78f
push str.__redirect_gateway_def1_bypass_dhcp_bypass_dns
lea ecx, [esp + 0xc8]
call dword [0x4fd30c]
cmp dword [esi + 8], 3
mov ecx, 8
jne 0x44d7e5
cmp dword [esi + 0x48], ecx
jb 0x44d7a4
mov eax, dword [esi + 0x34]
jmp 0x44d7a7
lea eax, [esi + 0x34]
mov edx, dword [esp + 0xac]
cmp dword [esp + 0xc0], ecx
jae 0x44d7be
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 0x44d82e
cmp dword [esi + 0x48], ecx
jb 0x44d7ef
mov eax, dword [esi + 0x34]
jmp 0x44d7f2
lea eax, [esi + 0x34]
mov edx, dword [esp + 0xac]
cmp dword [esp + 0xc0], ecx
jae 0x44d809
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 0x44da30
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 0x44d8b7
mov eax, dword [esi + 0x74]
jmp 0x44d8ba
lea eax, [esi + 0x74]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0046b590
add esp, 4
mov byte [esp + 0x1388], 2
cmp dword [esi + 0x68], edi
jb 0x44d8de
mov esi, dword [esi + 0x54]
jmp 0x44d8e1
add esi, 0x54
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x98], esp
push esi
call fcn.0046b590
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.0044dbc0
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 0x44dab0
mov ecx, ebx
call fcn.0044eab0
cmp eax, 1
jne 0x44dab5
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 0x44d9be
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00476980
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.00474230
mov eax, dword [esp + 0xa4]
cmp eax, 0xfffffffd
je 0x44da1e
cmp eax, esi
je 0x44da17
jmp 0x44da00
mov dword [eax], esi
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
cmp eax, esi
jne 0x44da00
mov dword [esp + 0xa4], esi
lea ecx, [esp + 0x3c]
call fcn.00474270
mov esi, dword [esp + 0x1c]
jmp 0x44d5c0
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 0x44da7d
mov eax, dword [esp + 0xac]
push eax
call fcn.00476980
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 0x44db93
cmp edi, 6
je 0x44db0d
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 0x44db01
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00476980
add esp, 4
xor edx, edx
mov word [esp + 0xac], dx
jmp 0x44db70
mov eax, dword [ebx + 0x14c]
mov ecx, dword [ebx + 0x28]
push esi
push 3
push eax
call ecx
add esp, 0xc
push 0x50eabc
call fcn.0044d2e0
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 0x44db66
mov edx, dword [esp + 0xac]
push edx
call fcn.00476980
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.00476680
mov esp, ebp
pop ebp
ret 0xc