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

Disassembly:
test r8d, r8d
jle 0x14001e079
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14015e098]
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, [0x1400eb8c0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x14001e041
mov rcx, rbp
call fcn.14001d570
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x14001defe
lea rcx, [rbp + 0x2f80]
call fcn.140007300
mov rcx, rax
jmp 0x14001df00
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 + 0xb0], 0xfffffe49
or dword [rbx + 0xb0], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
test rcx, rcx
je 0x14001df91
cmp qword [rcx + 0x18], 0
jne 0x14001df86
mov qword [rcx + 0x18], rbx
jmp 0x14001df91
cmp qword [rcx + 0x20], 0
jne 0x14001df91
mov qword [rcx + 0x20], rbx
mov eax, dword [rdi - 0xc]
mov rcx, rbx
mov dword [rbx + 0xa8], 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 0x14001dfcc
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14001dfc0
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, reloc.WS2_32.dll_sendto
call fcn.140006b90
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x14001e028
cmp r9b, 0x23
jne 0x14001e00b
cmp byte [r8], r9b
jne 0x14001e00b
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 0x14001dff8
mov rcx, qword [0x1408509f0]
not edx
add rcx, 0x1b78
call fcn.140007300
mov qword [rbx + 0x78], rax
add rdi, 0x24
sub rsi, 1
jne 0x14001ded0
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.1400d64d0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14001eb40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rbx, rcx
mov rbp, qword [0x1408509f0]
test rax, rax
je 0x14001eb68
mov eax, dword [rax + 4]
mov dword [rcx + 4], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14001eb76
call fcn.14001eb40
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001eb84
call fcn.14001eb40
mov r9d, dword [rbx + 0x28]
xor esi, esi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], r14
test r9d, r9d
jle 0x14001ec66
mov r14d, esi
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x9c]
mov ecx, dword [rbp + 0x1b18]
inc r8d
mov rdi, qword [r14 + rax]
cmp r8d, ecx
jne 0x14001ebcd
mov eax, dword [rdi + 0x2d8]
inc eax
cmp eax, ecx
jge 0x14001ebcd
mov dl, 1
jmp 0x14001ebd4
xor dl, dl
cmp r8d, ecx
jne 0x14001ebfc
test byte [rbx + 0xb4], 0x20
jne 0x14001ebe8
mov eax, dword [rdi + 8]
cmp dword [rbx + 0xac], eax
jne 0x14001ebfc
cmp byte [rdi + 0xc8], 0
je 0x14001ebfc
test dword [rdi + 0xc], 0x100000
jne 0x14001ebfc
mov dl, 1
movzx ecx, byte [rdi + 0x472]
movzx eax, cl
shr al, 2
and al, 1
or al, dl
je 0x14001ec46
and cl, 0xfb
mov byte [rdi + 0x472], cl
cmp dword [rbx + 0x28], 1
jne 0x14001ec2c
mov eax, dword [rbx + 8]
shr eax, 0xb
test al, 1
je 0x14001eccc
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
call fcn.14001e700
mov r9d, dword [rbx + 0x28]
dec esi
sub r14, 8
jmp 0x14001ec57
mov eax, dword [rdi + 0x28]
not eax
and dword [rbx + 8], eax
mov eax, dword [rbx + 8]
or eax, dword [rdi + 0x24]
mov dword [rbx + 8], eax
inc esi
add r14, 8
cmp esi, r9d
jl 0x14001eba0
movzx edx, byte [rbx + 0xb5]
movzx ecx, dl
test dl, 1
je 0x14001ec95
cmp r9d, 1
jne 0x14001ec95
mov r8d, dword [rbx + 8]
mov eax, r8d
or eax, dword [rbx + 4]
test al, 0x40
je 0x14001ec95
shr r8d, 0xd
test r9b, r8b
jne 0x14001ec95
or cl, 2
and cl, 0xfe
mov byte [rbx + 0xb5], cl
movzx eax, cl
test cl, 2
je 0x14001ecbd
mov rdx, qword [rbx + 0x80]
test rdx, rdx
je 0x14001ecbd
test dword [rdx + 0x24], 0x2000
je 0x14001ecbd
and al, 0xfd
cmp r9d, 1
jle 0x14001eceb
and dword [rbx + 8], 0xffffdfff
jmp 0x14001ecf6
mov rcx, rbx
call fcn.14001ea60
mov r8d, dword [rbx]
mov rdx, rdi
mov rcx, rbx
mov dword [rbx + 0xc], 1
call fcn.14001e700
jmp 0x14001ed5c
test al, 2
je 0x14001ecf6
xor dword [rbx + 8], 0x2000
mov ecx, dword [rbx + 8]
and al, 0xfd
mov byte [rbx + 0xb5], al
mov eax, ecx
shr eax, 0xb
shr ecx, 0xa
cmp qword [rbx + 0x10], 0
movzx eax, al
movzx edx, cl
cmovne edx, eax
test r9d, r9d
setg al
or dl, al
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14001ed33
test byte [rax + 0xb4], 1
je 0x14001ed33
mov dl, 1
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x14001ed49
test byte [rax + 0xb4], 1
je 0x14001ed49
mov al, 1
jmp 0x14001ed4b
xor al, al
and byte [rbx + 0xb4], 0xfe
or al, dl
and al, 1
or byte [rbx + 0xb4], al
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
Function at 0x140025c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140025c74
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140025c60
ret
Function at 0x14004a940
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r10, rdx
test r8, r8
je 0x14004a9cb
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14004a9a0
lea r10, [0x1400eb8c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14004a983
cmp byte [r8], r9b
jne 0x14004a983
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 0x14004a970
mov rcx, qword [0x1408509f0]
not eax
cmp dword [rcx + 0x1be8], eax
jne 0x14004a9b7
mov dword [rcx + 0x1bec], eax
cmp dword [rcx + 0x1c28], eax
jne 0x14004aa1d
mov byte [rcx + 0x1c2c], 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rbx
xor edx, edx
mov rbx, qword [0x1408509f0]
mov rax, qword [rbx + 0x1b90]
movsxd rcx, dword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r10
call fcn.140006ca0
cmp dword [rbx + 0x1be8], eax
jne 0x14004aa09
mov dword [rbx + 0x1bec], eax
cmp dword [rbx + 0x1c28], eax
jne 0x14004aa18
mov byte [rbx + 0x1c2c], 1
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x14004f180
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 0x3e8
mov dword [0x140850e08], 0x29
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14004f8e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
xor r8d, r8d
mov dword [rbp - 9], 0xf073f072
mov eax, r8d
mov dword [rbp - 5], 0xf06df01e
mov dword [rbp - 1], 0xf006f042
mov edx, 0xfd2
mov dword [rbp + 3], 0xf00df003
mov dword [rbp + 7], 0xf005f00f
mov dword [rbp + 0xb], 0xf00af05a
mov dword [rbp + 0xf], 0xf016f00a
mov dword [rbp + 0x13], 0xf00ef008
mov dword [rbp + 0x17], 0xf00bf05d
mov dword [rbp + 0x1b], 0xf075f06d
mov dword [rbp + 0x1f], 0xf026f07b
mov dword [rbp + 0x23], 0xf068f022
mov dword [rbp + 0x27], 0xf070f07e
mov dword [rbp + 0x2b], 0xf02ff07b
mov dword [rbp + 0x2f], 0xf02df067
mov dword [rbp + 0x33], 0xf07cf02f
mov dword [rbp + 0x37], 0xf079f07f
mov dword [rbp + 0x3b], 0xf068f066
mov dword [rbp + 0x3f], 0xf065f061
mov dword [rbp + 0x43], 0xf067f036
mov dword [rbp + 0x47], 0xf067
mov byte [rbp + 0x4b], 1
movzx ecx, ax
sub cx, dx
xor word [rbp + rax*2 - 9], cx
inc rax
cmp rax, 0x29
jb 0x14004f990
mov qword [rsp + 0x30], r8
lea rcx, [rbp - 9]
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov byte [rbp + 0x4b], r8b
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140850a08], rax
dec rax
cmp rax, 0xfffffffffffffffd
setbe al
add rsp, 0xa0
pop rbp
ret
Function at 0x14005d740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, edx
mov r9d, edx
and r10d, 7
je 0x14005d7cd
cmp edx, r10d
jge 0x14005d7be
mov r9d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r8d, edx
shl eax, cl
cmp r9d, eax
jae 0x14005d7b7
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x14005d782
xor cl, cl
jmp 0x14005d78b
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r8 + 8]
mov ecx, r8d
mov dword [rbx + 0x10], edx
shl eax, cl
or r9d, eax
mov dword [rbx + 0x14], r9d
cmp edx, 0x18
jg 0x14005d7be
mov ecx, edx
mov eax, 1
shl eax, cl
mov r8d, edx
cmp r9d, eax
jb 0x14005d776
mov rax, qword [rbx + 8]
mov qword [rbx], rax
mov ecx, r10d
shr dword [rbx + 0x14], cl
sub edx, r10d
mov dword [rbx + 0x10], edx
mov r9d, edx
xor r10d, r10d
test edx, edx
jle 0x14005d802
mov ecx, dword [rbx + 0x14]
lea r8, [rsp + 0x30]
nop dword [rax]
movzx eax, byte [rbx + 0x14]
lea edx, [r9 - 8]
shr ecx, 8
inc r10d
mov byte [r8], al
lea r8, [r8 + 1]
mov dword [rbx + 0x14], ecx
mov r9d, edx
test edx, edx
jg 0x14005d7e0
mov dword [rbx + 0x10], edx
jns 0x14005d828
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r10d
cmp rcx, 4
jge 0x14005d857
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x14005d841
xor dl, dl
jmp 0x14005d84a
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x14005d838
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x14005d804
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x14005d8c1
mov rax, qword gs:[0x58]
mov edx, Ordinal_41
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x14005d8db
mov rcx, rbx
call fcn.14005cbe0
test eax, eax
je 0x14005d8b4
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x14006ec80
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 case.default.0x14006ecb0
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 0x14006ecd8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14006ecda
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14006ed33
test ecx, ecx
jle 0x14006ed13
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 0x14006ed33
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14006ed33
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
sahf
jmp 0xc3e216d7
Function at 0x14006ed60
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 0x14006ed82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14006ed91
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 0x14006edb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006edb6
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x14006edf0
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 0x14006ee97
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x14006ee2b
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 0x14006ee71
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 0x14006eeb0
cmp rbx, rax
ja 0x14006ee40
mov r8, rdi
test rdi, rdi
je 0x14006ee97
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 0x14006ee9a
invalid
Function at 0x14006f2c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14015e098]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14006f2ed
xor eax, eax
jmp 0x14006f442
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x14006f318
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x14006f318
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 0x14006f442
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14006f435
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14006f35b
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 0x14006f386
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 0x14006f43a
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 0x14006f3f5
sub eax, 1
je 0x14006f3f5
cmp eax, 2
jne 0x14006f435
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 0x14006f43a
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14006f423
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 0x14006f435
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14006f43a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400d64d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14006fd10
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14015e098]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14006fde3
cmp byte [rcx + 0x71], 0
je 0x14006fde3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14006fddf
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 0x14006fda4
sub eax, 1
je 0x14006fda8
cmp eax, 2
jne 0x14006fddf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d64d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14006fdd6
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 0x14006fddf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14006fd8c
xor al, al
jmp 0x14006fd8c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d64d0
add rsp, 0x60
pop rbx
ret
Function at 0x140071df0
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 0x140071e24
mov eax, esi
lea ecx, [rax - 0xd]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x140071e10
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 0x140071e59
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140026700
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140071e67
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140080860
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 0x140071ede
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071ed9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140071ed9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140071ef0
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 + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x140071f24
mov ecx, esi
lea eax, [rcx - 0xd]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140071f10
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x140071f59
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140026700
nop
cmp byte [rbx + 0xa], 0
je 0x140071f83
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0xd]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x140071f70
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x140071fb8
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140026700
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140077fc0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140072011
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007200b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007200b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140072051
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007204c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007204c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140072060
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 0x140072094
mov eax, esi
lea ecx, [rax - 0xd]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140072080
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 0x1400720c9
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140026700
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400720d7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140080860
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 0x14007214e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140072149
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140072149
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d6d80
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret