joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401b8fc0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r15, r8
call fcn.1401b8bc0
test eax, eax
js 0x1401b91fa
mov eax, dword [r15 + 0xf0]
mov r11, r15
lea r10d, [rax*4]
test r10d, r10d
jle 0x1401b91f8
movsxd rax, r10d
mov rdx, r15
xor ecx, ecx
lea rax, [r15 + rax*4]
nop word [rax + rax]
mov r8d, dword [rdx]
mov r9d, dword [rax]
add ecx, 4
add rdx, 0x10
sub rax, 0x10
mov dword [rdx - 0x10], r9d
mov r9d, dword [rax + 0x14]
mov dword [rax + 0x10], r8d
mov r8d, dword [rdx - 0xc]
mov dword [rdx - 0xc], r9d
mov r9d, dword [rax + 0x18]
mov dword [rax + 0x14], r8d
mov r8d, dword [rdx - 8]
mov dword [rdx - 8], r9d
mov r9d, dword [rax + 0x1c]
mov dword [rax + 0x18], r8d
mov r8d, dword [rdx - 4]
mov dword [rdx - 4], r9d
mov dword [rax + 0x1c], r8d
mov r8d, r10d
sub r8d, ecx
cmp ecx, r8d
jl 0x1401b9010
cmp dword [r15 + 0xf0], 1
mov r12d, 1
lea rbp, [0x1404258c0]
lea rax, [0x140425d00]
lea rdi, [0x140424cc0]
lea rsi, [0x1404254c0]
lea r8, [0x1404250c0]
jle 0x1401b91f8
nop dword [rax + rax]
mov r13d, dword [r11 + 0x10]
mov r10d, dword [r11 + 0x14]
add r11, 0x10
add r12d, 1
mov r9d, dword [r11 + 8]
mov ecx, dword [r11 + 0xc]
mov edx, r13d
movzx r14d, r13b
mov ebx, r13d
shr edx, 0x18
movzx r14d, byte [rax + r14*4]
movzx ebx, bh
movzx edx, byte [rax + rdx*4]
mov edx, dword [rbp + rdx*4]
xor edx, dword [rdi + r14*4]
mov r14d, r13d
mov r13d, ebx
shr r14d, 0x10
movzx r13d, byte [rax + r13*4]
mov ebx, r10d
movzx r14d, r14b
movzx ebx, bh
movzx r14d, byte [rax + r14*4]
xor edx, dword [rsi + r14*4]
xor edx, dword [r8 + r13*4]
movzx r13d, r10b
movd xmm0, edx
mov edx, r10d
movzx r13d, byte [rax + r13*4]
shr edx, 0x18
movzx edx, byte [rax + rdx*4]
mov edx, dword [rbp + rdx*4]
xor edx, dword [rdi + r13*4]
mov r13d, r10d
mov r10d, ebx
shr r13d, 0x10
movzx r10d, byte [rax + r10*4]
mov ebx, r9d
movzx r13d, r13b
movzx ebx, bh
movzx r13d, byte [rax + r13*4]
xor edx, dword [rsi + r13*4]
xor edx, dword [r8 + r10*4]
mov r10d, r9d
movzx r13d, r9b
shr r10d, 0x18
movzx r14d, byte [rax + r13*4]
movd xmm3, edx
movzx r10d, byte [rax + r10*4]
punpckldq xmm0, xmm3
mov r10d, dword [rbp + r10*4]
xor r10d, dword [rdi + r14*4]
mov r13d, r10d
mov r10d, r9d
mov r9d, ebx
shr r10d, 0x10
movzx r9d, byte [rax + r9*4]
movzx r10d, r10b
movzx r10d, byte [rax + r10*4]
xor r13d, dword [rsi + r10*4]
mov r10d, r13d
xor r10d, dword [r8 + r9*4]
mov r9d, ecx
movd xmm1, r10d
shr r9d, 0x18
movzx r10d, cl
movzx r13d, byte [rax + r10*4]
movzx r9d, byte [rax + r9*4]
mov r9d, dword [rbp + r9*4]
xor r9d, dword [rdi + r13*4]
mov r10d, r9d
mov r9d, ecx
movzx ecx, ch
shr r9d, 0x10
mov ecx, ecx
movzx r9d, r9b
movzx r9d, byte [rax + r9*4]
movzx ecx, byte [rax + rcx*4]
xor r10d, dword [rsi + r9*4]
mov r9d, r10d
xor r9d, dword [r8 + rcx*4]
movd xmm2, r9d
punpckldq xmm1, xmm2
punpcklqdq xmm0, xmm1
movups xmmword [r11], xmm0
cmp dword [r15 + 0xf0], r12d
jg 0x1401b90a0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401c3030
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [0x14048ee50]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbx + 0x10]
call fcn.14034efb0
mov rcx, qword [rsi]
mov qword [rbx + 0x10], 0
test rcx, rcx
je 0x1401c3087
mov r8d, dword [rcx]
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.14021e5b0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1401c30e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ecx, 0x100
call fcn.140277f50
test eax, eax
je 0x1401c3130
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rax, qword [0x14048ca70]
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x1401c3130
mov rax, qword [rbx + 8]
add rsp, 0x28
pop rbx
pop rsi
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1401c4900
Capabilities:
Check if file exists

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rbp, rcx
call fcn.1402052e0
mov edx, 0x62
mov rcx, rsi
mov rdi, rax
call sub.msvcrt.dll_strchr
cmp rax, 1
sbb ebx, ebx
and ebx, 0x10
add ebx, 1
test rdi, rdi
je 0x1401c4970
mov rcx, qword [0x14048e3a0]
call fcn.1401c32a0
mov rsi, rax
test rax, rax
je 0x1401c49e8
mov r9, rdi
mov r8d, ebx
mov edx, 0x6a
mov rcx, rax
call fcn.1401c4190
mov rax, rsi
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 1
mov ecx, 2
mov r8d, eax
call fcn.1402750a0
lea rax, [0x140427550]
mov qword [rsp + 0x20], rsi
mov r8, rbp
mov qword [rsp + 0x28], rax
lea r9, [0x140427544]
mov ecx, 5
lea rdx, str.fopen_
call fcn.1401e93d0
mov rbx, qword [sym.imp.msvcrt.dll__errno]
call rbx
cmp dword [rax], 2
je 0x1401c49c9
call rbx
cmp dword [rax], 6
jne 0x1401c4a00
mov r8d, pe_nt_image_headers64
mov edx, 0x6d
mov ecx, 0x20
xor esi, esi
call fcn.1402750a0
jmp 0x1401c495f
mov rcx, rdi
xor esi, esi
call sub.msvcrt.dll_fclose
jmp 0x1401c495f
mov r8d, 2
mov edx, 0x6d
mov ecx, 0x20
xor esi, esi
call fcn.1402750a0
jmp 0x1401c495f
Function at 0x1401c5920
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r13d, 1
mov edi, dword [rsp + 0xb0]
mov qword [rsp + 0x90], rcx
mov ecx, edi
mov ebx, edx
mov esi, r9d
mov rax, qword [rsp + 0x90]
shl r13d, cl
cmp edx, dword [rax + 0xc]
jg 0x1401c5b80
cmp edi, 3
jg 0x1401c5a00
test ebx, ebx
jle 0x1401c59db
mov rax, qword [rsp + 0x90]
movsxd rdi, r13d
shl rdi, 3
mov r10, qword [rax]
movsxd rax, ebx
lea rbp, [r10 + rax*8]
nop word cs:[rax + rax]
mov rcx, r8
xor r9d, r9d
xor edx, edx
nop dword [rax + rax]
mov r12d, esi
mov r11, qword [rcx]
add rcx, 8
xor r12d, edx
add edx, 1
lea eax, [r12 - 1]
not r12d
and eax, r12d
shr eax, 0x1f
neg rax
and rax, r11
or r9, rax
cmp r13d, edx
jne 0x1401c59a0
mov qword [r10], r9
add r10, 8
add r8, rdi
cmp r10, rbp
jne 0x1401c5990
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], ebx
mov eax, 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea ecx, [rdi - 2]
mov r14d, 1
mov eax, esi
shl r14d, cl
sar eax, cl
lea edx, [r14 - 1]
mov r12d, eax
mov edi, eax
mov ebp, eax
and edx, esi
not r12d
mov esi, eax
xor edi, 2
mov dword [rsp + 0x24], edx
lea edx, [rax - 1]
xor esi, 1
xor ebp, 3
and r12d, edx
mov edx, eax
sub esi, 1
sub edi, 1
xor edx, 0xfffffffe
sub ebp, 1
shr r12d, 0x1f
mov dword [rsp + 0x20], r14d
and esi, edx
mov edx, eax
xor eax, 0xfffffffc
neg r12
xor edx, 0xfffffffd
and ebp, eax
shr esi, 0x1f
and edi, edx
shr ebp, 0x1f
neg rsi
shr edi, 0x1f
neg rbp
neg rdi
test ebx, ebx
jle 0x1401c59db
movsxd r13, r13d
mov dword [rsp + 0x98], ebx
movsxd r14, r14d
lea rax, [r13*8]
shl r14, 3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
mov r10, qword [rax]
movsxd rax, ebx
lea r11, [r10 + rax*8]
mov eax, 2
shl eax, cl
mov qword [rsp + 0x38], r11
movsxd r13, eax
mov eax, 3
shl eax, cl
shl r13, 3
movsxd r15, eax
shl r15, 3
nop dword [rax + rax]
mov qword [rsp + 0x28], r10
mov rdx, r8
xor ebx, ebx
xor r9d, r9d
mov qword [rsp + 0xa0], r8
nop dword [rax]
lea rcx, [rdx + r14]
mov rax, qword [rdx]
lea r8, [rdx + r15]
mov r11, qword [rcx]
lea rcx, [rdx + r13]
add rdx, 8
mov rcx, qword [rcx]
mov r10, qword [r8]
and rax, r12
mov r8d, dword [rsp + 0x24]
and r11, rsi
and rcx, rdi
and r10, rbp
xor r8d, r9d
or rcx, r11
add r9d, 1
or rax, rcx
mov ecx, r8d
sub r8d, 1
not ecx
or rax, r10
and ecx, r8d
shr ecx, 0x1f
neg rcx
and rax, rcx
or rbx, rax
cmp dword [rsp + 0x20], r9d
jne 0x1401c5ae8
mov rax, qword [rsp + 0x30]
mov r8, qword [rsp + 0xa0]
mov r10, qword [rsp + 0x28]
add r8, rax
mov rax, qword [rsp + 0x38]
mov qword [r10], rbx
add r10, 8
cmp r10, rax
jne 0x1401c5ad0
mov ebx, dword [rsp + 0x98]
jmp 0x1401c59db
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0xa0], r8
call fcn.1401c5160
mov r8, qword [rsp + 0xa0]
mov rdx, rax
xor eax, eax
test rdx, rdx
jne 0x1401c5960
jmp 0x1401c59eb
Function at 0x1401c6730
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
cmp rdx, r8
je 0x1401c67d3
mov r10, rcx
sub rcx, 1
not r10
and r10, rcx
mov ecx, dword [rdx + 8]
mov edx, dword [r8 + 8]
shr r10, 0x3f
xor edx, ecx
sub r10, 1
movsxd rdx, edx
and rdx, r10
xor ecx, edx
mov dword [rax + 8], ecx
mov ecx, dword [rax + 0x10]
xor dword [r8 + 8], edx
mov edx, dword [r8 + 0x10]
xor edx, ecx
movsxd rdx, edx
and rdx, r10
xor ecx, edx
mov dword [rax + 0x10], ecx
mov ecx, dword [rax + 0x14]
xor dword [r8 + 0x10], edx
mov edx, dword [r8 + 0x14]
xor edx, ecx
and rdx, r10
and edx, 4
xor ecx, edx
mov dword [rax + 0x14], ecx
xor dword [r8 + 0x14], edx
test r9d, r9d
jle 0x1401c67d3
mov rax, qword [rax]
movsxd r9, r9d
mov rdx, qword [r8]
lea r9, [rax + r9*8]
nop dword [rax + rax]
mov r8, qword [rax]
mov rcx, qword [rdx]
add rax, 8
xor rcx, r8
and rcx, r10
xor r8, rcx
mov qword [rax - 8], r8
xor qword [rdx], rcx
add rdx, 8
cmp r9, rax
jne 0x1401c67b0
ret
Function at 0x1401c8b30
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
movsxd r14, dword [r9 + 8]
mov r15, rcx
mov dword [rsp + 0x2c], r14d
mov rdi, rdx
mov rbx, r8
mov qword [rsp + 0x128], r9
cmp r14d, dword [rcx + 0xc]
jg 0x1401c8d00
cmp r14, 0x10
ja 0x1401c8d20
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rax
mov r10, qword [rdi]
mov rax, qword [rsp + 0x20]
mov r11, qword [rbx]
test r10, r10
cmove r10, rax
test r11, r11
cmove r11, rax
test r14, r14
je 0x1401c8cb8
movsxd r9, dword [rdi + 8]
movsxd rsi, dword [rdi + 0xc]
mov r13, r14
xor r8d, r8d
movsxd rax, dword [rbx + 0xc]
movsxd rbp, dword [rbx + 8]
xor ecx, ecx
lea rbx, [r9 + 1]
mov rdi, qword [rsp + 0x20]
mov rdx, r9
sub r13, r9
mov qword [rsp + 0x38], rax
sub rbx, rsi
mov rsi, qword [rsp + 0x38]
neg rdx
lea r12, [rdi + r9*8]
mov rdi, r9
xor eax, eax
sub r9, rsi
sub rdi, rbp
add r9, 1
nop dword [rax]
mov rbp, rdx
lea rsi, [rdi + rdx]
sar rbp, 0x3f
and rbp, qword [r10 + rcx*8]
add rbp, rax
setb al
sar rsi, 0x3f
and rsi, qword [r11 + r8*8]
add rsi, rbp
movzx eax, al
mov qword [r12 + rdx*8], rsi
lea rsi, [rbx + rdx]
adc rax, 0
shr rsi, 0x3f
add rcx, rsi
lea rsi, [r9 + rdx]
add rdx, 1
shr rsi, 0x3f
add r8, rsi
cmp r13, rdx
jne 0x1401c8bf0
mov rbx, qword [rsp + 0x128]
mov edi, dword [rsp + 0x2c]
mov r8, qword [r15]
mov r9, qword [rbx]
test edi, edi
jle 0x1401c8c7e
mov ecx, edi
xor edx, edx
mov rdi, qword [rsp + 0x20]
sub r10, r10
jmp 0x1401c8c60
mov r10, qword [rdi + rdx*8]
sbb r10, qword [r9 + rdx*8]
mov qword [r8 + rdx*8], r10
lea rdx, [rdx + 1]
dec ecx
jne 0x1401c8c60
sbb r10, r10
and r10d, 1
sub rax, r10
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
lea r10, [rbx + r14*8]
nop word [rax + rax]
mov r9, qword [r8]
mov rdx, qword [rcx]
add rcx, 8
add r8, 8
xor rdx, r9
and rdx, rax
xor rdx, r9
mov qword [r8 - 8], rdx
mov qword [rcx - 8], 0
cmp rcx, r10
jne 0x1401c8c90
mov eax, dword [rsp + 0x2c]
mov dword [r15 + 0x10], 0
mov rbx, qword [rsp + 0x30]
mov dword [r15 + 8], eax
cmp qword [rsp + 0x20], rbx
je 0x1401c8cde
mov rcx, qword [rsp + 0x20]
call fcn.14034efb0
mov eax, 1
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [rsp + 0x2c]
call fcn.1401c5160
test rax, rax
jne 0x1401c8b67
xor eax, eax
jmp 0x1401c8ce3
lea rcx, [r14*8]
xor r8d, r8d
lea rdx, [0x14042729c]
call fcn.1402003e0
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1401c8d12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
jmp 0x1401c8b80
Function at 0x1401caef0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r15d, dword [r8 + 0x28]
mov r11, rcx
mov rdi, rdx
mov rbx, r8
test r15d, r15d
jne 0x1401caf30
mov dword [rcx + 8], 0
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea esi, [r15 + r15]
cmp esi, dword [rdx + 0xc]
jg 0x1401cb0b0
mov eax, dword [rdi + 8]
mov rdx, qword [rdi]
mov r8d, esi
mov ecx, dword [rdi + 0x10]
xor ecx, dword [rbx + 0x30]
mov r10d, eax
mov dword [rdi + 0x10], ecx
mov rbp, qword [rbx + 0x20]
mov r9, rdx
neg r10d
sub r8d, eax
test esi, esi
jle 0x1401cb130
nop word [rax + rax]
mov eax, r10d
add r10d, 1
shr eax, 0x1f
neg rax
and qword [r9], rax
add r9, 8
cmp r8d, r10d
jne 0x1401caf70
movsxd r8, r15d
mov dword [rsp + 0x24], ecx
mov r14, qword [rbx + 0x50]
xor ebx, ebx
mov qword [rsp + 0x80], r11
lea r12, [r8*8]
mov qword [rsp + 0x28], r8
lea r13, [rdx + r12]
mov dword [rdi + 8], esi
mov rsi, rbx
mov rbx, r12
mov r12, rdx
mov qword [rsp + 0x88], rdi
mov rdi, rdx
nop word cs:[rax + rax]
mov r9, qword [rdi]
mov r8d, r15d
mov rdx, rbp
mov rcx, rdi
imul r9, r14
call fcn.14023c730
mov r8, qword [rdi + rbx]
xor edx, edx
add rax, rsi
add rax, r8
cmp r8, rax
mov qword [rdi + rbx], rax
setne dl
xor r10d, r10d
or rdx, rsi
cmp r8, rax
setae r10b
add rdi, 8
mov rsi, r10
and rsi, rdx
cmp rdi, r13
jne 0x1401cafd0
mov ecx, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
mov rdx, r12
mov rbx, rsi
mov r11, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
cmp r15d, dword [r11 + 0xc]
jg 0x1401cb0e0
mov dword [r11 + 8], r15d
shl r8, 3
mov dword [r11 + 0x10], ecx
lea r9, [rdx + r8]
mov r10, qword [r11]
mov ecx, r15d
xor eax, eax
sub rdx, rdx
jmp 0x1401cb060
mov rdx, qword [r9 + rax*8]
sbb rdx, qword [rbp + rax*8]
mov qword [r10 + rax*8], rdx
lea rax, [rax + 1]
dec ecx
jne 0x1401cb060
sbb rdx, rdx
and edx, 1
xor eax, eax
sub rbx, rdx
mov rcx, qword [r10 + rax]
mov rdx, qword [r9 + rax]
xor rdx, rcx
and rdx, rbx
xor rdx, rcx
mov qword [r10 + rax], rdx
mov qword [r9 + rax], 0
add rax, 8
cmp r8, rax
jne 0x1401cb080
jmp 0x1401caf19
mov qword [rsp + 0x80], rcx
mov edx, esi
mov rcx, rdi
call fcn.1401c5160
mov r11, qword [rsp + 0x80]
test rax, rax
jne 0x1401caf3d
xor eax, eax
jmp 0x1401caf1e
xor ebx, ebx
nop dword [rax]
mov rcx, r11
mov edx, r15d
mov qword [rsp + 0x80], r11
call fcn.1401c5160
mov r11, qword [rsp + 0x80]
test rax, rax
je 0x1401cb0d3
mov eax, dword [rdi + 0x10]
mov rdx, qword [rdi]
mov dword [r11 + 8], r15d
mov dword [r11 + 0x10], eax
test r15d, r15d
jle 0x1401caf19
movsxd r8, r15d
shl r8, 3
lea r9, [rdx + r8]
jmp 0x1401cb050
mov dword [rdi + 8], esi
cmp r15d, dword [r11 + 0xc]
jg 0x1401cb0da
mov dword [r11 + 8], r15d
mov dword [r11 + 0x10], ecx
jmp 0x1401caf19
Function at 0x1401e8cc0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
call rbx
mov ecx, 0x40000
mov esi, eax
call fcn.140277f50
test eax, eax
je 0x1401e8d8b
mov eax, dword [0x1404cb99c]
xor ecx, ecx
mov edx, 1
cmp eax, 2
jne 0x1401e8d05
jmp 0x1401e8d90
cmp eax, 1
jne 0x1401e8d80
mov eax, ecx
lock cmpxchg dword [0x1404cb99c], edx
test eax, eax
jne 0x1401e8d00
mov dword [0x1404cb920], 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x1404cb99c], 2
cmp eax, 0xffffffff
mov dword [0x1404cb924], eax
setne al
movzx eax, al
mov dword [0x1404cb998], eax
test eax, eax
je 0x1401e8d8b
call rbx
mov ecx, dword [0x1404cb924]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rdi, qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, rax
call rdi
cmp rbx, 0xffffffffffffffff
je 0x1401e8d8b
test rbx, rbx
je 0x1401e8da0
mov ecx, esi
call rdi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, dword [0x1404cb99c]
cmp eax, 2
je 0x1401e8d90
xor ebx, ebx
jmp 0x1401e8d73
mov eax, dword [0x1404cb998]
jmp 0x1401e8d42
mov ecx, dword [0x1404cb924]
mov rbp, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rdx, 0xffffffffffffffff
call rbp
test eax, eax
je 0x1401e8d8b
mov ecx, 0x208
call fcn.140274360
mov rbx, rax
test rax, rax
je 0x1401e8e00
mov ecx, 2
call fcn.1401fec30
test eax, eax
je 0x1401e8df8
mov ecx, dword [0x1404cb924]
mov rdx, rbx
call rbp
test eax, eax
je 0x1401e8df8
mov ecx, 2
call fcn.140277f50
jmp 0x1401e8d6f
mov rcx, rbx
call fcn.1401e8c60
mov ecx, dword [0x1404cb924]
xor edx, edx
xor ebx, ebx
call rbp
jmp 0x1401e8d73
Function at 0x1401f0530
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov r12, qword [rcx + 0x70]
mov r14, rdx
mov edx, dword [r12 + 0x70]
mov r15, r8
mov r13, r9
test edx, edx
jne 0x1401f0658
mov ebp, dword [r12 + 0x20]
mov eax, r13d
and eax, 0x3f
sub r13, rax
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x30], rax
cmp r13, 0x3f
jbe 0x1401f062f
movabs rsi, 0x40000003f
lea rdi, [r12 + 0x20]
jmp 0x1401f05e4
mov r8, r13
shr r8, 6
mov edx, r8d
add edx, ebp
mov rbp, rdx
cmp rdx, r8
jae 0x1401f05fe
sub r8, rdx
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov rcx, r14
mov rbx, r8
mov r9, r12
xor ebp, ebp
shl rbx, 6
mov r8, rbx
sub r13, rbx
add r15, rbx
add r14, rbx
call fcn.140309340
add dword [r12 + 0x24], 1
mov dword [r12 + 0x20], 0
cmp r13, 0x3f
jbe 0x1401f062f
cmp rsi, r13
jae 0x1401f0590
mov edx, 0x10000000
mov r8d, 0x10000000
add edx, ebp
mov rbp, rdx
cmp rdx, r8
jb 0x1401f05a4
mov rbx, r8
mov qword [rsp + 0x20], rdi
mov rdx, r15
mov rcx, r14
shl rbx, 6
mov r9, r12
mov r8, rbx
sub r13, rbx
add r15, rbx
add r14, rbx
call fcn.140309340
mov dword [r12 + 0x20], ebp
cmp r13, 0x3f
ja 0x1401f05e4
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x1401f06d0
mov eax, 1
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp edx, 0x3f
ja 0x1401f068d
test r9, r9
je 0x1401f068d
nop word [rax + rax]
mov ecx, edx
movzx eax, byte [r15]
add r14, 1
add r15, 1
xor al, byte [r12 + rcx + 0x30]
add edx, 1
mov byte [r14 - 1], al
sub r13, 1
je 0x1401f068d
cmp edx, 0x3f
jbe 0x1401f0668
mov dword [r12 + 0x70], edx
test r13, r13
je 0x1401f063b
mov ebp, dword [r12 + 0x20]
cmp edx, 0x40
jne 0x1401f055f
mov dword [r12 + 0x70], 0
add ebp, 1
mov dword [r12 + 0x20], ebp
jne 0x1401f055f
add dword [r12 + 0x24], 1
jmp 0x1401f055f
lea rcx, [r12 + 0x30]
pxor xmm0, xmm0
lea rax, [r12 + 0x20]
mov r9, r12
movups xmmword [r12 + 0x30], xmm0
mov r8d, 0x40
mov rdx, rcx
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
mov qword [rsp + 0x20], rax
call fcn.140309340
xor eax, eax
nop dword [rax + rax]
movzx edx, byte [r15 + rax]
xor dl, byte [r12 + rax + 0x30]
mov byte [r14 + rax], dl
add rax, 1
cmp qword [rsp + 0x30], rax
jne 0x1401f0710
mov eax, dword [rsp + 0x3c]
mov dword [r12 + 0x70], eax
jmp 0x1401f063b
Function at 0x1401f7b00
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9, rcx
test rcx, rcx
je 0x1401f7b70
movzx edx, byte [rcx]
xor eax, eax
test dl, dl
je 0x1401f7b64
xor r8d, r8d
mov r11d, 0x100
mov ebx, 0x20
movsx eax, dl
mov r10d, r8d
add r9, 1
or eax, r11d
add r11d, 0x100
mov edx, eax
shr edx, 2
xor edx, eax
imul eax, eax
and edx, 0xf
mov ecx, edx
shl r10d, cl
mov ecx, ebx
sub ecx, edx
movzx edx, byte [r9]
shr r8, cl
or r10d, r8d
xor eax, r10d
mov r8d, eax
test dl, dl
jne 0x1401f7b20
shr eax, 0x10
xor eax, r8d
pop rbx
ret
xor eax, eax
pop rbx
ret
Function at 0x1401fcc00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov r12, qword [rsp + 0x108]
mov r13, qword [rsp + 0x118]
mov qword [rsp + 0xf0], r8
mov r15, rcx
mov ebx, edx
mov dword [rsp + 0xf8], r9d
test r12, r12
je 0x1401fceb4
mov edi, dword [r12 + 8]
test edi, edi
js 0x1401fce90
call fcn.1401fca10
mov rsi, rax
test rax, rax
je 0x1401fce90
test r15, r15
je 0x1401fcea6
cmp ebx, 0xffffffff
jne 0x1401fcc77
mov rcx, r15
call sub.msvcrt.dll_strlen
mov ebx, eax
mov r9, r12
mov r8d, ebx
mov rdx, r15
mov rcx, rsi
mov qword [rsp + 0x20], 0
call fcn.1401fc420
test eax, eax
je 0x1401fce88
call fcn.1401fca10
mov rbx, rax
test rax, rax
je 0x1401fce88
mov eax, dword [rsp + 0x110]
test eax, eax
je 0x1401fce60
lea r14, [rsp + 0x50]
movsxd rax, edi
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x30], rax
mov rax, r14
mov r14, r13
mov r13, rax
mov eax, dword [rsp + 0x3c]
mov rdx, rsi
mov rcx, rbx
mov ebp, edi
cmp dword [rsp + 0x110], edi
cmovle ebp, dword [rsp + 0x110]
bswap eax
mov dword [rsp + 0x4c], eax
call fcn.1401fb2b0
test eax, eax
je 0x1401fce80
cmp qword [rbx], 0
je 0x1401fce80
mov rcx, qword [rbx + 8]
movsxd r8, dword [rsp + 0xf8]
mov rax, qword [rcx + 0x28]
test r8, r8
je 0x1401fcd44
mov rdx, qword [rsp + 0xf0]
call rax
test eax, eax
je 0x1401fce80
cmp qword [rbx], 0
je 0x1401fce80
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x4c]
mov r8d, 4
call qword [rcx + 0x28]
test eax, eax
je 0x1401fce80
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call fcn.1401fc7c0
test eax, eax
je 0x1401fce80
movsxd r15, ebp
mov rdx, r13
mov rcx, r14
mov r12d, 1
mov r8, r15
call sub.msvcrt.dll_memcpy
cmp dword [rsp + 0x100], 1
jle 0x1401fce4b
mov qword [rsp + 0x118], r14
mov rax, r13
mov r14, r15
mov r15, qword [rsp + 0x118]
mov r13d, edi
mov rdi, rax
nop dword [rax]
mov rdx, rsi
mov rcx, rbx
call fcn.1401fb2b0
test eax, eax
je 0x1401fce80
cmp qword [rbx], 0
je 0x1401fce80
mov rax, qword [rbx + 8]
test r13d, r13d
je 0x1401fcdf4
mov r8, qword [rsp + 0x30]
mov rdx, rdi
mov rcx, rax
call qword [rax + 0x28]
test eax, eax
je 0x1401fce80
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.1401fc7c0
test eax, eax
je 0x1401fce80
xor eax, eax
test ebp, ebp
jle 0x1401fce21
nop dword [rax]
movzx edx, byte [rdi + rax]
xor byte [r15 + rax], dl
add rax, 1
cmp r14, rax
jne 0x1401fce10
add r12d, 1
cmp dword [rsp + 0x100], r12d
jne 0x1401fcdb8
mov qword [rsp + 0x118], r15
mov rax, rdi
mov r15, r14
mov r14, qword [rsp + 0x118]
mov edi, r13d
mov r13, rax
add dword [rsp + 0x3c], 1
add r14, r15
sub dword [rsp + 0x110], ebp
jne 0x1401fccd7
mov rcx, rbx
call fcn.1401fc8c0
mov rcx, rsi
call fcn.1401fc8c0
mov eax, 1
jmp 0x1401fce92
mov rcx, rbx
call fcn.1401fc8c0
mov rcx, rsi
call fcn.1401fc8c0
xor eax, eax
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ebx, ebx
lea r15, [0x140431544]
jmp 0x1401fcc77
mov r8d, 0x9f
mov edx, 0xa2
mov ecx, 6
call fcn.1402750a0
jmp 0x1401fce90