joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180085bb0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbx
push r13
push r14
sub rsp, 0x30
mov r11d, r9d
mov rbx, r8
mov r14, rcx
test r9d, r9d
je 0x180085be2
mov r10, rbx
sub rdx, rbx
nop
movzx eax, byte [rdx + r10]
mov byte [r10], al
lea r10, [r10 + 1]
sub r11, 1
jne 0x180085bd0
mov edx, r9d
mov rcx, rbx
call fcn.180086330
mov r13d, eax
test eax, eax
jne 0x180085bfe
add rsp, 0x30
pop r14
pop r13
pop rbx
ret
mov r8, qword [r14 + 0x18]
mov qword [rsp + 0x28], r12
mov r12d, r13d
shr r12d, 4
test r12d, r12d
je 0x180085da8
mov qword [rsp + 0x50], rbp
lea r9, [0x18008ae60]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r15
mov r15, r14
sub r15, rbx
add r15, 0x20
nop dword [rax]
cmp dword [r14 + 8], 1
jne 0x180085c71
mov rcx, rbx
sub r8, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180085c60
mov rsi, rbx
mov ecx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx eax, byte [rsi + r15]
xor byte [rsi], al
inc rsi
sub rcx, 1
jne 0x180085c80
cmp dword [r14], 1
mov bpl, 1
jl 0x180085d80
lea edi, [rcx + 1]
mov rcx, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
movzx eax, byte [rax + r9]
mov byte [rcx - 1], al
sub rdx, 1
jne 0x180085cb0
mov r10b, 1
lea r11, [rbx + 1]
nop dword [rax]
lea rdx, [rsp + 0x68]
mov rax, r11
mov r8d, 4
nop
movzx ecx, byte [rax]
lea rax, [rax + 4]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180085ce0
movzx r9d, r10b
nop word [rax + rax]
movzx eax, r8b
inc r8b
lea edx, [r9 + rax]
and edx, 3
lea ecx, [r9 + rax*4]
movzx eax, byte [rsp + rdx + 0x68]
mov byte [rcx + rbx], al
cmp r8b, 4
jb 0x180085d00
inc r10b
inc r11
cmp r10b, 4
jb 0x180085cd0
cmp edi, dword [r14]
je 0x180085d3b
xor edx, edx
mov rcx, rbx
call fcn.180085fd0
shl edi, 4
mov rcx, rbx
mov r8d, edi
mov edx, reloc.WS2_32.dll_recv
sub r8, rbx
add r8, r14
nop
movzx eax, byte [r8 + rcx + 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180085d50
inc bpl
lea r9, [0x18008ae60]
movzx edi, bpl
cmp edi, dword [r14]
jle 0x180085ca0
lea r9, [0x18008ae60]
sub r15, 0x10
mov r8, rbx
mov rbx, rsi
add r12d, 0xffffffff
jne 0x180085c40
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x28]
mov eax, r13d
add rsp, 0x30
pop r14
pop r13
pop rbx
ret
Function at 0x180085dc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
mov ebp, r9d
mov rbx, rdx
mov r14, rcx
test r9d, r9d
je 0x180085ebb
test bpl, 0xf
jne 0x180085ebb
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
mov r15, rdx
mov edx, ebp
test r9d, r9d
je 0x180085e11
mov rcx, rbx
sub r8, rbx
nop
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180085e00
lea ecx, [rbp - 0x10]
mov edi, ebp
add rbx, rcx
shr edi, 4
test edi, edi
je 0x180085e95
mov qword [rsp + 0x40], rsi
mov esi, reloc.WS2_32.dll_recv
nop word [rax + rax]
mov rdx, rbx
mov rcx, r14
call fcn.1800861b0
cmp dword [r14 + 8], 1
jne 0x180085e60
cmp edi, 1
je 0x180085e6a
mov rax, rbx
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rax - 0x10]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x180085e50
sub rbx, rsi
add edi, 0xffffffff
jne 0x180085e30
jmp 0x180085e90
mov rcx, qword [r14 + 0x18]
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x180085e80
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
lea eax, [rbp - 1]
movzx edx, byte [rax + r15]
mov ecx, ebp
mov r15, qword [rsp + 0x50]
sub ecx, edx
xor eax, eax
cmp edx, ebp
cmovbe eax, ecx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x180085ed0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14d, r9d
mov rbx, rdx
mov rbp, rcx
test r9d, r9d
jne 0x180085f01
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x38], rdi
mov rdx, r14
test r9d, r9d
je 0x180085f31
mov rcx, rbx
sub r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180085f20
lea ecx, [r14 - 0x10]
mov edi, r14d
add rbx, rcx
shr edi, 4
test edi, edi
je 0x180085fb5
mov qword [rsp + 0x30], rsi
mov esi, reloc.WS2_32.dll_recv
nop dword [rax]
mov rdx, rbx
mov rcx, rbp
call fcn.1800861b0
cmp dword [rbp + 8], 1
jne 0x180085f80
cmp edi, 1
je 0x180085f8a
mov rax, rbx
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rax - 0x10]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x180085f70
sub rbx, rsi
add edi, 0xffffffff
jne 0x180085f50
jmp 0x180085fb0
mov rcx, qword [rbp + 0x18]
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x180085fa0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov eax, r14d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800861b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rdi
sub rsp, 0x28
mov eax, dword [rcx]
mov rdi, rdx
shl eax, 4
lea rdx, [rcx + 0x20]
cdqe
mov r8, rdi
add rdx, rax
mov r9d, reloc.WS2_32.dll_recv
sub rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor byte [r8], al
lea r8, [r8 + 1]
sub r9, 1
jne 0x1800861e0
movzx ebp, byte [rcx]
test bpl, bpl
je 0x180086322
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
lea rsi, [rbp + 1]
shl rsi, 4
sub rsi, rdi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
add rsi, rcx
lea r15, [0x18008ad60]
nop word [rax + rax]
mov r9b, 1
lea rbx, [rdi + 1]
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rax, rbx
mov r8d, 4
nop
movzx ecx, byte [rax]
lea rax, [rax + 4]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x180086250
mov eax, 4
movzx r11d, r9b
sub al, r9b
movzx r10d, al
nop dword [rax]
nop word [rax + rax]
movzx eax, r8b
inc r8b
lea edx, [r10 + rax]
and edx, 3
lea ecx, [r11 + rax*4]
movzx eax, byte [rsp + rdx + 0x40]
mov byte [rcx + rdi], al
cmp r8b, 4
jb 0x180086280
inc r9b
inc rbx
cmp r9b, 4
jb 0x180086240
mov rcx, rdi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
movzx eax, byte [rax + r15]
mov byte [rcx - 1], al
sub rdx, 1
jne 0x1800862c0
mov rcx, rdi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx eax, byte [rcx + rsi]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1800862e0
cmp bpl, 1
je 0x180086300
mov dl, 1
mov rcx, rdi
call fcn.180085fd0
sub rsi, 0x10
add bpl, 0xff
jne 0x180086230
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rbp
ret
Function at 0x14000a640
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x14000a65b
mov qword [r8], 0
call fcn.14000a720
mov rbx, rax
test rax, rax
jne 0x14000a671
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
call fcn.14000a5c0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000a6f3
lea rcx, [rax + rbp]
call fcn.14000c5e0
mov rsi, rax
test rax, rax
je 0x14000a6f3
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rax, rdi
je 0x14000a6cc
mov rcx, rbx
call fcn.14000a5a0
mov rcx, rsi
call fcn.14000c600
jmp 0x14000a6fb
test ebp, ebp
jle 0x14000a6de
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call fcn.1400510f5
mov rcx, rbx
call fcn.14000a5a0
test r14, r14
je 0x14000a6ee
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000a6fd
mov rcx, rbx
call fcn.14000a5a0
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x14000a980
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14000a9bd
lea r10, [0x140053890]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r10 + rcx*4]
sub rdx, 1
jne 0x14000a9a0
not r8d
mov eax, r8d
ret

Function at 0x14000a9d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000aa2d
lea rbx, [0x140053890]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000aa14
cmp r10, 2
jb 0x14000aa14
cmp byte [r9], r8b
jne 0x14000aa14
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000a9f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000aa6f
lea rbx, [0x140053890]
cmp r8b, 0x23
jne 0x14000aa53
cmp byte [r9], r8b
jne 0x14000aa53
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000aa40
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000c4a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3130], 0
mov rbx, r8
mov rbp, rdx
mov rdi, rcx
je 0x14000c51b
xor edx, edx
add rcx, 0x3138
call fcn.140015f50
mov r8, rbx
lea rcx, [rdi + 0x3138]
mov rdx, rbp
call fcn.140015210
lea rcx, [rdi + 0x3138]
call fcn.1400161c0
lea rcx, [rdi + 0x3138]
movsxd rbx, eax
call fcn.1400153a0
mov r9, qword [rdi + 0x3130]
mov r8, rbx
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
jmp 0x14000c527
add rcx, 0x3138
call fcn.140015210
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140011c20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14007a3c8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x30cc], ecx
test rbx, rbx
je 0x140011c8d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.140011ca0
lea rdx, [0x140053f88]
mov rcx, rbx
mov rdi, rax
call fcn.14000a720
mov rbx, rax
test rax, rax
je 0x140011c88
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
call fcn.14000a5a0
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x14001eb30
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
mov r10, rdx
movzx r9d, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul r8d
mov ebx, r8d
mov esi, r8d
shr edx, 0xb
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x14001ec7f
mov qword [rsp + 0x20], rdi
xor r11d, r11d
cmp ebx, 7
jbe 0x14001ebe6
mov edx, 7
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r10]
add r11d, 8
add r9d, eax
add edx, 8
movzx eax, byte [r10 + 1]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 2]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 3]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 4]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 5]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 6]
add ecx, r9d
add r9d, eax
movzx eax, byte [r10 + 7]
add ecx, r9d
add r9d, eax
add r10, 8
add ecx, r9d
cmp edx, ebx
jb 0x14001eb80
xor edx, edx
xor r8d, r8d
cmp r11d, ebx
jae 0x14001ec47
mov eax, ebx
sub eax, r11d
cmp eax, 2
jb 0x14001ec34
mov eax, ebx
sub eax, r11d
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea r11d, [r11 + rax*2]
nop dword [rax]
movzx eax, byte [r10]
add r9d, eax
movzx eax, byte [r10 + 1]
add edx, r9d
add r10, 2
add r9d, eax
add r8d, r9d
sub rdi, 1
jne 0x14001ec10
cmp r11d, ebx
jae 0x14001ec41
movzx eax, byte [r10]
add r9d, eax
add ecx, r9d
inc r10
lea eax, [r8 + rdx]
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
sub esi, ebx
mov ebx, 0x15b0
jne 0x14001eb67
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
shl ecx, 0x10
lea eax, [r9 + rcx]
pop rsi
ret

