joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031210
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x140040008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140040e58], eax
jle 0x1400312b6
lea rcx, [0x140040e58]
call fcn.1400337b0
cmp dword [0x140040e58], 0xffffffff
jne 0x1400312b6
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x14003127d
imul rcx, r8, 0x64
jmp 0x1400312a3
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
mov qword [0x140040e60], rcx
lea rcx, [0x140040e58]
call fcn.140033750
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x1400312d7
imul rcx, r8, 0x64
jmp 0x1400312fd
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
mov r8d, dword [0x140040e24]
mov rax, rcx
sub rax, qword [0x140040e60]
inc r8d
mov dword [0x140040e24], r8d
cmp rax, 0x3baa0c40
jl 0x14003133a
mov dword [0x140040e28], r8d
mov dword [0x140040e24], 0
mov qword [0x140040e60], rcx
jmp 0x140031341
mov r8d, dword [0x140040e28]
lea rdx, str.FPS:__03d
lea rcx, [rsp + 0x70]
call fcn.140014fb0
movaps xmm0, xmmword [0x140039e50]
lea rcx, [rsp + 0x50]
mov r8, qword [0x1400408e8]
movups xmmword [rsp + 0x50], xmm0
lea r11, [r8 + 0x1cc8]
call fcn.140004810
mov r10, qword [r8 + 0x18f0]
mov r9d, eax
mov dword [rsp + 0x50], 0x42480000
mov dword [rsp + 0x54], 0x42480000
test eax, 0xff000000
je 0x140031429
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400313a7
lea rdx, [rsp + 0x70]
add rdx, rcx
lea rax, [rsp + 0x70]
cmp rax, rdx
je 0x140031429
test r10, r10
jne 0x1400313cf
mov rax, qword [r11 + 0x38]
mov r10, qword [rax + 8]
mov rax, qword [r11 + 0x68]
xorps xmm1, xmm1
movsxd r8, dword [r11 + 0x60]
mov rcx, r10
movss xmm2, dword [0x1400399c4]
add r8, r8
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm1
mov qword [rsp + 0x38], rdx
mov rdx, r11
movups xmm0, xmmword [rax + r8*8 - 0x10]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
mov r9, qword [rsp + 0x50]
movups xmmword [rsp + 0x60], xmm0
call fcn.140022c80
call fcn.1400015d0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003144c
cmp byte [0x14004019c], 0
je 0x14003144c
call fcn.140001050
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140033370
add rsp, 0xc0
pop rbx
ret
Function at 0x140034110
Capabilities:
Parse pe header

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

Disassembly:
movsxd r8, dword [0x14003e3ac]
lea r9, [0x14003e3c0]
movsxd rax, edx
mov r10, rcx
mov r9, qword [r9 + r8*8]
inc r8d
dec rax
mov dword [0x14003e3ac], r8d
test rax, rax
jle 0x1400015c5
mov rdx, r9
sub r10, r9
mov r8, rax
nop word [rax + rax]
movzx ecx, byte [rdx + r10]
mov byte [rdx], cl
lea rdx, [rdx + 1]
xor cl, byte [0x14003d017]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d016]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d015]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d014]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d013]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d012]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d011]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d010]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d00f]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d00e]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d00d]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d00c]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d00b]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d00a]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d009]
mov byte [rdx - 1], cl
xor cl, byte [0x14003d008]
mov byte [rdx - 1], cl
sub r8, 1
jne 0x140001520
mov byte [rax + r9], 0
xor eax, eax
mov ecx, dword [0x14003e3ac]
cmp ecx, 0xf
cmovge ecx, eax
mov rax, r9
mov dword [0x14003e3ac], ecx
ret

Function at 0x1400015f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
add rsi, rcx
mov r10d, dword [r8 + 0x20]
add rbp, rcx
mov ebx, dword [r8 + 0x18]
add r10, rcx
test ebx, ebx
je 0x140001673
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001663
inc rax
test ecx, ecx
jne 0x140001650
test edx, edx
je 0x14000168a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140001640
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140001675

