joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6de97830
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6de97840
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6de97850
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6de97891
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6de97888
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6de97893
add rax, 0x28
cmp rax, r9
jne 0x6de97874
xor eax, eax
ret

Function at 0x6de97930
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6deb41f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6de9799d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6de9799d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6de9799d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6de97994
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6de9799f
add rax, 0x28
cmp rax, r9
jne 0x6de97980
xor eax, eax
add rsp, 0x28
ret

Function at 0x6de97aa0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6deb41f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6de97ac0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6de97ab8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6de97b1d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6de97b14
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6de97b24
add rax, 0x28
cmp rax, r9
jne 0x6de97b00
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6de97b40
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6deb41f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6de97bae
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6de97bae
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6de97bae
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6de97bae
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6de97ba5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6de97bb5
add rcx, 0x28
cmp rcx, rax
jne 0x6de97b90
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6de97bc8
jmp 0x6de97bae
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6de97bd6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6de97bae
test r9d, r9d
jg 0x6de97bc0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6de97f40
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x6d7ebe00
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d80d5e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d7ebf88
mov rax, qword [0x6d80d5e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d7ebe4c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d7ebed5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d7ebe30
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d7ebfbd
mov rax, qword [0x6d80d5e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d80d5e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d7ebfa0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d7ebece
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d7ebf30
add dword [0x6d80d5e4], 1
cmp edi, 8
jae 0x6d7ebf03
test dil, 4
jne 0x6d7ebf74
test edi, edi
je 0x6d7ebef8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d7ebf8f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d7ebef8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d7ebf1c
jmp 0x6d7ebef8
add rsi, qword [0x6d80d5e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d7ebece
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d7ebef8
xor esi, esi
jmp 0x6d7ebe57
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d7ebef8
mov rax, qword [0x6d80d5e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d7ec710
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d80d8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d80d8a0]
test rbx, rbx
je 0x6d7ec764
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d7ec75b
test rsi, rsi
je 0x6d7ec75b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d7ec740
lea rcx, [0x6d80d8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d7ec9a0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7ec9b0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7ec9c0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7eca01
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7ec9f8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7eca03
add rax, 0x28
cmp rax, r9
jne 0x6d7ec9e4
xor eax, eax
ret

Function at 0x6d7ecaa0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d80a1f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7ecb0d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7ecb0d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7ecb0d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7ecb04
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7ecb0f
add rax, 0x28
cmp rax, r9
jne 0x6d7ecaf0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7ecc10
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d80a1f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7ecc30
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7ecc28
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7ecc8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7ecc84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7ecc94
add rax, 0x28
cmp rax, r9
jne 0x6d7ecc70
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7eccb0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d80a1f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7ecd1e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7ecd1e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7ecd1e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7ecd1e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7ecd15
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7ecd25
add rcx, 0x28
cmp rcx, rax
jne 0x6d7ecd00
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7ecd38
jmp 0x6d7ecd1e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7ecd46
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7ecd1e
test r9d, r9d
jg 0x6d7ecd30
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7ed0a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140010f40
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov r9, rdx
movabs rbx, 0xb09f4b5b54f9d446
movabs r8, 0x77b75a2fd2f1a56f
movabs rdi, 0x1c7e1ef5c4d0bbf5
movabs rsi, 0x5851f42d4c957f2d
mov r10, rdx
imul r10, rsi
movabs r11, 0x1e2c617950884790
cmp rdx, 8
jbe 0x140010fdd
cmp r9, 0x10
jbe 0x140010ff2
mov rdx, qword [r9 + rcx - 0x10]
xor rdx, rdi
mov rax, qword [r9 + rcx - 8]
xor rax, r8
mul rdx
add r10, rbx
xor r10, rdx
xor r10, rax
rol r10, 0x17
nop dword [rax + rax]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
add rcx, 0x10
add r9, 0xfffffffffffffff0
xor rdx, rdi
xor rax, r8
mul rdx
add r10, r11
xor r10, rdx
xor r10, rax
rol r10, 0x17
cmp r9, 0x10
ja 0x140010fb0
jmp 0x140011031
cmp r9, 1
jbe 0x140011002
cmp r9, 3
jbe 0x14001100c
mov eax, dword [rcx]
mov ecx, dword [r9 + rcx - 4]
jmp 0x14001101b
xor rdi, qword [rcx]
xor r8, qword [r9 + rcx - 8]
mov rax, r8
mul rdi
jmp 0x140011024
jne 0x140011017
movzx ecx, byte [rcx]
mov rax, rcx
jmp 0x14001101b
movzx eax, word [rcx]
movzx ecx, byte [r9 + rcx - 1]
jmp 0x14001101b
xor ecx, ecx
xor eax, eax
xor rax, rdi
xor rcx, r8
mul rcx
add r10, rbx
xor r10, rdx
xor r10, rax
rol r10, 0x17
xor r10, 0xff
mov rax, r10
mul rsi
mov rcx, rax
xor rcx, rdx
mov rax, rcx
mul r11
xor rax, rdx
rol rax, cl
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400148f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, r8
cmp rcx, 2
jne 0x140014986
movdqa xmm0, xmmword [rdx]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140169010]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002ec70
test rdi, rdi
je 0x140014a06
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140014a1f
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140014b17
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140014b98
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r8, r9
and r8, 7
je 0x140014b24
xor r10d, r10d
movzx r11d, byte [rcx + r10]
xor rax, r11
imul rax, rdx
inc r10
cmp r8, r10
jne 0x1400149e0
add r8, rcx
cmp r9, 8
jae 0x140014b2d
jmp 0x140014b98
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14002ec70
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140014b98
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140014b98
mov r8, rcx
cmp r9, 8
jb 0x140014b98
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140014b30
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140016bf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
test r8d, r8d
je 0x140016d95
mov eax, ebx
shr eax, 5
imul rax, rax, 0xa7c5ac5
shr rax, 0x27
xor ecx, ecx
cmp ebx, 0x186a0
setae cl
lea ecx, [rcx + rcx*4]
cmovb eax, ebx
lea edx, [rax + 0x5fff6]
lea r8d, [rax + 0x7ff9c]
and r8d, edx
lea edx, [rax + 0xdfc18]
add eax, 0x7d8f0
and eax, edx
xor eax, r8d
shr eax, 0x11
add eax, ecx
cmp al, 2
jbe 0x140016d99
xor r15d, r15d
mov r12d, 0xa
lea rax, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899invalid_utf_8_sequenceC:Usersmqnu7.rustup_toolchains_nightly_x86_64_pc_windows_gnulib_rustlib_src_rustlibrarycore_srcio_borrowed_buf.rs__
cmp ebx, 0x2710
jb 0x140016d27
mov r8d, 0xa
mov ecx, 0xd1b71759
nop word cs:[rax + rax]
mov edx, ebx
imul rdx, rcx
shr rdx, 0x2d
imul r9d, edx, 0x2710
mov r10d, ebx
sub r10d, r9d
imul r9d, r10d, 0x147b
shr r9d, 0x13
imul r11d, r9d, 0x64
sub r10d, r11d
movzx r10d, r10w
lea r12, [r8 - 4]
movzx r9d, word [rax + r9*2]
mov word [rsp + r8 + 0x1c], r9w
movzx r9d, word [rax + r10*2]
mov word [rsp + r8 + 0x1e], r9w
mov r8, r12
cmp ebx, 0x5f5e0ff
mov ebx, edx
ja 0x140016c90
mov ecx, edx
cmp edx, 0x63
jbe 0x140016d15
movzx edx, cx
shr edx, 2
imul edx, edx, 0x147b
shr edx, 0x11
imul r8d, edx, 0x64
sub ecx, r8d
movzx ecx, cx
movzx ecx, word [rax + rcx*2]
mov word [rsp + r12 + 0x1e], cx
add r12, 0xfffffffffffffffe
mov rcx, rdx
cmp ecx, 0xa
jae 0x140016d32
add cl, 0x30
mov byte [rsp + r12 + 0x1f], cl
dec r12
jmp 0x140016d40
mov edx, ebx
mov ecx, edx
cmp edx, 0x63
ja 0x140016ceb
jmp 0x140016d15
movzx eax, word [rax + rcx*2]
mov word [rsp + r12 + 0x1e], ax
add r12, 0xfffffffffffffffe
mov ebx, 0xa
sub rbx, r12
mov rax, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
sub rax, r14
cmp rax, rbx
jb 0x140016de1
lea rdx, [rsp + r12]
add rdx, 0x20
mov rcx, qword [rdi]
add rcx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
add r14, rbx
mov qword [rdi + 0x10], r14
add r15, rbx
mov qword [rsi + 8], r15
mov qword [rsi], 0
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov al, 0xff
jmp 0x140016d9b
not al
add al, 4
movzx r15d, al
mov rdx, qword [rdi + 0x10]
mov r14, r15
jmp 0x140016dc7
mov rax, qword [rdi]
mov byte [rax + rdx], 0x30
inc rdx
mov qword [rdi + 0x10], rdx
dec r14
je 0x140016c60
cmp qword [rdi + 8], rdx
jne 0x140016db0
mov r8d, 1
mov rcx, rdi
call fcn.1401639e0
mov rdx, qword [rdi + 0x10]
jmp 0x140016db0
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.1401639e0
mov r14, qword [rdi + 0x10]
jmp 0x140016d5c
Function at 0x140017f40
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movdqa xmmword [rsp + 0xc0], xmm15
movdqa xmmword [rsp + 0xb0], xmm14
movdqa xmmword [rsp + 0xa0], xmm13
movq qword [rsp + 0xa0], mm5

Function at 0x140019b90
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov rdi, qword [rcx]
cmp qword [rdi + 0x10], 0
je 0x140019bed
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140019bb7
cmp eax, 1
jne 0x140019bed
lea rax, [rdi + 0x40]
jmp 0x140019bbb
lea rax, [rdi + 0x38]
mov rcx, qword [rax]
movzx eax, byte [rcx + 0x10]
nop word cs:[rax + rax]
mov edx, eax
xor dl, 1
lock cmpxchg byte [rcx + 0x10], dl
jne 0x140019bd0
test al, al
je 0x140019c23
movzx eax, al
cmp eax, 3
je 0x140019bed
call fcn.140142490
mov rax, qword [rdi + 0x48]
lock dec qword [rax]
jne 0x140019c00
mov rcx, qword [rdi + 0x48]
call case.0x14003dfe5.3576
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x140019c1b
lock dec qword [rcx + 8]
jne 0x140019c1b
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140142490
nop
add rsp, 0x28
pop rdi
pop rsi
ret
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov r8b, 2
xchg byte [rcx + 0x10], r8b
mov rcx, rax
call qword [rdx + 8]
mov rax, qword [rdi + 0x48]
lock dec qword [rax]
je 0x140019bf7
jmp 0x140019c00

Function at 0x140019e50
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r14, qword [rdx]
mov r15, qword [rdx + 0x10]
cmp r15, 9
mov ebx, 8
cmovae rbx, r15
lea rax, [rbx - 1]
and rax, 0xfffffffffffffff0
lea r12, [rax + rcx]
add r12, 0x10
cmp qword [rax + rcx + 0x10], 0
je 0x140019ef3
mov rax, qword [r12 + 0x18]
test rax, rax
je 0x140019ea5
cmp eax, 1
jne 0x140019ef3
lea rax, [r12 + 0x30]
jmp 0x140019eaa
lea rax, [r12 + 0x28]
mov rcx, qword [rax]
movzx eax, byte [rcx + 0x10]
nop word cs:[rax + rax]
mov edx, eax
xor dl, 1
lock cmpxchg byte [rcx + 0x10], dl
jne 0x140019ec0
test al, al
je 0x140019edf
movzx eax, al
cmp eax, 3
je 0x140019ef3
call fcn.140142490
jmp 0x140019ef3
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov r8b, 2
xchg byte [rcx + 0x10], r8b
mov rcx, rax
call qword [rdx + 8]
dec r15
and r15, 0xffffffffffffffc8
lea rcx, [r15 + r12]
add rcx, 0x38
call r14
cmp rsi, 0xffffffffffffffff
je 0x140019f47
lock dec qword [rsi + 8]
jne 0x140019f47
mov rax, qword [rdi + 8]
add rax, rbx
add rax, 0x37
mov rcx, rbx
neg rcx
and rax, rcx
add rax, rbx
add rax, 0xf
test rax, rcx
je 0x140019f47
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140142490
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14001a1f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
cmp qword [rcx + 0x68], 0
je 0x14001a213
lea rcx, [rsi + 0x68]
call fcn.14000ce10
mov r13, qword [rsi + 0x28]
mov r15, qword [rsi + 0x38]
test r15, r15
je 0x14001a2ef
mov rbx, qword [rsi + 0x20]
mov r12, qword [rsi + 0x30]
xor eax, eax
cmp r12, r13
mov rcx, r13
cmovb rcx, rax
sub r12, rcx
mov rcx, r13
sub r13, r12
lea rbp, [r12 + r15]
cmp r13, r15
mov qword [rsp + 0x20], rcx
cmovb rbp, rcx
mov r14, r15
sub r14, r13
cmovb r14, rax
sub rbp, r12
jne 0x14001a33d
cmp r13, r15
mov r13, qword [rsp + 0x20]
jae 0x14001a2ef
xor edi, edi
jmp 0x14001a29c
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov r8b, 2
xchg byte [rcx + 0x10], r8b
mov rcx, rax
call qword [rdx + 8]
inc rdi
cmp rdi, r14
je 0x14001a2ef
mov rcx, rdi
shl rcx, 5
lea rax, [rbx + rcx]
mov rcx, qword [rbx + rcx]
test rcx, rcx
je 0x14001a2c0
cmp ecx, 1
jne 0x14001a294
add rax, 0x18
jmp 0x14001a2c4
add rax, 0x10
mov rcx, qword [rax]
movzx eax, byte [rcx + 0x10]
nop dword [rax + rax]
mov edx, eax
xor dl, 1
lock cmpxchg byte [rcx + 0x10], dl
jne 0x14001a2d0
test al, al
je 0x14001a280
movzx eax, al
cmp eax, 3
je 0x14001a294
call fcn.140142490
jmp 0x14001a294
test r13, r13
je 0x14001a2fd
mov rcx, qword [rsi + 0x20]
call fcn.140142490
lea rcx, [rsi + 0x40]
call fcn.14000ce10
cmp rsi, 0xffffffffffffffff
je 0x14001a32b
lock dec qword [rsi + 8]
jne 0x14001a32b
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140142490
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
shl r12, 5
add r12, rbx
xor edi, edi
jmp 0x14001a370
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov r8b, 2
xchg byte [rcx + 0x10], r8b
mov rcx, rax
call qword [rdx + 8]
inc rdi
cmp rdi, rbp
je 0x14001a264
mov rcx, rdi
shl rcx, 5
lea rax, [r12 + rcx]
mov rcx, qword [r12 + rcx]
test rcx, rcx
je 0x14001a390
cmp ecx, 1
jne 0x14001a364
add rax, 0x18
jmp 0x14001a394
add rax, 0x10
mov rcx, qword [rax]
movzx eax, byte [rcx + 0x10]
nop dword [rax + rax]
mov edx, eax
xor dl, 1
lock cmpxchg byte [rcx + 0x10], dl
jne 0x14001a3a0
test al, al
je 0x14001a350
movzx eax, al
cmp eax, 3
je 0x14001a364
call fcn.140142490
jmp 0x14001a364