joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180173d90
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x180323ef0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x180173e28
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.1801877f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180173e30
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x180323ef0]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x180177660
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x180722dc8]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3f08]
cmp qword [rbx + 0x1a8], 0
movss xmm0, dword [rbx + 0x250]
movss xmm2, dword [rbx + 0x254]
jne 0x1801776b1
cmp qword [rdi + 0x4b68], 0
je 0x1801776b9
movss xmm0, dword [rbx + 0x220]
movsd xmm3, qword [r8]
xor r15d, r15d
subss xmm0, dword [rbx + 0x100]
subss xmm2, dword [rbx + 0x104]
movss xmm4, dword [0x18033958c]
xorps xmm5, xmm5
ucomiss xmm3, xmm5
mov eax, r15d
mov r8d, 1
mov edx, 2
movsd qword [rsp + 0x60], xmm3
movss xmm1, dword [rsp + 0x64]
cmove eax, r8d
ucomiss xmm1, xmm5
cmove r15d, edx
or r15d, eax
comiss xmm3, xmm5
ja 0x180177717
addss xmm0, xmm3
maxss xmm0, xmm4
movaps xmm3, xmm0
comiss xmm1, xmm5
ja 0x180177727
addss xmm2, xmm1
movaps xmm1, xmm2
maxss xmm1, xmm4
or dword [rdi + 0x47e8], edx
xor edx, edx
movss dword [rdi + 0x4808], xmm3
movss dword [rdi + 0x480c], xmm1
mov dword [rdi + 0x47f0], r8d
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x18017776b
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1801705c0
jmp 0x180177780
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0x60]
call fcn.1801705c0
mov rcx, qword [rsp + 0x60]
xor edx, edx
movss xmm6, dword [rdi + 0x37f8]
mov r8d, 0x1000107
call fcn.18017a380
mov rsi, qword [rdi + 0x3f08]
movzx r14d, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], ebp
mov byte [rsi + 0xd2], r15b
jne 0x1801777d1
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, ebp
lea rdx, [0x180322da9]
not r9d
lea r10, [0x180323ef0]
mov ebx, r9d
mov r8b, 0x23
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x180177803
cmp byte [rdx], r8b
jne 0x180177803
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x1801777f0
not ebx
cmp dword [rdi + 0x3f68], ebx
jne 0x180177833
xor edx, edx
xor ecx, ecx
call fcn.180174020
cmp dword [rdi + 0x4900], ebp
jne 0x180177878
cmp word [rsi + 0x15c], 0
jne 0x18017784e
cmp byte [rsi + 0x162], 0
je 0x180177878
xor edx, edx
mov rcx, rsi
call fcn.18017c810
xor edx, edx
mov rcx, rsi
call fcn.180182ad0
mov rdx, rsi
mov ecx, ebx
call fcn.180174020
mov eax, dword [rdi + 0x4924]
mov dword [rdi + 0x3f90], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x180180c40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180722dc8]
mov edi, ecx
cmp byte [rbx + 0x4ab1], 0
jne 0x180180ca1
cmp byte [rbx + 0x4ab2], 0
jne 0x180180ca1
movsx r9d, word [rbx + 0x5be2]
lea r8, str.Tooltip__02d
mov edx, select
lea rcx, [rsp + 0x20]
call fcn.180170540
test dil, 2
je 0x180180dcf
jmp 0x180180d2c
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5be2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1803395f0]
mov edx, select
mulss xmm1, dword [0x1803395d4]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x4800], rax
mov dword [rbx + 0x47ec], 1
movss dword [rbx + 0x47f8], xmm0
movss dword [rbx + 0x47fc], xmm1
movss xmm0, dword [rbx + 0x38fc]
mulss xmm0, dword [0x18033946c]
or dword [rbx + 0x47e8], 0x41
movss dword [rbx + 0x4848], xmm0
call fcn.180170540
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180180d80
lea r11, [0x180323ef0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180180d63
cmp byte [r8], r9b
jne 0x180180d63
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180180d50
not ecx
call fcn.180177b80
test rax, rax
je 0x180180dcf
cmp byte [rax + 0xb6], 0
je 0x180180dcf
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, select
inc word [rbx + 0x5be2]
movsx r9d, word [rbx + 0x5be2]
call fcn.180170540
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18017a380
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18027f010
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180186530
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180722dc8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180186593
mov qword [rsp], rbx
lea rbx, [0x180323ef0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180186573
cmp byte [r8], r9b
jne 0x180186573
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180186560
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c40]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1801865c7
mov r10, qword [r10 + 0x5c48]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1801865ce
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1801865b4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1801c3230
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov eax, dword [rcx + 8]
mov rdi, qword [rcx + 0x28]
bswap eax
test rdi, rdi
je 0x1801c3260
mov dword [rdi], eax
inc dword [rcx + 8]
mov rax, qword [rcx + 0x20]
xor edi, edi
mov qword [rsp + 0x58], rdi
movdqa xmm0, xmmword [0x180339940]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x5f], 1
lea rdi, [rsp + 0x60]
mov qword [rbp - 0x48], rdi
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp + 1], 1
lea rdi, [rbp - 0x40]
mov qword [rbp + 0x18], rdi
mov dword [rbp - 0x40], 0x67452301
mov dword [rbp - 0x3c], 0xefcdab89
mov dword [rbp - 0x38], 0x98badcfe
mov dword [rbp - 0x34], 0x10325476
mov dword [rbp - 0x30], 0xc3d2e1f0
lea rdi, vtable.CryptoPP::SHA1.0
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x20], rax
mov r9, qword [rcx + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1801cb910
nop
mov rcx, qword [rbp + 0x10]
cmp qword [rbp + 8], rcx
cmovb rcx, qword [rbp + 8]
lea rax, [rbp - 0x40]
mov rdi, qword [rbp + 0x18]
cmp rdi, rax
jne 0x1801c3307
xor eax, eax
rep stosd dword [rdi], eax
mov rcx, qword [rbp - 0x50]
cmp qword [rbp - 0x58], rcx
cmovb rcx, qword [rbp - 0x58]
lea rax, [rsp + 0x60]
mov rdi, qword [rbp - 0x48]
cmp rdi, rax
jne 0x1801c3326
xor eax, eax
rep stosd dword [rdi], eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.18027f010
mov rdi, qword [rsp + 0x148]
add rsp, 0x130
pop rbp
ret
Function at 0x1801d2480
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, r8
mov rdi, rdx
mov r15, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
movdqa xmm0, xmmword [0x180339940]
movdqu xmmword [rbp - 0x51], xmm0
mov byte [rbp - 0x58], 1
lea rax, [rsp + 0x30]
mov qword [rbp - 0x41], rax
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 0x10], 1
lea rax, [rbp - 0x39]
mov esi, eax
and eax, 0xf
lea rcx, [rbp - 0x39]
add rcx, rax
mov qword [rbp + 0x27], rcx
movups xmm0, xmmword [0x18032b670]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x18032b680]
movups xmmword [rcx + 0x10], xmm1
lea rax, vtable.CryptoPP::SHA256.0
mov qword [rsp + 0x20], rax
mov r14d, 0x20
mov r8d, r14d
mov rdx, qword [r15 + 0x80]
lea rcx, [rsp + 0x20]
call fcn.1801d5f90
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1801d5f90
mov rbx, qword [r15 + 0x80]
mov rax, qword [rsp + 0x20]
mov rdi, qword [rax + 0x78]
mov rdx, qword [rax + 0x40]
lea rax, [method.CryptoPP::SHA256.virtual_64]
cmp rdx, rax
je 0x1801d2562
lea rcx, [rsp + 0x20]
call rdx
mov r14d, eax
mov r8d, r14d
lea rax, [fcn.1801d61b0]
mov rdx, rbx
lea rcx, [rsp + 0x20]
cmp rdi, rax
jne 0x1801d2580
call fcn.1801d61b0
jmp 0x1801d2582
call rdi
mov byte [r15 + 0x90], 0
mov rcx, qword [rbp + 0x1f]
cmp qword [rbp + 0x17], rcx
cmovb rcx, qword [rbp + 0x17]
and esi, 0xf
lea rax, [rbp - 0x39]
add rax, rsi
mov rdi, qword [rbp + 0x27]
cmp rdi, rax
jne 0x1801d25ae
xor eax, eax
rep stosd dword [rdi], eax
mov rcx, qword [rbp - 0x49]
cmp qword [rbp - 0x51], rcx
cmovb rcx, qword [rbp - 0x51]
lea rax, [rsp + 0x30]
mov rdi, qword [rbp - 0x41]
cmp rdi, rax
jne 0x1801d25cd
xor eax, eax
rep stosd dword [rdi], eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18027f010
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801d2fb0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r8
mov rdi, rdx
mov ecx, dword [0x18071eb58]
mov rax, qword gs:[0x58]
mov edx, select
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180725540], ecx
jg 0x1801d3093
mov eax, ebx
cmp rbx, rax
jne 0x1801d3055
xor ecx, ecx
mov eax, ecx
test rbx, rbx
setne al
test ebx, ebx
setne cl
cmp eax, ecx
jne 0x1801d3055
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x180725538]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1801d30d6
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18027f010
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x20]
call fcn.18004b0a0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1801d2b20
lea rdx, [0x18037f038]
lea rcx, [rsp + 0x40]
call fcn.180281af0
nop
lea rcx, [0x180725540]
call fcn.18027f590
cmp dword [0x180725540], 0xffffffff
jne 0x1801d2ffc
lea rcx, [0x180725538]
call fcn.1801d2e30
lea rcx, [0x1802dc170]
call fcn.18027f3c4
nop
lea rcx, [0x180725540]
call fcn.18027f524
jmp 0x1801d2ffc
mov ecx, eax
call fcn.1801d2e10
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x18032b5d8]
lea rcx, [rsp + 0x20]
call fcn.18004b0a0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1801d2b20
lea rdx, [0x18037f038]
lea rcx, [rsp + 0x40]
call fcn.180281af0
int3
Function at 0x1801d3120
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
mov rdi, rdx
lea rsi, vtable.CryptoPP::NonblockingRng.0
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x28]
call fcn.1801d2e30
nop
mov ecx, dword [0x18071eb58]
mov rax, qword gs:[0x58]
mov edx, select
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180725540], ecx
jg 0x1801d3280
mov eax, ebx
cmp rbx, rax
jne 0x1801d3242
xor ecx, ecx
mov eax, ecx
test ebx, ebx
setne al
test rbx, rbx
setne cl
cmp ecx, eax
jne 0x1801d3242
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [0x180725538]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1801d3200
mov qword [rsp + 0x20], rsi
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1801d31db
xor edx, edx
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18027f010
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, eax
call fcn.1801d2e10
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x18032b5d8]
lea rcx, [rsp + 0x30]
call fcn.18004b0a0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1801d2b20
lea rdx, [0x18037f038]
lea rcx, [rsp + 0x50]
call fcn.180281af0
nop
mov ecx, 0x5b6
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, str.GenerateBlock_size
lea rcx, [rsp + 0x30]
call fcn.18004b0a0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1801d2b20
lea rdx, [0x18037f038]
lea rcx, [rsp + 0x50]
call fcn.180281af0
nop
lea rcx, [0x180725540]
call fcn.18027f590
cmp dword [0x180725540], 0xffffffff
jne 0x1801d3188
lea rcx, [0x180725538]
call fcn.1801d2e30
lea rcx, [0x1802dc170]
call fcn.18027f3c4
nop
lea rcx, [0x180725540]
call fcn.18027f524
jmp 0x1801d3188
Function at 0x1801d79a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r8, r8
je 0x1801d7b02
cmp r8, 4
jb 0x1801d79e2
mov r9, r8
shr r9, 2
imul rax, r9, 0xfffffffffffffffc
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdx]
add rdx, 4
xor dword [rcx], eax
add rcx, 4
sub r9, 1
jne 0x1801d79d0
xor r10d, r10d
test r8, r8
je 0x1801d7b02
cmp r8, 8
jb 0x1801d7ae4
lea r9, [rcx - 1]
lea rax, [rdx - 1]
add r9, r8
add rax, r8
cmp rcx, rax
ja 0x1801d7a14
cmp r9, rdx
jae 0x1801d7ae4
cmp r8, 0x40
jb 0x1801d7aa3
mov r9, r8
mov qword [rsp], rbx
and r9d, 0x3f
mov r11, r8
sub r11, r9
mov rbx, rdx
lea rax, [rcx + 0x10]
sub rbx, rcx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rax + rbx - 0x10]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax + rbx - 0x40]
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm2, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rax + rbx - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rax + rbx - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp r10, r11
jb 0x1801d7a40
mov rbx, qword [rsp]
cmp r9, 8
jb 0x1801d7adf
mov r9, r8
and r9, 0xfffffffffffffff8
mov r11, rdx
lea rax, [r10 + rcx]
sub r11, rcx
nop dword [rax]
nop dword [rax + rax]
movq xmm0, qword [rax]
add r10, 8
movq xmm1, qword [r11 + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp r10, r9
jb 0x1801d7ac0
cmp r10, r8
jae 0x1801d7b02
sub rdx, rcx
lea r9, [r10 + rcx]
sub r8, r10
nop
movzx eax, byte [rdx + r9]
xor byte [r9], al
lea r9, [r9 + 1]
sub r8, 1
jne 0x1801d7af0
add rsp, 8
ret
Function at 0x1801d7b10
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
test r9, r9
je 0x1801d7ca6
cmp r9, 4
jb 0x1801d7b4a
mov r10, r9
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r9, rax
mov eax, dword [rdx]
add rdx, 4
xor eax, dword [r8]
add r8, 4
mov dword [rcx], eax
add rcx, 4
sub r10, 1
jne 0x1801d7b31
xor r11d, r11d
test r9, r9
je 0x1801d7ca6
cmp r9, 8
jb 0x1801d7c7d
lea r10, [rcx - 1]
lea rax, [r8 - 1]
add r10, r9
add rax, r9
cmp rcx, rax
ja 0x1801d7b7c
cmp r10, r8
jae 0x1801d7c7d
lea rax, [rdx - 1]
add rax, r9
cmp rcx, rax
ja 0x1801d7b91
cmp r10, rdx
jae 0x1801d7c7d
mov qword [rsp + 0x10], rbx
mov qword [rsp], rdi
cmp r9, 0x40
jb 0x1801d7c37
mov r10, r9
mov qword [rsp + 0x18], rsi
and r10d, 0x3f
mov rbx, r9
sub rbx, r10
mov rdi, rdx
lea rax, [r8 + 0x10]
sub rdi, r8
mov rsi, rcx
sub rsi, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rdi + rax - 0x10]
add r11, 0x40
movdqu xmm1, xmmword [rax - 0x10]
movdqu xmm2, xmmword [rdi + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rdi + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r11, rbx
jb 0x1801d7bd0
mov rsi, qword [rsp + 0x18]
cmp r10, 8
jb 0x1801d7c6f
mov r10, r9
and r10, 0xfffffffffffffff8
mov rbx, rdx
lea rax, [r11 + r8]
sub rbx, r8
mov rdi, rcx
sub rdi, r8
nop
movq xmm1, qword [rax + rbx]
add r11, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r11, r10
jb 0x1801d7c50
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r11, r9
jae 0x1801d7ca6
sub rdx, r8
lea r10, [r11 + r8]
sub rcx, r8
sub r9, r11
nop word [rax + rax]
movzx eax, byte [r10 + rdx]
xor al, byte [r10]
mov byte [rcx + r10], al
lea r10, [r10 + 1]
sub r9, 1
jne 0x1801d7c90
add rsp, 8
ret
Function at 0x1801d7cb0
Capabilities:
Encode data using xor

Disassembly:
mov r9, r8
xor r11d, r11d
mov r10, rdx
mov r8d, r11d
cmp r9, 8
jb 0x1801d7ce7
mov rdx, r9
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r9, rax
mov rax, qword [rcx]
add rcx, 8
xor rax, qword [r10]
add r10, 8
or r8, rax
sub rdx, 1
jne 0x1801d7cd0
mov rdx, r8
shr rdx, 0x20
or edx, r8d
mov r8d, edx
mov eax, edx
shr r8d, 8
or r8d, edx
shr eax, 0x10
and r8d, 0xff00
or r8d, eax
movzx eax, dl
shr r8d, 8
or r8d, eax
test r9, r9
je 0x1801d7dd8
sub rcx, r10
cmp r9, 8
jb 0x1801d7db9
mov rax, r9
lea rdx, [r10 + 4]
and rax, 0xfffffffffffffff8
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [rcx + rdx - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
add r11, 8
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rcx + rdx - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp r11, rax
jb 0x1801d7d40
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
or r8d, eax
cmp r11, r9
jae 0x1801d7dd8
add r10, r11
sub r9, r11
nop
movzx edx, byte [rcx + r10]
movzx eax, byte [r10]
lea r10, [r10 + 1]
xor edx, eax
or r8d, edx
sub r9, 1
jne 0x1801d7dc0
test r8d, r8d
sete al
ret
Function at 0x1801e1570
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm0, xmmword [rcx]
lea r11d, [r8 - 1]
xorps xmm0, xmmword [rdx]
mov r9d, 1
movdqu xmmword [rcx], xmm0
mov r10, rcx
cmp r11d, r9d
jbe 0x1801e15bc
nop dword [rax]
mov eax, r9d
lea ecx, [r9 + 1]
add rax, rax
add rcx, rcx
add r9d, 2
aesenc xmm0, xmmword [rdx + rax*8]
movdqu xmmword [r10], xmm0
aesenc xmm0, xmmword [rdx + rcx*8]
movdqu xmmword [r10], xmm0
cmp r9d, r11d
jb 0x1801e1590
mov eax, r11d
add rax, rax
aesenc xmm0, xmmword [rdx + rax*8]
movdqu xmmword [r10], xmm0
mov eax, r8d
add rax, rax
aesenclast xmm0, xmmword [rdx + rax*8]
movdqu xmmword [r10], xmm0
ret

Function at 0x1801e15e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov rbx, qword [rsp + 0x28]
mov r10, rcx
mov edi, dword [rsp + 0x30]
movdqu xmm2, xmmword [rbx]
movdqa xmm0, xmm2
movdqa xmm1, xmm2
xorps xmm0, xmmword [rcx]
movdqu xmmword [rcx], xmm0
movdqa xmm0, xmm2
xorps xmm1, xmmword [rdx]
movdqu xmmword [rdx], xmm1
xorps xmm0, xmmword [r8]
movdqu xmmword [r8], xmm0
xorps xmm2, xmmword [r9]
movdqu xmmword [r9], xmm2
cmp edi, 1
jbe 0x1801e167b
lea rcx, [rbx + 0x10]
lea r11d, [rdi - 1]
movdqu xmm2, xmmword [rcx]
lea rcx, [rcx + 0x10]
movdqu xmm0, xmmword [r10]
aesenc xmm0, xmm2
movdqu xmmword [r10], xmm0
movdqu xmm1, xmmword [rdx]
aesenc xmm1, xmm2
movdqu xmmword [rdx], xmm1
movdqu xmm0, xmmword [r8]
aesenc xmm0, xmm2
movdqu xmmword [r8], xmm0
movdqu xmm1, xmmword [r9]
aesenc xmm1, xmm2
movdqu xmmword [r9], xmm1
sub r11, 1
jne 0x1801e1633
movdqu xmm0, xmmword [r10]
mov rax, rdi
mov rdi, qword [rsp + 0x10]
add rax, rax
movdqu xmm2, xmmword [rbx + rax*8]
mov rbx, qword [rsp + 8]
aesenclast xmm0, xmm2
movdqu xmmword [r10], xmm0
movdqu xmm1, xmmword [rdx]
aesenclast xmm1, xmm2
movdqu xmmword [rdx], xmm1
movdqu xmm0, xmmword [r8]
aesenclast xmm0, xmm2
movdqu xmmword [r8], xmm0
movdqu xmm1, xmmword [r9]
aesenclast xmm1, xmm2
movdqu xmmword [r9], xmm1
ret

Function at 0x1801e2040
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x180717100]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
movzx edi, dl
mov rbx, rcx
mov eax, 1
lock xadd dword [0x180722df8], eax
inc eax
cmp eax, 1
jne 0x1801e208f
mov ecx, 2
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [0x180722dfc], eax
test dil, dil
je 0x1801e20a2
xor eax, eax
lock xadd dword [0x180722dfc], eax
test eax, eax
jne 0x1801e20c6
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.18027f010
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1e0
pop rdi
ret
mov dword [rsp + 0x20], eax
call fcn.1801e1d10
lea rdx, str.winsock
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
call fcn.1801e1c80
int3