joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050d40
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140050ee8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140050da5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140050da5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140050da5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x140050ddc
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140050e32
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e32
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e32
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e32
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140050e32
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400507f0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140050e94
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14002cf70
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140050bc0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140050ee0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14002cf70
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140052650
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140082080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400526e5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x140052746
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14002cf70
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400657f0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140052801
sub ecx, 1
je 0x140052874
sub ecx, 1
je 0x1400527b0
cmp ecx, 1
je 0x140052793
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140070ab0]
call fcn.14002cf70
jmp 0x140052874
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140052380
test eax, eax
je 0x140052874
jmp 0x14005271a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140052874
sub rax, rsi
cmp rax, rbp
jae 0x140052874
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14002d0f0
jmp 0x140052874
cmp r8d, 4
jle 0x140052874
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140052874
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14002ce90
mov esi, eax
test eax, eax
je 0x140052853
mov edx, 5
mov rcx, rbx
call fcn.140053340
mov eax, esi
jmp 0x14005271a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14003b770
mov rcx, r14
call fcn.14003ba50
test eax, eax
je 0x140052718
mov edx, 5
mov rcx, rbx
call fcn.140053340
mov eax, Ordinal_45
jmp 0x14005271a
Function at 0x140065610
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140065652
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140065699
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400656f2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400656b0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140065733
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14007623a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14007623b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140065700
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140066604
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14006664e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14006664e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14006664e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14006664e
cmp dword [rcx + 0x84], 0xe
jbe 0x14006664e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140066650
xor al, al
add rsp, 0x28
ret
Function at 0x1400017c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xorps xmm0, xmm0
lea r11, [rcx + 6]
movups xmmword [rcx], xmm0
xor eax, eax
mov r9, rdx
movups xmmword [rcx + 0x10], xmm0
mov r10, rcx
sub r9, rcx
movups xmmword [rcx + 0x20], xmm0
lea ebx, [rax + 5]
movups xmmword [rcx + 0x30], xmm0
mov qword [rcx + 0x40], rax
mov dword [rcx], r8d
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 - 6]
mov byte [r11 - 2], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 - 5]
mov byte [r11 - 1], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 - 4]
mov byte [r11], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 - 3]
mov byte [r11 + 1], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 - 2]
mov byte [r11 + 2], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 - 1]
mov byte [r11 + 3], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
movzx eax, r8b
xor al, byte [r9 + r11]
mov byte [r11 + 4], al
imul ecx, r8d, 0xbc8f
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 + 1]
mov byte [r11 + 5], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 + 2]
mov byte [r11 + 6], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 + 3]
mov byte [r11 + 7], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
imul ecx, r8d, 0xbc8f
movzx eax, r8b
xor al, byte [r9 + r11 + 4]
mov byte [r11 + 8], al
mov eax, 3
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub ecx, eax
imul r8d, ecx, 0xbc8f
movzx eax, cl
xor al, byte [r9 + r11 + 5]
mov byte [r11 + 9], al
mov eax, 3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
movzx eax, r8b
imul r8d, r8d, 0xbc8f
xor al, byte [r9 + r11 + 6]
mov byte [r11 + 0xa], al
mov eax, 3
mul r8d
mov eax, r8d
lea r11, [r11 + 0xd]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffffff
sub r8d, eax
sub rbx, 1
jne 0x1400017f0
mov rbx, qword [rsp + 8]
mov rax, r10
ret
Function at 0x140009950
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140009972
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400099ec
mov rdi, r14
mov rcx, rbx
call fcn.14000afd0
test rax, rax
jle 0x1400099c4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400123b0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400099dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400099e4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140009986
sub r14, rdi
jmp 0x140009ad9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140009a03
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140009a05
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140009a3a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400123b0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140009ad6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140009a75
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140009ab1
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140017e0c
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140009aef
cmp rbp, rax
ja 0x140009a81
mov r8, rdi
test rdi, rdi
je 0x140009ad6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140017e0c
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140009ad9
Function at 0x140009f00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14017b1b0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140009f2d
xor eax, eax
jmp 0x14000a073
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140009f67
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140009f67
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000a073
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000a066
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140009faa
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140009fb9
movsx ecx, dil
jmp 0x14000a00d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x14000a027
sub eax, 1
je 0x14000a027
cmp eax, 2
jne 0x14000a066
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140016c64
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a06b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000a054
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140017750
cmp rsi, rax
jne 0x14000a066
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14000a06b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140010320
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000d770
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r10d, r10d
lea rbx, [0x14017db80]
mov r11, rcx
movabs rdi, 0x22aaaa8a20000
movabs rsi, 0x71d67fffeda60000
movabs rbp, 0x555555555
lea r9d, [r10 + 1]
nop dword [rax]
nop word [rax + rax]
lea eax, [r9 - 1]
mov rcx, qword [rbx + rax*8]
mov r8, rcx
mov rax, rcx
shl rax, 0x11
shr r8, 0xc
and r8, rdi
xor r8, rax
mov rax, rcx
shr rax, 0x1d
and r8, rsi
and rax, rbp
xor r8, rax
mov eax, r9d
xor r8, rcx
lea rdx, [r11 + rax*8]
mov rcx, r8
mov rax, r8
shr rax, 0x25
and ecx, 0x7ffbf40
xor rcx, rax
inc r9d
shr rcx, 6
mov rax, r8
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, qword [r11]
add rax, r10
add r10, 0x10
xor rcx, rax
xor rcx, qword [rdx]
xor rcx, r8
mov qword [rdx], rcx
cmp r9d, 2
jb 0x14000d7c0
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x14000e5a0
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14017b1b0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rsi, rcx
xor edi, edi
mov qword [rbp + 0xf], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], dil
mov dword [rbp - 9], 0x41f16842
movdqa xmm0, xmmword [0x140044860]
movdqu xmmword [rbp - 5], xmm0
mov r8d, 0x41f16842
lea rdx, [rbp - 5]
lea rcx, [rbp - 0x21]
call fcn.140007ec0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 7], eax
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 0xf
lea rax, [rbp - 5]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14000e635
lea rdx, [rbp - 5]
lea rcx, [rbp - 0x49]
call fcn.140008660
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp + 0x1f], xmm1
lea rdx, [rbp + 0xf]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rdx, rcx
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x31], 0xf
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14000e687
mov r8, rbx
lea rcx, [rbp - 0x49]
call fcn.140008660
lea rcx, [rbp - 0x49]
call fcn.140001a70
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rax, qword [rbp + 0xf]
mov qword [rbp + 0x1f], rdi
mov byte [rax], 0
call fcn.14000e1a0
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000e744
mov r8d, 0x10020
mov rdx, qword [rsi]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000e73b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x2f], xmm0
mov qword [rbp + 0x3f], rax
mov dword [rbp + 0x47], eax
lea r8, [rbp + 0x2f]
lea edx, [rax + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000e732
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x14000e732
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, 1
jmp 0x14000e746
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14000e77d
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e778
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e7a5
call fcn.1400105cc
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140010320
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140016bd4
int3
Function at 0x14000e7b0
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14017b1b0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, qword [0x14017e548]
xor esi, esi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x3f], rsi
mov qword [rbp + 0x47], 0xf
mov byte [rbp + 0x2f], sil
mov dword [rbp + 0x17], 0x41f16845
movdqa xmm0, xmmword [0x140044880]
movdqu xmmword [rbp + 0x1b], xmm0
mov r8d, 0x41f16845
lea rdx, [rbp + 0x1b]
lea rcx, [rbp - 1]
call fcn.140007ec0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x17], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 0x27], eax
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 0xf
lea rax, [rbp + 0x1b]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000e850
lea rdx, [rbp + 0x1b]
lea rcx, [rbp - 0x29]
call fcn.140008660
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbp + 0x3f], xmm1
lea rdx, [rbp + 0x2f]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rdx, rcx
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], 0xf
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14000e8a2
mov r8, rbx
lea rcx, [rbp - 0x29]
call fcn.140008660
lea rcx, [rbp - 0x29]
call fcn.140001a70
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rax, qword [rbp + 0x2f]
mov qword [rbp + 0x3f], rsi
mov byte [rax], 0
call fcn.14000e1a0
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000e921
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x14000e982
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
cmp eax, 0x430
jne 0x14000e912
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, 1
jmp 0x14000e923
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x14000e95a
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e955
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e998
call fcn.1400105cc
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140010320
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, 1
jmp 0x14000e923
call fcn.140016bd4
int3
Function at 0x14000e9a0
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14017b1b0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, qword [0x14017e548]
xor esi, esi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], 0xf
mov byte [rbp + 0xf], sil
mov dword [rbp - 9], 0x41f16847
movdqa xmm0, xmmword [0x140044890]
movdqu xmmword [rbp - 5], xmm0
mov r8d, 0x41f16847
lea rdx, [rbp - 5]
lea rcx, [rbp - 0x21]
call fcn.140007ec0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
mov eax, dword [rax + 0x10]
mov dword [rbp + 7], eax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], 0xf
lea rax, [rbp - 5]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000ea40
lea rdx, [rbp - 5]
lea rcx, [rbp - 0x49]
call fcn.140008660
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rbp + 0x1f], xmm1
lea rdx, [rbp + 0xf]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rdx, rcx
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], 0xf
inc rbx
cmp byte [rdx + rbx], 0
jne 0x14000ea92
mov r8, rbx
lea rcx, [rbp - 0x49]
call fcn.140008660
lea rcx, [rbp - 0x49]
call fcn.140001a70
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rax, qword [rbp + 0xf]
mov qword [rbp + 0x1f], rsi
mov byte [rax], 0
call fcn.14000e1a0
mov rbx, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14000eaf6
lea r8, [rbp + 0x2f]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbx
test eax, eax
jne 0x14000eb57
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14000eb2f
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eb2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eb62
call fcn.1400105cc
movzx eax, bl
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140010320
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov bl, 1
jmp 0x14000eaf8
call fcn.140016bd4
int3