joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017e800
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax*8 + 0x1a0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x88], 0
jle 0x14017e9d7
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xb0], 0
je 0x14017e9c8
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x88]
imul rax, rax, 0x1c
mov r9d, 0xaf1
lea r8, [0x140566100]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14017e8c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0xaf2
lea rdx, [0x140566150]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0xaf2
lea rdx, [0x1405661a0]
lea rcx, [0x1405661e8]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x88]
imul rax, rax, 0x1c
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140410c60
nop
mov dword [rsp + 0x38], 0
jmp 0x14017e8fc
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x88]
cmp dword [rsp + 0x38], eax
jge 0x14017e97c
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x1c
mov ecx, 2
mov rdx, qword [rsp + 0x40]
mov word [rdx + rax], cx
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 6
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x78]
movsxd rdx, dword [rsp + 0x38]
imul rdx, rdx, 0x1c
mov r8, qword [rsp + 0x40]
movzx eax, word [rcx + rax + 4]
mov word [r8 + rdx + 2], ax
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 6
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x78]
movsxd rdx, dword [rsp + 0x38]
imul rdx, rdx, 0x1c
mov r8, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
mov dword [r8 + rdx + 4], eax
jmp 0x14017e8f2
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [0x14017e720]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x88]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x278]
call fcn.14016d570
mov edx, 1
mov rcx, qword [rsp + 0x40]
call fcn.1403ba8b0
nop
jmp 0x14017e9d7
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
call fcn.140175720
nop
add rsp, 0x50
pop rdi
ret
Function at 0x14017edc0
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
cmp qword [rsp + 0x40], 0
jne 0x14017ee1e
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xc78
lea rdx, [0x1405667f0]
lea rcx, str.ILibStun_AddSctpChunkHeader___Invalid_Parameter
call fcn.14014da80
mov rdx, rax
lea rcx, [0x140566868]
call fcn.140015e70
mov ecx, 0xff
call fcn.14038e600
nop
cmp dword [rsp + 0x48], 0xc
jl 0x14017eeec
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax], 0
jne 0x14017eeec
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + rax], 0
jne 0x14017eeec
movzx eax, byte [rsp + 0x50]
test eax, eax
jne 0x14017ee89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx], eax
jmp 0x14017eeec
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
or eax, 2
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
and eax, 1
cmp eax, 1
jne 0x14017eeec
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax]
or eax, 4
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x40]
mov dword [rdx + rcx], eax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x50]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x48]
inc eax
cdqe
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x58]
mov byte [rcx + rax], dl
movzx ecx, word [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_htons]
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov edx, 2
imul rdx, rdx, 1
mov word [rcx + rdx], ax
mov eax, dword [rsp + 0x48]
add eax, 4
add rsp, 0x30
pop rdi
ret
Function at 0x14018b440
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1060
call fcn.14037c5f0
sub rsp, rax
lea rdi, [rsp + 0x30]
mov ecx, 0x40c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1070]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rax, qword [rsp + 0x1078]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1070]
lea r8, str.Session:__p____s_r_n
mov edx, 0x1000
lea rcx, [rsp + 0x40]
call fcn.140015f80
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
nop
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14037c300
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x1060
pop rdi
ret
Function at 0x14018dd20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x98]
mov qword [rsp + 0x30], rax
mov r9, qword [rsp + 0x30]
mov r8d, 0x1000
mov edx, 1
lea rcx, [0x14058a640]
call fcn.1403b55a0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14018ddaa
mov dword [rsp + 0x20], 0
mov r9d, 2
mov r8d, dword [rsp + 0x38]
lea rdx, [0x14058a640]
mov rcx, qword [rsp + 0x60]
call fcn.14018a980
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
jne 0x14018dda6
cmp qword [rsp + 0x38], 0x1000
jae 0x14018dda8
jmp 0x14018ddaa
jmp 0x14018dd43
cmp qword [rsp + 0x38], 0x1000
jb 0x14018ddbc
cmp dword [rsp + 0x40], 0
jge 0x14018dde4
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14018a980
mov rcx, qword [rsp + 0x30]
call fcn.1403b3fa0
nop
add rsp, 0x50
pop rdi
ret
Function at 0x14018dfc0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], r8
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov r9d, 0x356
lea r8, [0x14056a7a0]
mov edx, 1
mov ecx, 0xc0
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14018e045
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x357
lea rdx, [0x14056a7f0]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x357
lea rdx, [0x14056a840]
lea rcx, [0x14056a890]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
mov r8d, 0xc0
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140410c60
xor edx, edx
lea rcx, str.ILibWrapper_WebRTC_ConnectionFactory
call fcn.140137750
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
lea rcx, [0x140192140]
mov qword [rax + 0x10], rcx
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14013c810
lea r8, [0x140192220]
movzx edx, word [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.140168ee0
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x48], 0
jne 0x14018e0e5
mov rcx, qword [rsp + 0x50]
call fcn.140142640
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call fcn.140143080
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.1403ba8b0
xor eax, eax
jmp 0x14018e1a4
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.140191ea0
cmp qword [rsp + 0x60], 1
je 0x14018e122
mov rax, qword [rsp + 0x30]
add rax, 0x80
mov r8, rax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x78]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.140168de0
nop
lea r9, [0x140192600]
lea r8, [0x140192420]
lea rdx, [0x140192370]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.14016c1b0
lea rax, [0x140192a90]
mov qword [rsp + 0x20], rax
lea r9, [0x1401929f0]
lea r8, [0x140192680]
lea rdx, [0x1401927d0]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x48]
call fcn.14016b520
xor r8d, r8d
lea rdx, [0x140192ab0]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140140f90
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x14018f4d0
Capabilities:
Terminate process

Disassembly:
mov word [rsp + 0x20], r9w
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax - 0x10]
mov rdx, rax
mov ecx, 0x98
call fcn.140137490
mov qword [rsp + 0x30], rax
xor edx, edx
lea rcx, str.ILibWrapper_WebRTC_DataChannel
call fcn.140137750
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x88], rcx
mov eax, dword [rsp + 0x60]
inc eax
cdqe
mov r9d, 0x4f2
lea r8, [0x14056ae10]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x70], rcx
cmp qword [rsp + 0x38], 0
jne 0x14018f5b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, 0x4f2
lea rdx, [0x14056ae60]
xor ecx, ecx
call fcn.14014da80
mov r8d, 0x4f2
lea rdx, str.C:UsersyfjvyDownloadsMeshAgent_mastermicrostackILibWrapperWebRTC.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
movsxd rax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x60]
inc ecx
movsxd rcx, ecx
mov r9, rax
mov r8, qword [rsp + 0x58]
mov rdx, rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.14018ddf0
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x70]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x68]
mov word [rax + 0x68], cx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xa8]
call fcn.140141650
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x68]
mov r8, qword [rsp + 0x30]
mov edx, eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xa8]
call fcn.140141090
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0xa8]
call fcn.140141680
mov rcx, qword [rsp + 0x30]
call fcn.140190380
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
movzx edx, word [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call fcn.14016b170
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
Function at 0x140190470
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov eax, dword [rsp + 0x60]
inc eax
cdqe
mov r9d, __WSAFDIsSet
lea r8, [0x14056a0c0]
mov edx, 1
mov rcx, rax
call fcn.1403ba980
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401904fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, 0xfe
mov r8d, __WSAFDIsSet
lea rdx, [0x14056a110]
xor ecx, ecx
call fcn.14014da80
mov r8d, __WSAFDIsSet
lea rdx, [0x14056a160]
lea rcx, [0x14056a1b0]
call fcn.140015e70
mov ecx, 0xfe
call fcn.14038e600
nop
movsxd rax, dword [rsp + 0x60]
movsxd rcx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x60]
inc edx
movsxd rdx, edx
mov r9, rax
mov r8, rcx
mov rcx, qword [rsp + 0x30]
call fcn.14018ddf0
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret

Function at 0x140190550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
xor eax, eax
mov word [rsp + 0x20], ax
mov dword [rsp + 0x24], 0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0xa8]
call fcn.140141650
nop
cmp dword [rsp + 0x24], 0
jne 0x1401905f3
mov dword [rsp + 0x24], 1
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xa0], 0
jne 0x1401905a2
mov dword [rsp + 0x28], 0
jmp 0x1401905aa
mov dword [rsp + 0x28], 1
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
cdq
and eax, 1
xor eax, edx
sub eax, edx
cmp eax, dword [rsp + 0x28]
jne 0x1401905cc
jmp 0x14019058a
movzx eax, word [rsp + 0x20]
mov edx, eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0xa8]
call fcn.140141340
test rax, rax
je 0x1401905f1
mov dword [rsp + 0x24], 0
jmp 0x14019057b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0xa8]
call fcn.140141680
movzx eax, word [rsp + 0x20]
add rsp, 0x30
pop rdi
ret
Function at 0x140196690
Capabilities:
Get token membership

Disassembly:
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x60]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x64], 0
mov byte [rsp + 0xa4], 0
mov byte [rsp + 0xa5], 0
mov byte [rsp + 0xa6], 0
mov byte [rsp + 0xa7], 0
mov byte [rsp + 0xa8], 0
mov byte [rsp + 0xa9], 5
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0xa4]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
je 0x140196788
lea r8, [rsp + 0x64]
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140196779
mov dword [rsp + 0x64], 0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
mov eax, dword [rsp + 0x64]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14037c300
mov eax, edi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14037c650
add rsp, 0xd0
pop rdi
ret

Function at 0x1401967c0
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3b0
lea rdi, [rsp + 0x20]
mov ecx, 0xe4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3c0]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x3a8], rax
mov r8d, 0x168
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1401968c4
mov dword [rsp + 0x320], reloc.WS2_32.dll_WSASetLastError
lea rax, [rsp + 0x324]
mov rdi, rax
xor eax, eax
mov ecx, WSASetLastError
rep stosb byte [rdi], al
mov qword [rsp + 0x328], 0
mov dword [rsp + 0x350], 1
cmp dword [rsp + 0x3c8], 0
je 0x140196868
lea rax, str.open
mov qword [rsp + 0x3a0], rax
jmp 0x140196877
lea rax, str.runas
mov qword [rsp + 0x3a0], rax
mov rax, qword [rsp + 0x3a0]
mov qword [rsp + 0x330], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x338], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x3c0]
call fcn.1401370a0
mov qword [rsp + 0x340], rax
lea rcx, [rsp + 0x320]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x1401968c6
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.14037c300
mov rax, rdi
mov rcx, qword [rsp + 0x3a8]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x3b0
pop rdi
ret
Function at 0x140196c80
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [0x140575740]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140196d41
mov r8d, 4
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140196d2d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x140196d1f
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
jmp 0x140196d35
mov dword [rsp + 0x20], 0x64
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.14037c300
mov eax, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14037c650
add rsp, 0x90
pop rdi
ret
Function at 0x1401d8140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x28
call fcn.14037c5f0
sub rsp, rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov byte [rsp], 0
mov qword [rsp + 8], 0
jmp 0x1401d818c
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 8], rax
jae 0x1401d81d3
mov rax, qword [rsp + 8]
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movzx eax, al
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x18]
add rdx, rcx
mov rcx, rdx
movzx ecx, byte [rcx]
movzx ecx, cl
xor eax, ecx
movzx ecx, byte [rsp]
or ecx, eax
mov eax, ecx
mov byte [rsp], al
jmp 0x1401d817f
movzx eax, byte [rsp]
add rsp, 0x28
ret
Function at 0x1401f4690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x58
call fcn.14037c5f0
sub rsp, rax
cmp qword [rsp + 0x78], 0
jne 0x1401f46e0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xde
mov edx, 0xe2
mov ecx, reloc.WS2_32.dll_listen
call fcn.1401ba140
xor eax, eax
jmp 0x1401f48e3
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
and eax, 0x80
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x68], 0
je 0x1401f470e
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
cmp qword [rsp + 0x78], 1
jne 0x1401f477f
cmp qword [rsp + 0x60], 0
je 0x1401f4775
cmp dword [rsp + 0x34], 0
je 0x1401f4751
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
xor eax, 0xff
inc eax
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x60]
mov byte [rdx + rcx], al
jmp 0x1401f4775
mov eax, 1
imul rax, rax, 0
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
jmp 0x1401f48e3
mov dword [rsp + 0x30], 0
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x1401f47aa
mov dword [rsp + 0x30], 1
jmp 0x1401f4831
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
cmp eax, 0xff
jne 0x1401f4831
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x40], 1
jmp 0x1401f47e3
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x40], rax
jae 0x1401f4810
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x1401f47d6
cmp dword [rsp + 0x30], 0
je 0x1401f4821
mov dword [rsp + 0x38], 1
jmp 0x1401f4829
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1401f4879
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x70]
movzx eax, byte [rcx + rax]
and eax, 0x80
cmp dword [rsp + 0x34], eax
jne 0x1401f4879
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xdd
mov edx, 0xe2
mov ecx, reloc.WS2_32.dll_listen
call fcn.1401ba140
xor eax, eax
jmp 0x1401f48e3
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x60], 0
je 0x1401f48de
cmp dword [rsp + 0x34], 0
je 0x1401f48bc
mov dword [rsp + 0x3c], 0xff
jmp 0x1401f48c4
mov dword [rsp + 0x3c], 0
movzx r9d, byte [rsp + 0x3c]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
call fcn.1401f4c70
mov rax, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x140268510
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x58
call fcn.14037c5f0
sub rsp, rax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x80], eax
jne 0x140268569
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0x6a
je 0x140268593
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
cmp eax, 0x6b
je 0x140268593
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x89
mov edx, 0x80
mov ecx, 4
call fcn.1401ba140
mov eax, 0xffffffff
jmp 0x1402686e0
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x3c], 0x6b
jne 0x14026867f
mov eax, dword [rsp + 0x78]
sub eax, 3
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], 0
jmp 0x1402685d6
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x38], eax
jge 0x14026863f
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x30]
cmp eax, 0xba
jne 0x140268607
jmp 0x14026863f
movzx eax, byte [rsp + 0x30]
cmp eax, 0xbb
je 0x14026863d
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8a
mov edx, 0x80
mov ecx, 4
call fcn.1401ba140
mov eax, 0xffffffff
jmp 0x1402686e0
jmp 0x1402685cc
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x38], 0
jne 0x14026867d
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8a
mov edx, 0x80
mov ecx, 4
call fcn.1401ba140
mov eax, 0xffffffff
jmp 0x1402686e0
jmp 0x14026868a
mov eax, dword [rsp + 0x78]
sub eax, 2
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1402686c6
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x8b
mov edx, 0x80
mov ecx, 4
call fcn.1401ba140
mov eax, 0xffffffff
jmp 0x1402686e0
mov eax, dword [rsp + 0x34]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1404105c0
mov eax, dword [rsp + 0x34]
add rsp, 0x58
ret