Function at 0x4f10a0
Capabilities:
Create pipe
Create process on windows
Read file on windows
Read pipe
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6acccc
mov eax, dword fs:[0]
push eax
sub esp, 0x91c
mov eax, dword [0x7e2670]
xor eax, ebp
mov dword [ebp - 0x90], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x904], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.0040e940
movzx eax, al
test eax, eax
jne 0x4f1101
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push str.__s_in_AndroidExecuteCmdLine__cmdline_s_r_n
call fcn.0066610b
add esp, 0xc
jmp 0x4f1112
mov eax, dword [ebp + 8]
push eax
push str.in_AndroidExecuteCmdLine__cmdline_s_r_n
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4f1174
mov dword [ebp - 0x8e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004014d0
mov eax, dword [ebp - 0x8e0]
jmp 0x4f1935
push 0x44
push 0
lea ecx, [ebp - 0x8c]
push ecx
call fcn.006665c0
add esp, 0xc
push 0
push 1
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [ebp - 0x8c], 0x44
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x60], 0x100
xor eax, eax
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4f12aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8a4], eax
push 0
push 0
lea ecx, [ebp - 0x8a0]
push ecx
push 0x400
mov edx, dword [ebp - 0x8a4]
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp + 0x14]
call fcn.0040e940
movzx eax, al
test eax, eax
jne 0x4f1250
mov ecx, dword [ebp - 0x8a0]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
push str.__s_::AndroidExecuteCmdLine___failed_at_CreateProcess___nCommand___s_r_nMessage___s_r_n
call fcn.0066610b
add esp, 0x10
jmp 0x4f1268
mov ecx, dword [ebp - 0x8a0]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.::AndroidExecuteCmdLine___failed_at_CreateProcess___nCommand___s_r_nMessage___s_r_n
call fcn.0066610b
add esp, 0xc
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov eax, dword [ebp - 0x8a0]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x8e4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004014d0
mov eax, dword [ebp - 0x8e4]
jmp 0x4f1935
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x14]
call fcn.0040e940
movzx edx, al
test edx, edx
jne 0x4f12da
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push str.__s_subprocessid_d_n
call fcn.0066610b
add esp, 0xc
jmp 0x4f12eb
mov edx, dword [ebp - 0x28]
push edx
push 0x743be4
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov dword [ebp - 0x18], 0x801
push 0x741f12
lea ecx, [ebp - 0x14]
call fcn.0040dbe0
mov byte [ebp - 4], 1
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x1d], 0
push 1
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
sete cl
mov byte [ebp - 0x1d], cl
push 0
lea edx, [ebp - 0x40]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
movzx ecx, byte [ebp - 0x1d]
test ecx, ecx
jne 0x4f136f
cmp dword [ebp - 0x40], 0
ja 0x4f136f
mov dword [ebp - 0x908], 0
jmp 0x4f1379
mov dword [ebp - 0x908], 1
cmp dword [ebp - 0x908], 0
je 0x4f14bc
push 0x741f13
lea ecx, [ebp - 0x8c0]
call fcn.00404630
mov byte [ebp - 4], 2
cmp dword [ebp - 0x40], 0
jbe 0x4f1415
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x8c4], edx
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x8c4], 0x800
jbe 0x4f13c6
mov dword [ebp - 0x8c4], 0x800
push 0
lea eax, [ebp - 0x8c4]
push eax
mov ecx, dword [ebp - 0x8c4]
push ecx
lea edx, [ebp - 0x89c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x8c4]
mov byte [ebp + ecx - 0x89c], 0
lea edx, [ebp - 0x89c]
push edx
lea ecx, [ebp - 0x8c0]
call fcn.004138a0
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x8c4]
mov dword [ebp - 0x40], eax
jmp 0x4f139a
lea ecx, [ebp - 0x8c0]
call fcn.00405300
movzx ecx, al
test ecx, ecx
jne 0x4f147a
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x8c0]
call fcn.00404810
push eax
lea ecx, [ebp - 0x8c8]
call fcn.0040dbe0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x8c8]
push edx
lea ecx, [ebp - 0x14]
call fcn.004174c0
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c8]
call fcn.004014d0
jmp 0x4f14a8
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x44], 0x12c
jl 0x4f14a8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c0]
call fcn.00404770
jmp 0x4f14bc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c0]
call fcn.00404770
jmp 0x4f1326
cmp dword [ebp - 0x44], 0x12c
jl 0x4f1551
push 1
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp + 0x14]
call fcn.0040e940
movzx edx, al
test edx, edx
jne 0x4f14f7
mov eax, dword [ebp + 0x14]
push eax
push str.__s_errormsgDOWNLOAD_TIMEOUT._r_n
call fcn.0066610b
add esp, 8
jmp 0x4f1504
push str.errormsgDOWNLOAD_TIMEOUT._r_n
call fcn.0066610b
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xfffffffe
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x8e8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004014d0
mov eax, dword [ebp - 0x8e8]
jmp 0x4f1935
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x4f172f
lea ecx, [ebp + 0x14]
call fcn.0040e940
movzx eax, al
test eax, eax
jne 0x4f170d
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x8cc]
call fcn.004014b0
mov byte [ebp - 4], 4
mov dword [ebp - 0x8d4], 0
lea ecx, [ebp - 0x8d0]
call fcn.00401490
mov byte [ebp - 4], 5
push 0
push 0xa
lea ecx, [ebp - 0x8cc]
call fcn.00454810
mov dword [ebp - 0x8d4], eax
cmp dword [ebp - 0x8d4], 0xffffffff
je 0x4f16c3
mov edx, dword [ebp - 0x8d4]
add edx, 1
push edx
lea eax, [ebp - 0x8ec]
push eax
lea ecx, [ebp - 0x8cc]
call fcn.00401270
mov dword [ebp - 0x90c], eax
mov ecx, dword [ebp - 0x90c]
mov dword [ebp - 0x910], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x910]
push edx
lea ecx, [ebp - 0x8d0]
call fcn.0040fe20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8ec]
call fcn.004014d0
mov eax, dword [ebp - 0x8d0]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x743d00
call fcn.0066610b
add esp, 0xc
lea ecx, [ebp - 0x8cc]
call fcn.004014f0
sub eax, dword [ebp - 0x8d4]
sub eax, 1
push eax
lea edx, [ebp - 0x8f0]
push edx
lea ecx, [ebp - 0x8cc]
call fcn.004137c0
mov dword [ebp - 0x914], eax
mov eax, dword [ebp - 0x914]
mov dword [ebp - 0x918], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x918]
push ecx
lea ecx, [ebp - 0x8cc]
call fcn.0040fe20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8f0]
call fcn.004014d0
push 0
push 0xa
lea ecx, [ebp - 0x8cc]
call fcn.00454810
mov dword [ebp - 0x8d4], eax
jmp 0x4f15d3
lea ecx, [ebp - 0x8cc]
call fcn.0040e940
movzx edx, al
test edx, edx
jne 0x4f16ed
mov eax, dword [ebp - 0x8cc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x743d08
call fcn.0066610b
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8d0]
call fcn.004014d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8cc]
call fcn.004014d0
jmp 0x4f171e
mov edx, dword [ebp - 0x14]
push edx
push 0x743d14
call fcn.0066610b
add esp, 8
call fcn.006684b5
add eax, 0x20
push eax
call fcn.00668459
add esp, 4
push 0
push 0x743d18
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x4f176f
push 0
push 0x743d20
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
jne 0x4f176f
push 0
push 0x743d28
lea ecx, [ebp - 0x14]
call fcn.00404540
cmp eax, 0xffffffff
je 0x4f190a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffffe
lea ecx, [ebp + 0x14]
call fcn.0040e940
movzx ecx, al
test ecx, ecx
jne 0x4f18cc
mov dword [ebp - 0x8dc], 0
lea ecx, [ebp - 0x8d8]
call fcn.00401490
mov byte [ebp - 4], 8
push 0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.00454810
mov dword [ebp - 0x8dc], eax
cmp dword [ebp - 0x8dc], 0xffffffff
je 0x4f1897
mov edx, dword [ebp - 0x8dc]
add edx, 1
push edx
lea eax, [ebp - 0x8f4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401270
mov dword [ebp - 0x91c], eax
mov ecx, dword [ebp - 0x91c]
mov dword [ebp - 0x920], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x920]
push edx
lea ecx, [ebp - 0x8d8]
call fcn.0040fe20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8f4]
call fcn.004014d0
mov eax, dword [ebp - 0x8d8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push str.__s__s
call fcn.0066610b
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.004014f0
sub eax, dword [ebp - 0x8dc]
sub eax, 1
push eax
lea edx, [ebp - 0x8f8]
push edx
lea ecx, [ebp - 0x14]
call fcn.004137c0
mov dword [ebp - 0x924], eax
mov eax, dword [ebp - 0x924]
mov dword [ebp - 0x928], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x928]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040fe20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x8f8]
call fcn.004014d0
push 0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.00454810
mov dword [ebp - 0x8dc], eax
jmp 0x4f17b6
lea ecx, [ebp - 0x14]
call fcn.0040e940
movzx edx, al
test edx, edx
jne 0x4f18bb
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push str.__s__s_r_n
call fcn.0066610b
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8d8]
call fcn.004014d0
jmp 0x4f18dd
mov edx, dword [ebp - 0x14]
push edx
push 0x743d4c
call fcn.0066610b
add esp, 8
mov dword [ebp - 0x8fc], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004014d0
mov eax, dword [ebp - 0x8fc]
jmp 0x4f1935
mov dword [ebp - 0x900], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004014d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004014d0
mov eax, dword [ebp - 0x900]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x90]
xor ecx, ebp
call fcn.006665ac
mov esp, ebp
pop ebp
ret 0x10