Function at 0x140015674
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140015464
Function at 0x14001a7c4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x14001a7f6
call fcn.1400118c4
mov dword [rax], 0x16
call fcn.14000d098
jmp 0x14001a915
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001a915
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14001a915
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14001a825
lock or dword [rcx + 0x14], 0x10
jmp 0x14001a915
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14001a839
call fcn.14001bf74
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14001958c
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14001b5a4
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x14001a903
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x14001a8ce
mov rcx, rsi
call fcn.14001958c
cmp eax, edi
je 0x14001a8b9
mov rcx, rsi
call fcn.14001958c
cmp eax, 0xfffffffe
je 0x14001a8b9
mov rcx, rsi
call fcn.14001958c
movsxd rbx, eax
lea r14, [0x14003f6f0]
mov rcx, rsi
sar rbx, 6
call fcn.14001958c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x14001a8c0
lea rdx, [0x14003d5e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001a8ce
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x14001a8f2
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x14001a8f2
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x14001a8f2
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14001a918
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x14001ac40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140006f90
sub rsp, rax
mov rax, qword [0x14003d238]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001958c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001ac8f
mov rax, rbp
jmp 0x14001ad97
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3f6f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001bd7c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3f6f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001ad93
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001ad93
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001bd7c
test rax, rax
js 0x14001ad93
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001ad93
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14001ad85
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14001ad85
cmp byte [rcx], 0xd
jne 0x14001ad6b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001ad7a
cmp byte [rcx + 1], 0xa
jne 0x14001ad7a
inc rcx
jmp 0x14001ad7a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3d630]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001ad4d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14001ad97
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140006f60
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001b0f8
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14003f6f0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14001b156
cmp word [rdx], r12w
jne 0x14001b156
or byte [rax + r8*8 + 0x38], cl
jmp 0x14001b15c
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14001b2b7
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14001b292
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14001b195
mov rcx, r9
jmp 0x14001b1b8
cmp r9, rdx
jae 0x14001b1cf
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14001b179
jmp 0x14001b2b7
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001b28c
cmp dword [rsp + 0x80], edi
je 0x14001b28c
mov rdx, r14
lea r11, [0x14003f6f0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14001b265
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14001b238
mov word [rbx], r12w
jmp 0x14001b2b3
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14001b241
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14001b2b3
cmp word [rsp + 0x70], r12w
jne 0x14001b272
cmp rbx, rsi
je 0x14001b232
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14001bd84
cmp word [rsp + 0x70], r12w
je 0x14001b2b7
mov word [rbx], r13w
jmp 0x14001b2b3
lea r11, [0x14003f6f0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14001b2af
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14001b2b7
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140020980
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140020a07
mov rsi, rbx
cmp word [rax], bp
je 0x1400209c6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400209b0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400209ac
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001bfe0
mov rdi, rax
test rax, rax
je 0x1400209f4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140008830
mov rbp, rdi
xor ecx, ecx
call fcn.140018724
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400282a4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001bd84
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001bd84
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400283f4
cmp rax, 0xffffffffffffffff
je 0x1400283f4
xor edi, edi
test rbp, rbp
jle 0x14002839f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140018760
mov rbx, rax
test rax, rax
jne 0x14002832c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028395
mov edx, 0x8000
mov ecx, r14d
call fcn.1400156f0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001a4b4
cmp eax, 0xffffffff
je 0x140028375
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14002833c
mov edx, r15d
mov ecx, r14d
call fcn.1400156f0
jmp 0x140028395
cmp byte [rsi + 0x38], dil
je 0x14002838c
cmp dword [rsi + 0x34], 5
jne 0x14002838c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028395
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140018724
jmp 0x140028408
jns 0x140028408
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001bd84
cmp rax, 0xffffffffffffffff
jne 0x1400283c0
cmp byte [rsi + 0x30], dil
je 0x140028408
mov edi, dword [rsi + 0x2c]
jmp 0x140028408
mov ecx, r14d
call fcn.140021360
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028408
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028408
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028401
mov eax, dword [rsi + 0x2c]
jmp 0x140028406
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001bd84
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140001eb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
je 0x140001ed3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x80]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1d
jb 0x140001ec0
mov byte [rcx + 0x1e], 0
mov rax, rcx
ret
Function at 0x140005db0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x1c], 0
mov rbx, rcx
je 0x140005dd6
xor eax, eax
lea r8d, [rax + 0x63]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x1b
jb 0x140005dc1
mov byte [rdx + 0x1c], 0
call fcn.1400031e0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140005df0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0xe], 0
mov rbx, rcx
je 0x140005e16
xor eax, eax
lea r8d, [rax + 0x63]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0xd
jb 0x140005e01
mov byte [rdx + 0xe], 0
call fcn.1400031e0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140005e30
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0xf], 0
mov rbx, rcx
je 0x140005e56
xor eax, eax
lea r8d, [rax + 0x63]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0xe
jb 0x140005e41
mov byte [rdx + 0xf], 0
call fcn.1400031e0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140005e70
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x13], 0
mov rbx, rcx
je 0x140005e96
xor eax, eax
lea r8d, [rax + 0x63]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x12
jb 0x140005e81
mov byte [rdx + 0x13], 0
call fcn.1400031e0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140005eb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x1b], 0
mov rbx, rcx
je 0x140005ed6
xor eax, eax
lea r8d, [rax + 0x63]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x1a
jb 0x140005ec1
mov byte [rdx + 0x1b], 0
call fcn.1400031e0
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140005ef0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rdx + 0x28], 0
mov rbx, rcx
je 0x140005f16
xor eax, eax
lea r8d, [rax + 0x63]
xor byte [rax + rdx], r8b
inc rax
cmp rax, 0x27
jb 0x140005f01
mov byte [rdx + 0x28], 0
call fcn.1400031e0
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140007ee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x140007f14
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x7d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140007f00
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140007f41
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140007f60
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140007f6e
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400041a0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140007fe5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007fe0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007fe0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070964
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140008000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x140008034
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x7d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x140008020
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140008061
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140008077
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140008085
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400041a0
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400080fc
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400080f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070964
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140008110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x140008154
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x7d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140008140
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14000817b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x140008195
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xa], 0
je 0x1400081b3
mov rcx, r9
nop
lea eax, [rcx + 0x7d]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x1400081a0
mov byte [rdx + 0xa], 0
lea rax, [rdx + 9]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x1400081da
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x1400081f6
mov qword [rbp - 0x48], 9
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.140003e60
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14000824a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008244
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008244
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070964
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140008288
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008283
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008283
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070964
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret