Function at 0x436070
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4dbda4
mov eax, dword fs:[0]
push eax
mov eax, 0x1214
call fcn.0047fb60
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x1210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x1228]
mov dword fs:[0], eax
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x18], ebx
call esi
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1230], ebx
call esi
lea ecx, [esp + 0x114]
mov byte [esp + 0x1230], 1
call esi
push str.IsWow64Process
mov byte [esp + 0x1234], 2
push str.kernel32
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x30], eax
cmp eax, ebx
je 0x436122
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [edi + 0x30]
push eax
call ecx
lea ecx, [edi + 0x34]
mov edi, dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
call edi
mov esi, dword [sym.imp.LibDui.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
push eax
cmp dword [esp + 0x20], ebx
je 0x436158
lea edx, [esp + 0x90]
push str._sx64
push edx
call esi
push str.tapinstall.exe_install_OemVista.inf_tap0901
lea eax, [esp + 0x124]
push eax
jmp 0x436174
lea ecx, [esp + 0x90]
push str._sx86
push ecx
call esi
push str.tapinstall.exe_install_OemWin2k.inf_tap0901
lea edx, [esp + 0x124]
push edx
call esi
add esp, 0x14
lea ecx, [esp + 0x8c]
call edi
push eax
lea eax, [esp + 0x1a0]
push str._s_tapinstall.exe
push eax
call esi
add esp, 0xc
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x436205
mov byte [esp + 0x1230], 1
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x114]
call esi
lea ecx, [esp + 0x19c]
mov byte [esp + 0x1230], bl
call esi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1230], 0xffffffff
call esi
xor eax, eax
jmp 0x436390
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.LibDui.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
xor edx, edx
push ecx
lea ecx, [esp + 0x94]
mov word [esp + 0x7c], dx
mov dword [esp + 0x78], 0x101
call esi
push eax
push ebx
push 0x10
push 1
push ebx
push ebx
lea ecx, [esp + 0x134]
call edi
push eax
lea ecx, [esp + 0x1c0]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4361c3
mov edx, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebp
push 0xfff
lea eax, [esp + 0x229]
push ebx
push eax
mov byte [esp + 0x230], bl
call fcn.004728d0
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0xc
push ebx
lea ecx, [esp + 0x28]
push ecx
push 0xfff
lea edx, [esp + 0x230]
push edx
push eax
call esi
test eax, eax
je 0x436337
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x224]
push str.tapinstall.exe_failed
push ecx
call fcn.0046a140
add esp, 8
cmp eax, ebx
jne 0x436329
lea edx, [esp + 0x224]
push str.Drivers_installed_successfully
push edx
call fcn.0046a140
add esp, 8
cmp eax, ebx
jne 0x43632f
push 0x1f4
call edi
mov edx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x28]
push eax
push 0xfff
lea ecx, [esp + 0x230]
push ecx
push edx
call esi
test eax, eax
jne 0x4362d0
jmp 0x436337
mov dword [esp + 0x18], ebx
jmp 0x436337
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x38]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov edx, dword [esp + 0x34]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x1230], 1
mov esi, dword [sym.imp.LibDui.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [esp + 0x114]
call esi
lea ecx, [esp + 0x19c]
mov byte [esp + 0x1230], bl
call esi
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1230], 0xffffffff
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1210]
xor ecx, esp
call fcn.00460640
add esp, 0x1220
ret