Function at 0x4181a0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4370cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x543040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.kill_server
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00418d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x418239
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41822f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41852f
push ecx
push edx
call fcn.0043474f
add esp, 8
push 0x17
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.taskkill__F__IM_adb.exe
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
mov dword [ebp - 4], 1
cmp byte [esi + 0x1c], 0
je 0x418291
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
call fcn.0042bd90
cmp dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x24]
cmova eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
jmp 0x41829c
or edx, 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00434220
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x4182d9
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4182cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4182cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043474f
add esp, 8
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.kill_server
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
mov ecx, esi
call fcn.00418d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x41834a
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41852f
push ecx
push edx
call fcn.0043474f
add esp, 8
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.start_server
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00418d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x4183bb
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4183b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41852f
push ecx
push edx
call fcn.0043474f
add esp, 8
mov eax, dword [0x544214]
mov eax, dword [eax + 0x34]
sub eax, 0
je 0x41853f
sub eax, 1
je 0x41844c
sub eax, 2
jne 0x41854a
push 0x16
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
push str.connect_127.0.0.1:7555
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 6
push eax
mov ecx, esi
call fcn.00418d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x418543
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41843d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41852f
push ecx
push edx
call fcn.0043474f
add esp, 8
jmp 0x418543
mov ecx, esi
mov byte [esi + 0x1d], 1
call fcn.00419a70
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.kill_server
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00418d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x4184cc
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4184c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41852f
push ecx
push edx
call fcn.0043474f
add esp, 8
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.start_server
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 5
push eax
mov ecx, esi
call fcn.00418d00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0xf
jbe 0x41853f
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418535
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418535
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0043474f
add esp, 8
mov byte [esi + 0x1d], 1
mov ecx, esi
call fcn.00419a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret