Function at 0x42f200
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x4b7014]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x14c]
push ebx
mov ebx, dword [ecx + 0x150]
push esi
mov dword [esp + 8], ecx
lea esi, [ecx + 0x20]
push edi
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.0042e210
mov eax, dword [esp + 0x14]
mov dword [eax], 0
nop
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.0042e5b0
mov edi, eax
test edi, edi
je 0x42f3d8
push 0x100
push edi
push esi
call fcn.0045c900
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x42f240
cmp dword [esp + 0x10], 0
jne 0x42f3c3
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x128]
push eax
push str.tcp:_d
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push 0x20
push eax
call fcn.0042dcd0
push esi
push str.tcp:_d
lea eax, [esp + 0x5c]
push 0x20
push eax
call fcn.0042dcd0
lea eax, [esp + 0x44]
mov dword [esp + 0x38], str.forward
push 0
mov dword [esp + 0x40], eax
lea edx, [esp + 0x3c]
lea eax, [esp + 0x68]
mov ecx, edi
push 0
push 3
mov dword [esp + 0x4c], eax
call fcn.0042e040
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x42f365
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f305
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42f316
push 0xffffffffffffffff
push esi
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [esp + 0xc], 0
jne 0x42f365
cmp dword [0x4b9a60], 0
je 0x42f352
mov esi, dword [esp + 0x14]
mov ecx, esi
push str.DroidCamX
push str.com.dev47apps.droidcamx
push edi
call fcn.0042e730
test eax, eax
jne 0x42f352
push str.DroidCam
push str.com.dev47apps.droidcam
push edi
mov ecx, esi
call fcn.0042e730
push dword [esp + 0x10]
push str.127.0.0.1
call fcn.004324d0
cmp eax, 0xffffffff
jne 0x42f3c6
push 0
push 0
push 2
lea edx, [esp + 0x24]
mov dword [esp + 0x24], str.forward
mov ecx, edi
mov dword [esp + 0x28], str.__remove_all
call fcn.0042e040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42f3c0
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f3af
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x42f3c0
push 0xffffffffffffffff
push esi
mov dword [esp + 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc dword [ebx + 0x18]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004555d3
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0042ea40
mov dword [ebx + 0x1c], 0
mov edi, esi
mov ecx, ebx
call fcn.0042ea80
mov esi, eax
test esi, esi
je 0x42f3c3
push 0x2c
lea ecx, [esi + 8]
push ecx
push edi
call fcn.0045c900
add esp, 0xc
test eax, eax
jne 0x42f3e8
cmp dword [esi], eax
je 0x42f3e8
cmp dword [ebx + 0x14], eax
je 0x42f439
mov ecx, dword [ebx + 0x1c]
dec ecx
cmp ecx, dword [ebx + 0x20]
jge 0x42f439
mov eax, dword [esp + 0xc]
shl ecx, 8
push dword [eax + 0x128]
mov eax, dword [ebx + 0x18]
push dword [ecx + eax]
mov eax, dword [ebx + 0xc]
call eax
add esp, 8
test eax, eax
jg 0x42f3c6
mov ecx, dword [esp + 0x64]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004555d3
mov esp, ebp
pop ebp
ret