joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004b770
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14004b7a4
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14004b790
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14004ae00
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14004b7c9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003ec20
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004b843
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b83e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b83e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5d00
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14004b850
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x14004b884
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14004b870
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14004ae00
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14004b8a9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003ec20
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004b923
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b91e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b91e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5d00
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004b930
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0x31], sil
je 0x14004b964
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0x30
jb 0x14004b950
mov byte [r8 + 0x31], sil
add r8, 0x30
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14004ae00
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14004b989
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003ec20
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004ba03
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b9fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b9fe
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5d00
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14004ba10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x14004ba44
mov eax, esi
lea ecx, [rax + 0x2a]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x14004ba30
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.14004ae00
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14004ba69
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14003ec20
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004bae3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bade
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004bade
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5d00
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140053130
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 8], al
je 0x140053163
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x2a]
xor byte [rdx + rax], cl
inc rax
cmp rax, 7
jb 0x140053150
mov byte [rdx + 8], 0
lea r8, [rdx + 7]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14004ae00
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140053180
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 9], al
je 0x1400531b3
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x2a]
xor byte [rdx + rax], cl
inc rax
cmp rax, 8
jb 0x1400531a0
mov byte [rdx + 9], 0
lea r8, [rdx + 8]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14004ae00
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400531d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rdx
mov rdx, rcx
cmp byte [rcx + 0x10], al
je 0x140053203
nop dword [rax]
nop word [rax + rax]
lea ecx, [rax + 0x2a]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0xf
jb 0x1400531f0
mov byte [rdx + 0x10], 0
lea r8, [rdx + 0xf]
mov rcx, rbx
lea r9, [rsp + 0x48]
call fcn.14004ae00
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140054f60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140054f83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 4
jb 0x140054f70
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x140054f90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x140054fb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 7
jb 0x140054fa0
mov byte [rcx + 8], 0
mov rax, rcx
ret

Function at 0x140054fc0
Capabilities:
Encode data using xor

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

Function at 0x140054ff0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x32], 0
je 0x140055013
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x31
jb 0x140055000
mov byte [rcx + 0x32], 0
mov rax, rcx
ret

Function at 0x140055020
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x140055043
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x43
jb 0x140055030
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x140055050
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140055073
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x46
jb 0x140055060
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x140059990
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1401297c0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rcx
mov qword [rsp + 0x90], rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 0x2d
jb 0x140059bdb
mov rax, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400599e2
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2d
lea r9, [0x1400c17d8]
mov r8, rdi
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14001f190
nop
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 0x11
jb 0x140059a63
lea rax, [rcx + 0x11]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x68]
add rbx, rcx
mov r8d, 0x11
lea rdx, [0x1400c17c0]
mov rcx, rbx
call sub.vcruntime140.dll_memmove
mov byte [rbx + 0x11], 0
lea rax, [rsp + 0x68]
jmp 0x140059a84
mov qword [rsp + 0x20], 0x11
lea r9, [0x1400c17c0]
xor r8d, r8d
lea edx, [r8 + 0x11]
lea rcx, [rsp + 0x68]
call fcn.140012ea0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.ucrtbase.dll_system]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140059b10
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059b0b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5d00
movdqa xmm0, xmmword [0x1400c2820]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rsp + 0x80]
cmp rdx, 0xf
jbe 0x140059b66
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059b61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059b61
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5d00
xor ecx, ecx
int 0x29
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140059ba0
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140059b9b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140059bd4
mov rcx, r8
call fcn.1400b5d00
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400b6140
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140036a60
nop
int3
Function at 0x14005a440
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, [0x1400c1808]
call qword [sym.imp.ucrtbase.dll_getenv]
test rax, rax
je 0x14005a4a0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x14005a487
mov rdx, rax
mov rcx, rbx
call fcn.140005180
jmp 0x14005a554
lea rcx, [rsp + 0x40]
call fcn.14003a050
nop
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x14005a4b8
mov rsi, qword [rax]
mov rbp, qword [rax + 0x10]
call fcn.1400b52f0
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x30], 0x10
test rbp, rbp
je 0x14005a54a
cmp rbp, 0x7fffffff
ja 0x14005a576
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov ecx, eax
call fcn.1400b5360
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x14005a581
movsxd rdx, edi
xor r8d, r8d
mov rcx, rbx
call fcn.140060220
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14005a52d
mov r9, qword [rbx]
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rdx, rsi
mov ecx, r14d
call fcn.1400b5360
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x14005a56c
lea rcx, [rsp + 0x40]
call fcn.140036810
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
shr rcx, 0x20
call fcn.140036350
int3
mov ecx, 0x16
call fcn.140036310
int3
shr rdi, 0x20
mov ecx, edi
call fcn.140036350
int3
Function at 0x140063c90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1401297c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
lea ecx, [rdi + 8]
call fcn.1400b5cbc
test rax, rax
je 0x140063cd0
lea rcx, [0x1400638b0]
mov qword [rax], rcx
jmp 0x140063cd3
mov rax, rdi
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140010ff0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140063e34
cmp dword [rbp - 0x31], 0
je 0x140063e42
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call sub.msvcp140.dll__Thrd_detach
test eax, eax
jne 0x140063e42
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
mov ecx, 0xfffffff5
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rbx, rax
mov dword [rbp - 0x19], 0x60
lea rdx, [rbp - 0x19]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfoEx]
mov dword [rbp - 0x15], 0x160078
mov dword [rbp - 0xb], edi
mov dword [rbp - 7], 0x160078
mov dword [rbp - 3], 0x160078
lea rdx, [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_SetConsoleScreenBufferInfoEx]
lea rdx, [rbp - 0x29]
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x29]
and edx, 0xfffffffd
mov dword [rbp - 0x29], edx
mov rcx, rbx
call qword [sym.imp.kernel32.dll_SetConsoleMode]
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov rbx, rax
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.user32.dll_GetWindowLongA]
and eax, 0xfffaffff
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.user32.dll_SetWindowLongA]
mov ecx, 0xfffffff6
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp - 0x49]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x49]
and edx, 0x80
mov rcx, rbx
call qword [sym.imp.kernel32.dll_SetConsoleMode]
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.kernel32.dll_SetPriorityClass]
nop
cmp dword [rbp - 0x31], 0
je 0x140063e13
call qword [sym.imp.ucrtbase.dll_terminate]
int3
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400b6140
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x31], edi
mov ecx, 6
call sub.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x140069fd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [0x140128320]
lea rsi, [0x140000000]
xor r10d, dword [rcx + 4]
mov ebx, 2
mov r11d, dword [rcx + 8]
mov dword [rcx + 4], r10d
lea edi, [rbx + 6]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 0x18
mov r9d, dword [rsi + rdx*4 + 0x128b50]
add r9d, dword [rsi + rax*4 + 0x128750]
mov eax, r10d
shr rax, 8
movzx edx, al
movzx eax, r10b
xor r9d, dword [rsi + rdx*4 + 0x128f50]
add r9d, dword [rsi + rax*4 + 0x129350]
lea eax, [rbx - 1]
xor r9d, dword [rsi + rax*4 + 0x128320]
xor r11d, r9d
mov dword [rcx + 8], r11d
mov eax, r11d
shr rax, 0x10
movzx edx, al
mov eax, r11d
shr rax, 0x18
mov r9d, dword [rsi + rdx*4 + 0x128b50]
add r9d, dword [rsi + rax*4 + 0x128750]
mov eax, r11d
shr rax, 8
movzx edx, al
movzx eax, r11b
xor r9d, dword [rsi + rdx*4 + 0x128f50]
add r9d, dword [rsi + rax*4 + 0x129350]
mov eax, ebx
add ebx, 2
xor r9d, dword [rsi + rax*4 + 0x128320]
xor r9d, r10d
mov dword [rcx + 4], r9d
mov r10d, r9d
sub rdi, 1
jne 0x14006a001
xor r11d, dword [0x140128364]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
ret