Function at 0x140028510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx r10d, byte [rcx]
xor r9d, r9d
cmp r10b, 0x2d
jne 0x140028528
movzx r10d, byte [rcx + 1]
mov r9d, 1
lea rax, [rcx + 1]
xorps xmm1, xmm1
cmovne rax, rcx
cmp r10b, 0x2b
lea rcx, [rax + 1]
cmovne rcx, rax
movzx eax, byte [rcx]
cmp al, 0x30
jl 0x140028576
movss xmm2, dword [0x140054128]
nop
cmp al, 0x39
ja 0x140028576
movsx eax, byte [rcx]
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140028550
mov rax, rcx
test r9d, r9d
je 0x140028585
xorps xmm1, xmmword [0x1400541b0]
movss dword [rdx], xmm1
ret
Function at 0x140028590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx r10d, byte [rcx]
xor r9d, r9d
cmp r10b, 0x2d
jne 0x1400285a8
movzx r10d, byte [rcx + 1]
mov r9d, 1
lea rax, [rcx + 1]
xorps xmm1, xmm1
cmovne rax, rcx
cmp r10b, 0x2b
lea rcx, [rax + 1]
cmovne rcx, rax
movzx eax, byte [rcx]
cmp al, 0x30
jl 0x1400285f4
movsd xmm2, qword [0x14005bb18]
nop
cmp al, 0x39
ja 0x1400285f4
movsx eax, byte [rcx]
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x1400285d0
mov rax, rcx
test r9d, r9d
je 0x140028603
xorps xmm1, xmmword [0x14005bb70]
movsd qword [rdx], xmm1
ret
Function at 0x140037b50
Capabilities:
Create udp socket
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1f0
mov rax, qword [0x14007a280]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x101
lea rdx, [rsp + 0x40]
mov rsi, r8
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140037b94
mov eax, 0xffffdcd8
jmp 0x140037d1b
movzx eax, word [rsp + 0x40]
cmp al, 1
jne 0x140037d05
shr ax, 8
cmp al, 1
jne 0x140037d05
xor ecx, ecx
mov qword [rsp + 0x228], rbp
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebp, 2
xor r8d, r8d
mov edx, ebp
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, rbx
mov qword [0x140081080], rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, rdi
mov word [0x1400818b0], bp
mov dword [0x1400818b4], eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov edx, 4
mov rcx, rsi
mov word [0x1400818b2], ax
call fcn.140037900
mov dword [0x140081090], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov rcx, qword [0x140081080]
lea rbx, [0x1400818b0]
xorps xmm0, xmm0
mov dword [0x140081094], eax
xor eax, eax
mov dword [rsp + 0x28], sendto
xor r9d, r9d
mov qword [0x1400818f0], rax
mov r8d, sendto
mov qword [0x1400818f8], rax
lea rdx, [0x140081090]
mov dword [0x140081900], eax
mov dword [0x140081098], 0
mov dword [0x14008109c], 0xaf3c2828
movups xmmword [0x1400818c0], xmm0
mov qword [rsp + 0x20], rbx
movups xmmword [0x1400818d0], xmm0
movups xmmword [0x1400818e0], xmm0
call qword [sym.imp.WS2_32.dll_sendto]
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x140081080]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400814a0]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov r8d, 0x400
mov dword [rsp + 0x30], sendto
call qword [sym.imp.WS2_32.dll_recvfrom]
mov rbp, qword [rsp + 0x228]
test eax, eax
jns 0x140037cf0
mov eax, 0xffffdcdb
jmp 0x140037d1b
lea rdx, [0x140081090]
lea rcx, [0x1400814a0]
call fcn.1400378d0
jmp 0x140037d1b
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffdcd9
mov qword [0x140081080], 0xffffffffffffffff
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14004f050
add rsp, 0x1f0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140037d40
Capabilities:
Create thread
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14007a280]
xor rax, rsp
mov qword [rsp + 0x48], rax
movsx ebx, cx
mov rcx, qword [0x140081080]
test rcx, rcx
jne 0x140037d7c
mov eax, 0xffffdcd8
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004f050
add rsp, 0x50
pop rbx
ret
inc dword [0x140081098]
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rsp + 0x70], rdi
mov dword [0x14008109c], 0x27388020
test bx, bx
je 0x140037db3
mov eax, ebx
mov word [0x140081924], bx
or eax, 0xaa550000
mov dword [0x140081094], eax
jmp 0x140037db9
mov dword [0x140081094], esi
lea rax, [0x1400818b0]
mov dword [rsp + 0x28], sendto
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, sendto
lea rdx, [0x140081090]
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140081080]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400814a0]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], sendto
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov r8d, 0x400
call qword [sym.imp.WS2_32.dll_recvfrom]
mov rcx, qword [0x140081088]
mov edi, eax
test rcx, rcx
je 0x140037e37
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x140081088], rsi
test bx, bx
je 0x140037e59
mov qword [rsp + 0x28], rsi
lea r8, [0x1400379e0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rsi, qword [rsp + 0x68]
test edi, edi
mov rdi, qword [rsp + 0x70]
jns 0x140037e8a
mov eax, 0xffffdcdb
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004f050
add rsp, 0x50
pop rbx
ret
lea rdx, [0x140081090]
lea rcx, [0x1400814a0]
call fcn.1400378d0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004f050
add rsp, 0x50
pop rbx
ret
Function at 0x140037fc0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14007a280]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [0x140081080], 0
movsx edi, dx
movsx ebx, cx
ja 0x140037ff3
mov eax, 0xffffdcd8
jmp 0x1400380e6
inc dword [0x140081098]
mov dword [0x14008109c], 0xaede7345
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movups xmm1, xmmword [0x1400818d0]
mov rcx, qword [0x140081080]
lea rdx, [0x140081090]
mov dword [0x1400818c4], ebx
xor r9d, r9d
mov dword [0x1400818c8], edi
mov r8d, 0x48
movups xmm0, xmmword [0x1400818c0]
mov dword [0x140081094], eax
lea rax, [0x1400818b0]
movaps xmmword [0x1400810b0], xmm1
movsd xmm1, qword [0x1400818f0]
movaps xmmword [0x1400810a0], xmm0
movups xmm0, xmmword [0x1400818e0]
mov dword [rsp + 0x28], sendto
movsd qword [0x1400810d0], xmm1
movaps xmmword [0x1400810c0], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [0x140081080]
lea rdx, [0x1400814a0]
xor eax, eax
mov dword [rsp + 0x30], sendto
mov qword [0x1400818c4], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
mov r8d, 0x400
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jns 0x1400380d3
mov eax, 0xffffdcdb
jmp 0x1400380e6
lea rdx, [0x140081090]
lea rcx, [0x1400814a0]
call fcn.1400378d0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004f050
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140043440
Capabilities:
Check mutex on windows

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
movzx edx, byte [rbp]
lea rcx, [rbp + 0x20]
xor r9d, r9d
xor r8d, r8d
call fcn.14003b6c0
mov rcx, rax
call fcn.14004e070
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400434af
movzx edx, byte [rbp]
lea rcx, [rbp + 0x20]
xor r9d, r9d
xor r8d, r8d
call fcn.14003be20
mov rcx, rax
call fcn.14004e070
mov rcx, rax
mov edx, 5
call fcn.14004bac0
add rsp, 0x80
pop rbp
ret
Function at 0x140044800
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14007a280]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov ecx, dword [0x140081d38]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140081b78], ecx
jg 0x140044954
mov edx, 0x18
lea rcx, [rsp + 0x30]
call fcn.14004cef0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.opencv_world452.dll_public:_class_std::vector_int__class_std::allocator_int_____cdecl_cv::dnn::dnn4_v20210301::Net::getUnconnectedOutLayers_void____ptr64
nop
mov edx, 0x18
lea rcx, [rsp + 0x48]
call fcn.14004cef0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call sub.opencv_world452.dll_public:_class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_______cdecl_cv::dnn::dnn4_v20210301::Net::getLayerNames_void____ptr64
nop
lea rcx, [rsp + 0x30]
call fcn.14004e910
mov rdx, rax
lea rcx, [0x1400819d8]
call fcn.14004e890
lea rcx, [rsp + 0x30]
call fcn.14004e910
test rax, rax
je 0x14004490d
nop dword [rax]
nop dword [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140043050
mov ecx, dword [rax]
dec ecx
movsxd rdx, ecx
lea rcx, [rsp + 0x48]
call fcn.140043080
mov rbx, rax
mov rdx, rdi
lea rcx, [0x1400819d8]
call fcn.140043080
mov rcx, rax
mov rdx, rbx
call fcn.140042f70
inc rdi
lea rcx, [rsp + 0x30]
call fcn.14004e910
cmp rdi, rax
jb 0x1400448c0
lea rdx, [0x1400819d8]
mov rcx, rsi
call fcn.14003d250
nop
lea rcx, [rsp + 0x48]
call fcn.140042ea0
nop
lea rcx, [rsp + 0x30]
call fcn.140042e70
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004f050
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
lea rcx, [0x140081b78]
call fcn.14004f31c
cmp dword [0x140081b78], 0xffffffff
jne 0x140044852
lea rcx, [0x140052500]
call fcn.14004f298
lea rcx, [0x140081b78]
call fcn.14004f2b0
jmp 0x140044852

Function at 0x1400449d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call fcn.140009b20
mov byte [rax + 0x128], 0
call fcn.140009b20
mov byte [rax + 0x129], 0
call fcn.140009b20
mov byte [rax + 0x12a], 0
call fcn.140009b20
mov byte [rax + 0x12b], 0
call fcn.140009b20
mov ecx, 1
mov byte [rax + 0x12c], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140044a3f
movss xmm1, dword [0x140054168]
xor ecx, ecx
call fcn.14000b720
test al, al
jne 0x140044a3f
call fcn.140009b20
mov byte [rax + 0x128], 1
add rsp, 0x28
ret