joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000bed0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000bef8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000bf1e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000bf20
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000bf79
test ecx, ecx
jle 0x14000bf59
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000bf79
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000bf79
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14000bfa0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000bfc2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000bfd8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000bff4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000bff6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000c032
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000c0ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000c06d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000c0ae
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000c0ce
cmp rbx, rax
ja 0x14000c080
test rbx, rbx
je 0x14000c0ce
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14000c4f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000c51d
xor eax, eax
jmp 0x14000c67a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14000c548
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14000c548
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000c67a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000c66d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000c58b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14000c5b6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000c672
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000c625
sub eax, 1
je 0x14000c625
cmp eax, 2
jne 0x14000c66d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000c672
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000c653
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000c66d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000c672
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001f060
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x14000c8b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000c8e4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14000c8d0
ret
Function at 0x14000d3d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14002c028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000d4a3
cmp byte [rcx + 0x71], 0
je 0x14000d4a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000d49f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000d464
sub eax, 1
je 0x14000d468
cmp eax, 2
jne 0x14000d49f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f060
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000d496
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000d49f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000d44c
xor al, al
jmp 0x14000d44c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f060
add rsp, 0x60
pop rbx
ret
Function at 0x140012dd0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140012e9c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140012e9c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140012eb5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140012e8c
cmp byte [rax], 0x5c
jne 0x140012e86
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140012e86
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140012e72
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140012e83
test r8b, 0x10
jne 0x140012e86
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140012e86
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000f920
test edi, edi
jne 0x140012df0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000f910
int3
Function at 0x14001fbf0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
movabs rbx, 0xc6a4a7935bd1e995
mov rax, rdx
imul rax, rbx
mov r11, rcx
mov r9, rdx
mov ecx, 0xe17a1465
shr r9, 3
xor rax, rcx
xor r8d, r8d
mov r10, rdx
test r9, r9
je 0x140009935
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r11 + r8*8]
inc r8
imul rcx, rbx
mov rdx, rcx
shr rdx, 0x2f
xor rdx, rcx
imul rdx, rbx
xor rax, rdx
imul rax, rbx
cmp r8, r9
jb 0x140009910
and r10d, 7
dec r10
cmp r10, 6
ja case.default.0x140009954
lea rdx, [0x140000000]
mov ecx, dword [rdx + r10*4 + 0x99c0]
add rcx, rdx
jmp rcx
movzx ecx, byte [r11 + r9*8 + 6]
shl rcx, 0x30
xor rax, rcx
movzx ecx, byte [r11 + r9*8 + 5]
shl rcx, 0x28
xor rax, rcx
movzx ecx, byte [r11 + r9*8 + 4]
shl rcx, 0x20
xor rax, rcx
movzx ecx, byte [r11 + r9*8 + 3]
shl rcx, 0x18
xor rax, rcx
movzx ecx, byte [r11 + r9*8 + 2]
shl rcx, 0x10
xor rax, rcx
movzx ecx, byte [r11 + r9*8 + 1]
shl rcx, 8
xor rax, rcx
movzx ecx, byte [r11 + r9*8]
xor rax, rcx
imul rax, rbx
mov rbx, qword [rsp + 8]
mov rcx, rax
shr rcx, 0x2f
xor rax, rcx
ret
Function at 0x14000b010
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rdi
sub rsp, 0x18
mov rbx, qword [rcx + 0x418]
mov rdi, rcx
sub rbx, qword [rcx + 0x410]
sar rbx, 2
cmp rbx, 1
jbe 0x14000b276
mov qword [rsp + 0x38], rbp
lea rbp, [rbx - 1]
mov qword [rsp + 0x40], rsi
mov qword [rsp], r15
xor r15d, r15d
mov esi, r15d
test rbp, rbp
je 0x14000b268
mov qword [rsp + 0x10], r12
movabs r12, 0x38eb3ffff6d3
mov qword [rsp + 8], r14
movabs r14, 0xb5026f5aa96619e9
nop word [rax + rax]
mov ecx, dword [rdi + 0x458]
cmp ecx, 0x138
jne 0x14000b0e8
lea rax, [rdi + 0x468]
mov r9d, ecx
nop dword [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, r14
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x14000b0a0
mov ecx, dword [rdi + 0x458]
jmp 0x14000b1e0
cmp ecx, 0x270
jb 0x14000b1e0
lea r10, [rdi + 0xe20]
mov r11d, 0x9c
mov rax, qword [r10]
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [r10 + 8]
lea r8, [r10 + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x14000b110
lea r10, [rdi + 0x1300]
mov r11d, 0x9b
mov rax, qword [r10]
nop
mov rdx, rax
lea r8, [r10 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r10 - 0xea0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub r11, 1
jne 0x14000b160
mov edx, dword [rdi + 0x17d8]
xor edx, dword [rdi + 0x460]
btr edx, 0x1f
xor rdx, qword [rdi + 0x17d8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [rdi + 0x938]
xor rcx, rdx
mov qword [rdi + 0xe18], rcx
mov ecx, r15d
mov dword [rdi + 0x458], r15d
mov eax, ecx
mov rdx, qword [rdi + rax*8 + 0x460]
lea eax, [rcx + 1]
mov dword [rdi + 0x458], eax
mov rcx, rdx
mov rax, qword [rdi + 0x17e0]
shr rcx, 0x1d
and rax, rcx
xor rdx, rax
mov rax, rdx
and rax, r12
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rbx
sub rax, rsi
mov rcx, rdx
shr rcx, 0x2b
xor rcx, rdx
mul rcx
mov rcx, qword [rdi + 0x410]
lea rax, [rdx + rsi]
mov edx, dword [rcx + rsi*4]
lea r8, [rcx + rax*4]
mov eax, dword [rcx + rax*4]
mov dword [rcx + rsi*4], eax
inc rsi
mov dword [r8], edx
cmp rsi, rbp
jb 0x14000b080
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov r15, qword [rsp]
add rsp, 0x18
pop rdi
pop rbx
ret
Function at 0x1400121c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov eax, dword [rcx]
mov r11, rcx
mov edi, 0x2710
movabs rsi, 0xb5026f5aa96619e9
cmp eax, 0x138
jne 0x140012245
lea rax, [r11 + 0x10]
mov r9d, 0x138
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, rsi
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x140012200
mov eax, dword [r11]
jmp 0x140012327
cmp eax, 0x270
jb 0x140012327
lea r10, [r11 + 0x9c8]
mov ebx, 0x9c
mov rax, qword [r10]
nop
mov rdx, qword [r10 + 8]
lea r8, [r10 + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub rbx, 1
jne 0x140012260
lea r10, [r11 + 0xea8]
mov ebx, 0x9b
mov rax, qword [r10]
nop
mov rdx, rax
lea r8, [r10 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r10 - 0xea0]
xor rcx, rdx
mov qword [r10 - 0x9c0], rcx
lea r10, [r8]
sub rbx, 1
jne 0x1400122b0
mov edx, dword [r11 + 0x1380]
xor edx, dword [r11 + 8]
btr edx, 0x1f
xor rdx, qword [r11 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, rsi
xor rcx, qword [r11 + 0x4e0]
xor rcx, rdx
mov qword [r11 + 0x9c0], rcx
xor eax, eax
inc eax
mov dword [r11], eax
sub rdi, 1
jne 0x1400121e3
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140012350
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x1400123c2
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140012380
mov ecx, dword [r10]
jmp 0x1400124c3
cmp ecx, 0x270
jb 0x1400124c3
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x1400123f0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x140012440
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret

Function at 0x140012f40
Capabilities:
Encode data using xor

Disassembly:
movabs rax, 0x5555555555555555
lea r9, [rcx + 0x10]
mov r8d, 0x1571
mov qword [rcx + 0x1388], rax
mov qword [rcx + 8], r8
mov edx, 1
movabs r10, 0x5851f42d4c957f2d
nop
mov rax, r8
lea r9, [r9 + 8]
shr rax, 0x3e
xor r8, rax
imul r8, r10
add r8, rdx
inc rdx
mov qword [r9 - 8], r8
cmp rdx, 0x138
jb 0x140012f70
mov dword [rcx], 0x138
mov rax, rcx
ret
Function at 0x14001b440
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401d4770]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, rcx
lea r12, [0x1401a41e0]
lea rcx, [0x1401a41ff]
xor ebx, ebx
mov rsi, rdx
mov rdi, r8
sub rsi, rcx
mov r14, rdx
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0xc8
inc ebx
call fcn.140145ba0
xor r9d, r9d
xor edx, edx
nop dword [rax]
mov eax, r9d
cmp r9d, 0x4d
jae 0x14001b4c0
movzx r8d, byte [rdi + rdx]
jmp 0x14001b4cf
shl al, 3
mov r8d, ebx
lea ecx, [rax + 0x98]
shr r8d, cl
mov byte [rbp + rdx + 0x110], r8b
inc r9d
inc rdx
cmp rdx, 0x51
jl 0x14001b4b0
xorps xmm0, xmm0
mov byte [rbp + 0x161], 1
xor eax, eax
mov word [rbp + 0x196], ax
mov byte [rbp + 0x197], 0x80
movups xmmword [rbp + 0x162], xmm0
mov dword [rbp + 0x192], eax
movups xmmword [rbp + 0x172], xmm0
movups xmmword [rbp + 0x182], xmm0
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax*8 - 0x10]
movdqu xmm1, xmmword [rbp + rax*8 + 0x110]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax*8 - 0x10], xmm1
movdqu xmm0, xmmword [rbp + rax*8]
movdqu xmm1, xmmword [rbp + rax*8 + 0x120]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax*8], xmm1
movdqu xmm0, xmmword [rbp + rax*8 + 0x10]
movdqu xmm1, xmmword [rbp + rax*8 + 0x130]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax*8 + 0x10], xmm1
movdqu xmm0, xmmword [rbp + rax*8 + 0x20]
movdqu xmm1, xmmword [rbp + rax*8 + 0x140]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax*8 + 0x20], xmm1
add rax, 8
cmp rax, 0x10
jl 0x14001b520
cmp rax, 0x11
jge 0x14001b5b9
lea rax, [rax*8]
nop dword [rax]
mov rcx, qword [rbp + rax + 0x110]
xor qword [rbp + rax - 0x10], rcx
add rax, 8
cmp rax, 0x88
jl 0x14001b5a0
lea rcx, [rbp - 0x10]
call fcn.1400244c0
movups xmm0, xmmword [rbp - 0x10]
mov ecx, 0x1f
movups xmm1, xmmword [rbp]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
nop dword [rax + rax]
lea rax, [rcx + r12]
movzx edx, byte [rsi + rax + 0x1f]
cmp dl, byte [rax]
jb 0x14001b5fe
ja 0x14001b491
sub rcx, 1
jns 0x14001b5e0
jmp 0x14001b491
mov rcx, r14
call fcn.140007830
mov rcx, r14
call fcn.140008000
test eax, eax
je 0x14001b491
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.1400051c0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.140001fd0
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0xe8]
call fcn.140002340
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xc0]
call fcn.140002340
lea rdx, [rbp + 0xc0]
mov rcx, r15
call fcn.1400037e0
lea rdx, [rbp + 0xe8]
lea rcx, [rbp - 0x40]
call fcn.1400037e0
movzx eax, byte [rbp - 0x40]
shl al, 7
xor byte [r15 + 0x1f], al
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140140c60
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140024b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rdx], 0x88
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
jl 0x140024c93
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
lea rbp, [r8 + 0x80]
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rax, [rcx + 0x80]
cmp rbx, rax
ja 0x140024bc3
cmp rbp, rcx
jae 0x140024c39
cmp rbx, rdi
ja 0x140024bcd
cmp rbp, rdi
jae 0x140024c39
mov edx, reloc.WS2_32.dll_recv
lea rax, [rbx + 0x10]
sub rcx, rbx
lea r8d, [rdx - 0xe]
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rcx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rcx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub r8, 1
jne 0x140024be0
mov r8d, reloc.WS2_32.dll_recvfrom
lea rax, [rbx + rdx*8]
sub r8, rdx
nop word [rax + rax]
mov rcx, qword [rdi]
mov rdx, rax
sub rdx, rbx
mov rdx, qword [rdx + rcx]
xor qword [rax], rdx
add rax, 8
sub r8, 1
jne 0x140024c50
mov rcx, rbx
call fcn.1400244c0
add dword [rsi], 0xffffff78
add qword [rdi], 0x88
cmp dword [rsi], 0x88
mov rcx, qword [rdi]
jge 0x140024bb0
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret