Function at 0x14002b3a0
Capabilities:
Check http status code
Enumerate processes
Query service status

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x540
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov r13, rcx
mov qword [rsp + 0x48], rcx
xor ebx, ebx
mov byte [rsp + 0x41], bl
mov byte [rsp + 0x40], bl
mov byte [rsp + 0x42], bl
mov byte [rsp + 0x43], bl
mov rax, qword [0x14021e038]
lea rcx, str.avb:_
mov qword [rsp + 0x1c0], rcx
mov qword [rsp + 0x1c8], 7
movzx eax, word [rax + 0x210]
mov dword [rsp + 0x198], eax
movabs rax, 0x2000000000000000
mov qword [r11 - 0x3d8], rax
mov esi, 1
mov qword [rsp + 0x1b0], rsi
lea rax, [r11 - 0x3d8]
mov qword [rsp + 0x1b8], rax
movaps xmm0, xmmword [rsp + 0x1b0]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0xa0], xmm1
lea r8, [rsp + 0x70]
lea rdx, [r11 - 0x4c8]
lea rcx, [r11 - 0x4b8]
call fcn.140022d90
nop
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 7
cmova rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc0]
lea rcx, [r13 + 8]
call fcn.1400237f0
lea edx, [rbx + 0x3b]
lea rcx, [r13 + 8]
call fcn.1400233b0
mov r12d, 0xfa
cmp qword [r13 + 0x18], r12
jbe 0x14002b50e
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, r12d
cmovb r8, qword [r13 + 0x18]
lea rdx, [r13 + 8]
cmp qword [r13 + 0x20], 7
jbe 0x14002b4eb
mov rdx, qword [r13 + 8]
lea rcx, [rsp + 0x50]
call fcn.1400258d0
lea rdx, [rsp + 0x50]
lea rcx, [r13 + 8]
call fcn.140029ff0
lea rcx, [rsp + 0x50]
call fcn.140025e80
nop
lea rcx, [rsp + 0xb0]
call fcn.140025e80
mov r8d, esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
mov qword [rsp + 0x1d0], rax
test rax, rax
je 0x14002bbb0
mov rdx, qword [0x14021e038]
add rdx, 0x48
lea rcx, [rsp + 0x4e0]
call fcn.140025a20
mov byte [rsp + 0x500], 1
mov rdx, qword [0x14021e038]
add rdx, 0x28
lea rcx, [rsp + 0x508]
call fcn.140025a20
mov byte [rsp + 0x528], 0
lea rdi, [rsp + 0x4e0]
lea rcx, [rsp + 0x530]
mov qword [rsp + 0x110], rdi
cmp rdi, rcx
je 0x14002bb8c
mov rdx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14002b5aa
mov rdx, qword [rdi]
mov r8d, 4
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
mov qword [rsp + 0x1c0], rax
test rax, rax
je 0x14002bb81
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
je 0x14002bb81
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x128], xmm0
mov dword [rsp + 0x138], eax
mov dword [rsp + 0x148], ebx
lea rax, [rsp + 0x148]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x118]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14002bb81
cmp dword [rsp + 0x11c], 4
jne 0x14002ba96
mov r8d, dword [rsp + 0x134]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
mov qword [rsp + 0x1b0], rax
test rax, rax
je 0x14002b8a0
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], 0
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x180], 0
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1a0]
lea r8, [rsp + 0x158]
lea rdx, [rsp + 0x150]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x14002b8a6
mov ebx, dword [rsp + 0x154]
shl rbx, 0x20
mov eax, dword [rsp + 0x150]
or rbx, rax
call fcn.140132018
mov rcx, rax
movabs rax, 0x19db1ded53e8000
add rcx, rax
sub rcx, rbx
mov rax, qword [rsp + 0x110]
cmp byte [rax + 0x20], 0
je 0x14002b743
movabs rax, 0xfffffa7fd71bc000
add rax, rcx
cmp rax, 0x989680
jae 0x14002b720
xor al, al
jmp 0x14002b73a
mov eax, 0xff
movabs rdx, 0x58028e44000
cmp rcx, rdx
mov edx, 1
cmovge eax, edx
test al, al
setg al
or byte [rsp + 0x41], al
movabs rax, 0x1ca213d840baf7d5
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, str.Service_uptime:_m
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], reloc.WS2_32.dll_send
mov dword [rsp + 0xf8], edx
movabs rax, 0x1000000000000000
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x100], 1
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x108], rax
movaps xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x190], xmm0
movaps xmm1, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0x160], xmm1
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x80]
call fcn.140022d90
nop
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
lea rcx, [r13 + 8]
call fcn.1400237f0
mov edx, 0x3b
lea rcx, [r13 + 8]
call fcn.1400233b0
cmp qword [r13 + 0x18], r12
jbe 0x14002b891
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xor eax, eax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rax
mov r8, r12
cmp qword [r13 + 0x18], r12
cmovb r8, qword [r13 + 0x18]
lea rdx, [r13 + 8]
cmp qword [r13 + 0x20], 7
jbe 0x14002b865
mov rdx, qword [r13 + 8]
lea rcx, [rsp + 0xb0]
call fcn.1400258d0
lea rdx, [rsp + 0xb0]
lea rcx, [r13 + 8]
call fcn.140029ff0
lea rcx, [rsp + 0xb0]
call fcn.140025e80
nop
lea rcx, [rsp + 0x80]
call fcn.140025e80
jmp 0x14002b8a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x2a0], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x190], rax
test rax, rax
je 0x14002ba58
lea rdx, [rsp + 0x2a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14002ba58
nop dword [rax]
mov eax, dword [rsp + 0x2a8]
cmp dword [rsp + 0x134], eax
jne 0x14002ba3f
mov ecx, dword [rsp + 0x2bc]
cmp ecx, 0x190
seta al
or byte [rsp + 0x40], al
lea rax, str.threadcount:_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov dword [rsp + 0xd8], ecx
movabs rax, 0x2000000000000000
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xa0], 1
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x160], xmm0
movaps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xb0], xmm1
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.140022d90
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [r13 + 8]
call fcn.1400237f0
mov edx, 0x3b
lea rcx, [r13 + 8]
call fcn.1400233b0
cmp qword [r13 + 0x18], r12
jbe 0x14002ba33
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xor eax, eax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
mov r8, r12
cmp qword [r13 + 0x18], r12
cmovb r8, qword [r13 + 0x18]
lea rdx, [r13 + 8]
cmp qword [r13 + 0x20], 7
jbe 0x14002ba07
mov rdx, qword [r13 + 8]
lea rcx, [rsp + 0x80]
call fcn.1400258d0
lea rdx, [rsp + 0x80]
lea rcx, [r13 + 8]
call fcn.140029ff0
lea rcx, [rsp + 0x80]
call fcn.140025e80
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
jmp 0x14002ba58
lea rdx, [rsp + 0x2a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002b8f0
test rbx, rbx
je 0x14002ba67
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rdi, rdi
je 0x14002ba75
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x110]
xor ebx, ebx
test rsi, rsi
je 0x14002ba8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add rdi, 0x28
jmp 0x14002b584
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 0xb
jb 0x14002c18f
mov r9, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14002babe
mov r9, qword [rdi]
mov qword [rsp + 0x30], recvfrom
lea rax, str._uptime:_NR
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x80]
call fcn.140023000
nop
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rdx, qword [rsp + 0x80]
lea rcx, [r13 + 8]
mov r8, qword [rsp + 0x90]
call fcn.1400237f0
mov edx, 0x3b
lea rcx, [r13 + 8]
call fcn.1400233b0
cmp qword [r13 + 0x18], r12
jbe 0x14002bb74
lea rdx, [r13 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8, r12
cmp qword [rdx + 0x10], r12
cmovb r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14002bb51
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.1400258d0
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x50]
call fcn.140029ff0
lea rcx, [rsp + 0x50]
call fcn.140025e80
nop
lea rcx, [rsp + 0x80]
call fcn.140025e80
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002ba7f
lea r9, [0x14002c1a0]
mov edx, 0x28
lea r8d, [rdx - 0x26]
lea rcx, [rsp + 0x4e0]
call fcn.1401338d8
mov esi, 1
jmp 0x14002bbb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
test r14, r14
je 0x14002bbc6
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
jmp 0x14002bbd8
mov r14d, 0xff
mov byte [rsp + 0x44], 1
xor r8d, r8d
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x158]
call fcn.14002c6b0
lea rax, str.vps:__s
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 9
mov rbx, qword [rsp + 0x158]
mov qword [rsp + 0x78], rbx
movabs rax, 0x3000000000000000
mov qword [rsp + 0x70], rax
mov qword [rsp + 0xa0], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xb0], xmm0
movaps xmm1, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0x160], xmm1
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.140022d90
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [r13 + 8]
call fcn.1400237f0
mov edx, 0x3b
lea rcx, [r13 + 8]
call fcn.1400233b0
cmp qword [r13 + 0x18], r12
jbe 0x14002bd11
lea rdx, [r13 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
mov r8, r12
cmp qword [rdx + 0x10], r12
cmovb r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14002bce5
mov rdx, qword [rdx]
lea rcx, [rsp + 0x80]
call fcn.1400258d0
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x80]
call fcn.140029ff0
lea rcx, [rsp + 0x80]
call fcn.140025e80
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
cmp byte [rsp + 0x44], 0
je 0x14002bd3f
cmp rbx, 0x93a80
je 0x14002bd3f
mov ecx, esi
cmovl ecx, r14d
movzx eax, byte [rsp + 0x42]
test cl, cl
cmovg eax, esi
mov byte [rsp + 0x42], al
jmp 0x14002bd56
movabs r15, 0x1ca213d840baf7d5
movabs r14, 0x58028e44000
lea rax, str.properties_settingsCommon
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x1a
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
lea rdx, [0x14021e010]
lea rcx, [rsp + 0x160]
call fcn.140031800
nop
mov qword [rsp + 0x110], 0
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 7
cmova rdx, qword [rsp + 0x160]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x110]
call fcn.14008fe40
test al, al
jne 0x14002be18
lea rdx, [rsp + 0x160]
cmp qword [rsp + 0x178], 7
cmova rdx, qword [rsp + 0x160]
mov dword [rsp + 0x20], 0x200
lea r9, [rsp + 0x110]
call fcn.14008fe40
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x14002bf89
imul rbx, rcx, 0x989680
lea rcx, [rsp + 0x160]
call fcn.140025e80
call fcn.140132018
mov rdi, rax
sub rdi, rbx
mov rax, r15
imul rdi
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, str.hb:__m
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 8
mov dword [rsp + 0x78], edx
movabs rax, 0x1000000000000000
mov qword [rsp + 0x70], rax
mov qword [rsp + 0xa0], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0xb0], xmm0
movaps xmm1, xmmword [rsp + 0xd0]
movdqa xmmword [rsp + 0x160], xmm1
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.140022d90
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [r13 + 8]
call fcn.1400237f0
mov edx, 0x3b
lea rcx, [r13 + 8]
call fcn.1400233b0
cmp qword [r13 + 0x18], r12
jbe 0x14002bf6c
lea rdx, [r13 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
mov r8, r12
cmp qword [rdx + 0x10], r12
cmovb r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x14002bf40
mov rdx, qword [rdx]
lea rcx, [rsp + 0x80]
call fcn.1400258d0
lea rcx, [r13 + 8]
lea rdx, [rsp + 0x80]
call fcn.140029ff0
lea rcx, [rsp + 0x80]
call fcn.140025e80
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
cmp rdi, r14
je 0x14002bf97
jl 0x14002bf97
mov byte [rsp + 0x43], 1
jmp 0x14002bf97
lea rcx, [rsp + 0x160]
call fcn.140025e80
nop
jmp 0x14002bfa4
cmp byte [rsp + 0x40], 0
jne 0x14002bfc7
cmp byte [rsp + 0x41], 0
je 0x14002bfc0
cmp byte [rsp + 0x42], 0
jne 0x14002bfc7
cmp byte [rsp + 0x43], 0
jne 0x14002bfc7
xor dil, dil
jmp 0x14002bfca
mov dil, 1
lea rax, str.final:___thread:___svc:__vps:__hb_sent:
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], getservbyname
mov byte [rsp + 0x140], dil
movabs rax, 0x5000000000000000
mov qword [rsp + 0x118], rax
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x141], al
movabs rax, 0x5000000000000001
mov qword [rsp + 0x120], rax
movzx eax, byte [rsp + 0x41]
mov byte [rsp + 0x142], al
movabs rax, 0x5000000000000002
mov qword [rsp + 0x128], rax
movzx eax, byte [rsp + 0x42]
mov byte [rsp + 0x143], al
movabs rax, 0x5000000000000003
mov qword [rsp + 0x130], rax
movzx eax, byte [rsp + 0x43]
mov byte [rsp + 0x144], al
movabs rax, 0x5000000000000004
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x70], 5
lea rax, [rsp + 0x118]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xb0], xmm0
movaps xmm1, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x160], xmm1
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.140022d90
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [r13 + 8]
call fcn.1400237f0
mov edx, 0x3b
lea rcx, [r13 + 8]
call fcn.1400233b0
cmp qword [r13 + 0x18], r12
jbe 0x14002c154
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
cmovb r12, qword [r13 + 0x18]
lea rdx, [r13 + 8]
cmp qword [r13 + 0x20], 7
jbe 0x14002c125
mov rdx, qword [r13 + 8]
mov r8, r12
lea rcx, [rsp + 0x80]
call fcn.1400258d0
lea rdx, [rsp + 0x80]
lea rcx, [r13 + 8]
call fcn.140029ff0
lea rcx, [rsp + 0x80]
call fcn.140025e80
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
movzx eax, dil
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140133600
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140025b50
nop
int3