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

Disassembly:
test r8d, r8d
jle 0x14001ae6c
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x1400fc060]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1400c6680]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x14001ae34
mov rcx, rbp
call fcn.14001a360
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14001acee
lea rcx, [rbp + 0x31c0]
call fcn.140003900
mov rcx, rax
jmp 0x14001acf0
xor ecx, ecx
mov qword [rbx + 0x10], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x40], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x44], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xb8], 0xfffffe49
or dword [rbx + 0xb8], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001ad81
cmp qword [rcx + 0x18], 0
jne 0x14001ad76
mov qword [rcx + 0x18], rbx
jmp 0x14001ad81
cmp qword [rcx + 0x20], 0
jne 0x14001ad81
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xb0], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x58], eax
mov eax, dword [rdi - 4]
and eax, 0x61fc20
or dword [rbx + 8], eax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14001adbc
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001adb0
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.140003190
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x14001ae18
cmp r9b, 0x23
jne 0x14001adfb
cmp byte [r8], r9b
jne 0x14001adfb
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x14001ade8
mov rcx, qword [0x1401810b0]
not edx
add rcx, 0x1cf8
call fcn.140003900
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001acc0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b3be0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x140043180
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x14004320b
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400431e0
lea r10, [0x1400c6680]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400431c3
cmp byte [r8], r9b
jne 0x1400431c3
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 [r10 + rdx*4]
test r9b, r9b
jne 0x1400431b0
mov rcx, qword [0x1401810b0]
not eax
cmp dword [rcx + 0x1d6c], eax
jne 0x1400431f7
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x14004325d
mov byte [rcx + 0x1dac], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x1401810b0]
mov rax, qword [rbx + 0x1d18]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.1400032a0
cmp dword [rbx + 0x1d6c], eax
jne 0x140043249
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], eax
jne 0x140043258
mov byte [rbx + 0x1dac], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x140046d30
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov r11, rsp
sub rsp, 0x108
movups xmm0, xmmword [0x1400e9750]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm1, xmmword [0x1400e9760]
movzx eax, byte [0x1400e97e0]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1400e9770]
movups xmmword [rsp + 0x40], xmm1
movups xmm1, xmmword [0x1400e9780]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400e9790]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1400e97a0]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x1400e97b0]
movups xmmword [rsp + 0x80], xmm1
movups xmm1, xmmword [0x1400e97c0]
movups xmmword [r11 - 0x78], xmm0
movups xmm0, xmmword [0x1400e97d0]
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x68], xmm1
mov byte [r11 - 0x48], al
jl 0x140046f4d
movdqa xmm0, xmmword [0x1400eb180]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x1400eb030]
mov eax, 5
movdqa xmm4, xmmword [0x1400eb5f0]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x1400eb050]
movd xmm6, eax
mov eax, Ordinal_33
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [r11 - 0x38], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400eb0c0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400eb0c0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x90
jl 0x140046e20
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
cmp ecx, 0x91
jge 0x140046f92
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x91
jl 0x140046f60
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x108
ret
Function at 0x14004d8c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13e8
call fcn.1400b4810
sub rsp, rax
mov rax, qword [0x1400fc060]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rax, qword [0x1401812c0]
sub rax, qword [0x1401812b8]
sar rax, 3
cmp rax, 0x12c
jae 0x14004db1b
mov qword [rsp + 0x13f0], rbx
mov qword [rsp + 0x13e0], rdi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13c4], 0xffffffff
mov edx, 1
mov dword [rsp + 0x44], eax
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x14004d930
mov rax, qword [0x1401812c0]
mov edi, 0x1f4
sub rax, qword [0x1401812b8]
xor ebx, ebx
sar rax, 3
sub edi, eax
mov dword [rsp + 0x40], 0x270
test edi, edi
jle 0x14004db0b
mov qword [rsp + 0x13f8], rsi
lea esi, [rbx - 1]
lea rcx, [rsp + 0x40]
call fcn.140053b80
mov r8d, eax
mov eax, 0xf2805af1
mul r8d
shr edx, 0xa
cmp edx, 0x3ca016
jae 0x14004d985
mov eax, 0xf2805af1
mul r8d
shr edx, 0xa
imul ecx, edx, 0x439
sub r8d, ecx
movd xmm1, r8d
cvtdq2ps xmm1, xmm1
lea rcx, [rsp + 0x40]
call fcn.140053b80
mov r8d, eax
mov eax, 0x4b9e32d9
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 0xa
cmp ecx, 0x2973c6
jae 0x14004d9c1
mov eax, 0x4b9e32d9
movss dword [rsp + 0x28], xmm1
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
mov rdx, qword [0x1401812c0]
shr eax, 0xa
imul eax, eax, 0x62d
sub r8d, eax
cmp rdx, qword [0x1401812c8]
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
je 0x14004da3f
movsd xmm0, qword [rsp + 0x24]
movsd qword [rdx], xmm0
add qword [0x1401812c0], 8
jmp 0x14004da50
lea r8, [rsp + 0x24]
lea rcx, [0x1401812b8]
call fcn.140052ba0
lea rcx, [rsp + 0x40]
call fcn.140053b80
and eax, 1
lea rcx, [rsp + 0x40]
lea eax, [rax*2 - 1]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
call fcn.140053b80
mov rdx, qword [0x1401812d8]
test al, 1
mov eax, 1
cmove eax, esi
cmp rdx, qword [0x1401812e0]
movss dword [rsp + 0x30], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x2c], xmm0
je 0x14004dab6
movsd xmm0, qword [rsp + 0x2c]
movsd qword [rdx], xmm0
add qword [0x1401812d8], 8
jmp 0x14004dac7
lea r8, [rsp + 0x2c]
lea rcx, [0x1401812d0]
call fcn.140052ba0
mov rdx, qword [0x140181370]
cmp rdx, qword [0x140181378]
mov dword [rsp + 0x20], 3
je 0x14004daef
mov dword [rdx], 3
add qword [0x140181370], 4
jmp 0x14004daf9
lea r8, [rsp + 0x20]
call fcn.1400529f0
inc ebx
cmp ebx, edi
jl 0x14004d985
mov rsi, qword [rsp + 0x13f8]
mov rbx, qword [rsp + 0x13f0]
mov rdi, qword [rsp + 0x13e0]
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.1400b3be0
add rsp, 0x13e8
ret
Function at 0x140051140
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140051177
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140051198
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005119a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400511f3
test ecx, ecx
jle 0x1400511d3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400511f3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400511f3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140051220
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 0x140051242
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140051258
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 0x140051274
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140051276
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x1400512b0
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]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140051357
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x1400512eb
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140051331
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]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140051370
cmp rbx, rax
ja 0x140051300
mov r8, rdi
test rdi, rdi
je 0x140051357
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]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x14005135a
Function at 0x140051780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400fc060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400517ad
xor eax, eax
jmp 0x140051902
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400517d8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400517d8
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 0x140051902
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400518f5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14005181b
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 0x140051846
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 0x1400518fa
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 0x1400518b5
sub eax, 1
je 0x1400518b5
cmp eax, 2
jne 0x1400518f5
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 0x1400518fa
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400518e3
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 0x1400518f5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400518fa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400b3be0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140051da0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400fc060]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140051e73
cmp byte [rcx + 0x71], 0
je 0x140051e73
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140051e6f
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 0x140051e34
sub eax, 1
je 0x140051e38
cmp eax, 2
jne 0x140051e6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b3be0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140051e66
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 0x140051e6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140051e1c
xor al, al
jmp 0x140051e1c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b3be0
add rsp, 0x60
pop rbx
ret
Function at 0x140053b80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140053be1
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140053ba0
mov ecx, dword [r10]
jmp 0x140053cca
cmp ecx, 0x4e0
jb 0x140053cca
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140053c00
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140053c50
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140055d00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140055d23
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140055d10
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x140055d30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140055d64
mov ecx, esi
lea eax, [rcx + 0x5e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140055d50
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], sil
cmp r9, rax
je 0x140055d99
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.140052200
nop
cmp byte [rbx + 0xa], 0
je 0x140055dc3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x5e]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x140055db0
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
cmp rbx, rax
je 0x140055df8
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140052200
nop
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14005b980
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140055e4c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055e46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055e46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b4188
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140055e8c
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055e87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055e87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b4188
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140055ea0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140055ed4
mov ecx, esi
lea eax, [rcx + 0x5e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140055ec0
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x140055f09
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140052200
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140055f17
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.14005c7d0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140055f8c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055f87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055f87
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b4188
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140055fa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140055fd4
mov ecx, esi
lea eax, [rcx + 0x5e]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x140055fc0
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x140056009
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140052200
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140056017
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x20]
call fcn.14005c7d0
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14005608c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056087
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056087
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b4188
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400560a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x1400560c8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x5e]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x1400560b0
mov byte [rcx + 0x136], 0
mov rax, rcx
ret