Function at 0x439e7e
Capabilities:
Create process on windows
Create process suspended
Inject apc
Query environment variable
Resume thread
Self delete
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4a22d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, 0x104
xor ebx, ebx
push edi
push eax
push str._SystemRoot_System32_rundll32.exe
mov dword [ebp - 0x210], ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x43a097
cmp eax, edi
jae 0x43a097
push 0x40
lea eax, [ebp - 0x274]
mov dword [ebp - 0x278], 0x44
push ebx
push eax
call fcn.0046eac0
xor eax, eax
mov dword [ebp - 0x220], ebx
add esp, 0xc
lea edi, [ebp - 0x21c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x278]
push eax
push ebx
push ebx
push 4
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov dword [ebp - 0x210], edi
test edi, edi
je 0x43a08e
mov ecx, dword [esi + 0x10]
push 4
push 0x1000
lea ecx, [ecx*2 + 2]
push ecx
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, eax
mov dword [ebp - 0x230], ecx
test ecx, ecx
je 0x43a021
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x22c], ebx
jb 0x439f67
mov esi, dword [esi]
lea edx, [ebp - 0x22c]
push edx
lea eax, [eax*2 + 2]
push eax
push esi
push ecx
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x48e770
push edi
call esi
push 0x48e778
push edi
mov dword [ebp - 0x234], eax
call esi
push 0x48e784
push edi
mov dword [ebp - 0x228], eax
call esi
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x224], eax
test ecx, ecx
je 0x43a01d
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x43a01d
test eax, eax
je 0x43a01d
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push dword [ebp - 0x21c]
push ecx
call esi
push dword [ebp - 0x230]
push dword [ebp - 0x21c]
push edi
call esi
push ebx
push dword [ebp - 0x21c]
push dword [ebp - 0x224]
call esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [ebp - 0x210]
jmp 0x43a078
mov edi, ebx
jmp 0x43a078
call fcn.00409a00
cmp eax, 2
jg 0x43a05a
push 2
pop ebx
call sub.KERNEL32.dll_GetLastError
push eax
push ebx
push 0xfd
push str.c:_b_build_slavewin_build_srcchromeinstaller_setup_setup_util.cc
lea ecx, [ebp - 0x330]
call fcn.0040a260
add eax, 0x10
push 0x48e790
push eax
call fcn.00408be0
pop ecx
pop ecx
test bl, 2
je 0x43a06a
lea ecx, [ebp - 0x330]
call fcn.0040a2c0
push 0xffffffffffffffff
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x21c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x220]
call esi
xor eax, eax
test edi, edi
setne al
jmp 0x43a099
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e2b4
mov esp, ebp
pop ebp
ret