Function at 0x434b20
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 0x4e1b82
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x134c
call fcn.0047fb60
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x1348], eax
push ebx
push esi
push edi
mov eax, dword [0x5134a8]
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, 0x4fcf80
mov dword [esp + 0x18], eax
call fcn.004064c0
xor edi, edi
mov dword [esp + 0x1368], edi
cmp dword [esi + 8], 4
jne 0x434bbc
mov edx, dword [esi + 0x94]
push 3
mov eax, 0x4fcf88
lea esi, [esp + 0xa8]
mov dword [esp + 0x18], edx
call fcn.004086f0
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 + 0x2c], eax
mov dword [ebx + 0x150], 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.004728d0
xor eax, eax
mov dword [ebx + 0x13c], eax
mov dword [ebx + 0x140], eax
mov dword [ebx + 0x144], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
add esp, 0xc
mov dword [ebx + 0x148], 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 0x4f65d0
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 0x434d3f
push str.__redirect_gateway_def1_bypass_dhcp_bypass_dns
lea ecx, [esp + 0xc8]
call dword [sym.imp.LibDui.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
cmp dword [esi + 8], 3
mov ecx, 8
jne 0x434d95
cmp dword [esi + 0x48], ecx
jb 0x434d54
mov eax, dword [esi + 0x34]
jmp 0x434d57
lea eax, [esi + 0x34]
mov edx, dword [esp + 0xac]
cmp dword [esp + 0xc0], ecx
jae 0x434d6e
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 0x434dde
cmp dword [esi + 0x48], ecx
jb 0x434d9f
mov eax, dword [esi + 0x34]
jmp 0x434da2
lea eax, [esi + 0x34]
mov edx, dword [esp + 0xac]
cmp dword [esp + 0xc0], ecx
jae 0x434db9
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 + 0x13c]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [ebx + 0x34]
call esi
push eax
push 0
push 0x10
push 1
push 0
push 0
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [ebx + 0xb8]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x434fe0
push str.vpn_exit
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [ebx + 0x14c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov esi, dword [esp + 0x1c]
mov edi, 8
cmp dword [esi + 0x88], edi
jb 0x434e67
mov eax, dword [esi + 0x74]
jmp 0x434e6a
lea eax, [esi + 0x74]
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004554d0
add esp, 4
mov byte [esp + 0x1388], 2
cmp dword [esi + 0x68], edi
jb 0x434e8e
mov esi, dword [esi + 0x54]
jmp 0x434e91
add esi, 0x54
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x98], esp
push esi
call fcn.004554d0
mov edx, dword [esp + 0x64]
mov eax, dword [ebx + 0x14c]
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.00435170
mov ecx, dword [ebx + 0x14c]
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [ebx + 0x140]
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 + 0x14c]
push edx
call esi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 0x13c]
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp edi, 3
jne 0x435060
mov ecx, ebx
call fcn.00436070
cmp eax, 1
jne 0x435065
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 0x434f6e
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00460940
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.0045e1c0
mov eax, dword [esp + 0xa4]
cmp eax, 0xfffffffd
je 0x434fce
cmp eax, esi
je 0x434fc7
jmp 0x434fb0
mov dword [eax], esi
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 4]
mov dword [esp + 0xa4], eax
cmp eax, esi
jne 0x434fb0
mov dword [esp + 0xa4], esi
lea ecx, [esp + 0x3c]
call fcn.0045e200
mov esi, dword [esp + 0x1c]
jmp 0x434b70
mov ecx, dword [ebx + 0x150]
mov edx, dword [ebx + 0x2c]
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 0x43502d
mov eax, dword [esp + 0xac]
push eax
call fcn.00460940
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 0x435143
cmp edi, 6
je 0x4350bd
mov edx, dword [ebx + 0x150]
mov eax, dword [ebx + 0x2c]
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 0x4350b1
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00460940
add esp, 4
xor edx, edx
mov word [esp + 0xac], dx
jmp 0x435120
mov eax, dword [ebx + 0x150]
mov ecx, dword [ebx + 0x2c]
push esi
push 3
push eax
call ecx
add esp, 0xc
push 0x4f8358
call fcn.00434890
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 0x435116
mov edx, dword [esp + 0xac]
push edx
call fcn.00460940
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.00460640
mov esp, ebp
pop ebp
ret 0xc