Function at 0x409480
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438181
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x4cc]
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x4b4], 0
call fcn.0042f910
push str.aapt.exe_dump_badging__
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.0040aeb0
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4b8], 8
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x409504
push dword [ebp - 0x4cc]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x4b8], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x4bc], 0
mov word [ebp - 0x4cc], ax
call fcn.0040bbe0
push 1
push 0x43dbc8
lea ecx, [ebp - 0x42c]
call fcn.0040a6f0
push 0
lea eax, [ebp - 0x468]
mov dword [ebp - 0x468], 0xc
push eax
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x464], 0
push eax
lea eax, [ebp - 0x458]
mov dword [ebp - 0x460], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4095c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.getApkInfo_CreatePipe_error_lasterror___d_n
push 0x8e
push str.DNApkManager::aaptApkInfo
call fcn.00427290
add esp, 0x10
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov ecx, edi
mov byte [edi], 0
push 0
push 0x43dad8
call fcn.004045b0
jmp 0x409792
push 0x40
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4b0], 0x44
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x484], 0x101
push ecx
lea ecx, [ebp - 0x4b0]
xor eax, eax
cmp dword [ebp - 0x418], 8
push ecx
push 0
push 0
push 0
mov word [ebp - 0x480], ax
mov eax, dword [ebp - 0x45c]
push 1
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x409691
cmp dword [ebp - 0x418], 8
lea esi, [ebp - 0x42c]
cmovae esi, dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.getApkInfo_CreateProcess_error___s__error_Code:_d_n
push 0x9e
push str.DNApkManager::aaptApkInfo
call fcn.00427290
add esp, 0x14
mov ecx, edi
push 0x43dad8
call fcn.004046d0
jmp 0x409792
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
push 0x3ff
lea eax, [ebp - 0x40f]
mov byte [ebp - 4], 3
push 0
push eax
mov byte [ebp - 0x410], 0
call sub.MSVCR120.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x414]
add esp, 0xc
mov dword [ebp - 0x414], 0
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x458]
call esi
test eax, eax
je 0x409749
lea ebx, [ebx]
push dword [ebp - 0x414]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x444]
call fcn.0040baf0
push 0
lea eax, [ebp - 0x414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x458]
call esi
test eax, eax
jne 0x409710
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x444]
mov ecx, edi
push eax
call fcn.004082b0
cmp dword [ebp - 0x430], 0x10
jb 0x409777
push dword [ebp - 0x444]
call ebx
add esp, 4
mov dword [ebp - 0x430], 0xf
mov dword [ebp - 0x434], 0
mov byte [ebp - 0x444], 0
cmp dword [ebp - 0x418], 8
jb 0x4097a6
push dword [ebp - 0x42c]
call ebx
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436c68
mov esp, ebp
pop ebp
ret 8