Function at 0x14006a0e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
movsxd rsi, r8d
xor r14d, r14d
mov eax, esi
mov rdi, r9
mov rbx, rdx
and eax, 0x80000007
jge 0x14006a111
dec eax
or eax, 0xfffffff8
inc eax
cmp byte [rsp + 0x50], r14b
je 0x14006a127
test eax, eax
jne 0x14006a1c0
mov dword [r9], esi
mov eax, esi
jmp 0x14006a14b
movzx ecx, byte [rsp + 0x58]
mov edx, esi
sub edx, eax
add edx, 8
test eax, eax
lea eax, [rcx + 1]
cmove edx, esi
lea eax, [rdx + rax*8]
mov dword [r9], eax
test cl, cl
je 0x14006a14b
mov r14d, 8
movsxd rcx, eax
call fcn.1400330e0
mov r9d, r14d
mov r10, rax
test esi, esi
jle 0x14006a180
mov edx, r9d
mov rcx, rsi
sub rdx, rbx
add rdx, rax
nop dword [rax]
movzx eax, byte [rbx]
mov byte [rbx + rdx], al
lea rbx, [rbx + 1]
sub rcx, 1
jne 0x14006a170
lea edx, [r14 + rsi]
cmp edx, dword [rdi]
jge 0x14006a1a7
movsxd r8, edx
add r9, rsi
add r8, r10
movzx eax, byte [r9 + r10 - 1]
lea r8, [r8 + 1]
xor al, 0xcc
inc edx
mov byte [r8 - 1], al
cmp edx, dword [rdi]
jl 0x14006a191
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r14d, 8
lea rdx, [0x1400f7bb8]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
call sub.vcruntime140.dll__CxxThrowException
int3

Function at 0x14006a320
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.ucrtbase.dll__read]
cdqe
add rsp, 0x28
ret
Function at 0x14007c5c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x14007c61e
mov dl, 1
call fcn.14006c670
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.14006c670
mov eax, ebx
jmp 0x14007c662
cmp ebx, 2
ja 0x14007c660
mov r9, qword [rdi + 0x668]
lea rdx, [0x1400c5f68]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14007c680
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x1401297c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx

Function at 0x14007c800
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x14007c966
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x1401297c0]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x14007c94e
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.14006a710
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x14007c8c1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14007c880
cmp byte [rax + rcx - 1], 0xa
jne 0x14007c8a8
lea r8, [0x1400c5f80]
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x14007c8bc
lea r8, [0x1400c5f88]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.14006a610
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14007c8c6
cmp qword [rdi + 0x718], 0
je 0x14007c90e
mov dl, 1
mov rcx, rdi
call fcn.14006c670
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.14006c670
jmp 0x14007c946
mov r9, qword [rdi + 0x668]
lea rcx, [0x1400c5f68]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400b6140
add rsp, 0x860
pop rdi
ret
Function at 0x14007ca00
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14007ca42
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 0x38
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14007cbe0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x138
mov rax, qword [0x1401297c0]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r14, qword [rsp + 0x1a0]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x508]
mov rbp, qword [rsi + rcx*8 + 0x4c0]
add rbx, rax
mov rax, qword [rsi + 0x698]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x14007cce7
lea rax, [0x14007ca90]
cmp qword [rsi + rcx*8 + 0x4e8], rax
jne 0x14007cce7
cmp qword [rbx], r13
je 0x14007cc6e
test rdi, rdi
je 0x14007cce7
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.14008c150
cmp eax, 0xffffffff
je 0x14007cce7
test al, 1
je 0x14007cce7
mov rax, qword [rbx]
test rax, rax
jne 0x14007ccc0
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb70]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [sub.ucrtbase.dll_malloc]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x14007cce3
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x14007cce7
add qword [rbx + 0x10], rcx
jmp 0x14007cce7
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x14007cd54
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x14007cd20
mov dword [r14], 0x51
mov rax, r13
jmp 0x14007cd57
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.1400649a0
mov rcx, qword [rsi]
lea rdx, [0x1400c5f90]
mov r8, rax
call fcn.14007c680
mov rcx, qword [rsi]
mov dword [rcx + 0x11b0], ebx
mov dword [r14], 0x37
mov rax, rdi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400b6140
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007d3f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x558], 0
je 0x14007d40d
call fcn.140075d40
test eax, eax
jne 0x14007d433
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x4c0]
cmp rcx, 0xffffffffffffffff
je 0x14007d406
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.ws2_32.dll_recv]
test eax, eax
je 0x14007d406
mov al, 1
add rsp, 0x28
ret