joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1803b29e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1805b6a20]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.1803965d0
mov rcx, qword [rsp + 0x78]
call fcn.180396680
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1803b2de0
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1803b2e80
nop
lea rcx, [rsp + 0x38]
call fcn.1803b2c90
lea rax, [0x1803b2ed0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.1803998e0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1803e94a4
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x1803b2aa8
lea rcx, [rsp + 0x50]
call fcn.18039ad80
jmp 0x1803b2abf
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1803e0f40
nop
lea rcx, [rsp + 0x50]
call fcn.1803b2c90
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1803e2650
add rsp, 0x68
ret
Function at 0x1803ba360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, r9
mov r15, rdx
mov r13, rcx
mov r12, qword [r8 + 0x10]
mov r10, qword [r8 + 0x18]
cmp r10, 0x10
jb 0x1803ba3a3
mov r9, qword [r8]
jmp 0x1803ba3a6
mov r9, r8
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test r12, r12
je 0x1803ba3d5
movabs r11, 0x100000001b3
movzx eax, byte [r9 + rcx]
xor rdx, rax
imul rdx, r11
inc rcx
cmp rcx, r12
jb 0x1803ba3c1
mov r9, qword [r13 + 0x30]
and r9, rdx
shl r9, 4
mov qword [rsp + 0x20], r9
mov rax, qword [r13 + 0x18]
mov rsi, qword [r9 + rax]
cmp rsi, qword [r13 + 8]
jne 0x1803ba3f9
mov rdi, qword [r13 + 8]
jmp 0x1803ba401
mov rdi, qword [r9 + rax + 8]
mov rdi, qword [rdi]
cmp rdi, rsi
je 0x1803ba4e1
nop word [rax + rax]
mov rdi, qword [rdi + 8]
lea rdx, [rdi + 0x10]
lea r14, [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1803ba426
mov rdx, qword [rdx]
cmp r10, 0x10
jb 0x1803ba431
mov rcx, qword [r8]
jmp 0x1803ba434
mov rcx, r8
mov r14, qword [r14]
mov r8, r14
cmp r12, r14
cmovb r8, r12
test r8, r8
je 0x1803ba44f
call fcn.1803e5060
test eax, eax
jne 0x1803ba4c7
cmp r12, r14
jb 0x1803ba4c7
ja 0x1803ba4c7
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r13 + 0x10]
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x1803ba4a6
or r14d, 0xffffffff
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x1803ba4a6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], r14d
cmp r14d, 1
jne 0x1803ba4a6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
lea rcx, [rbx + 0x10]
call fcn.180397c10
mov rcx, rbx
call fcn.1803e3444
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x1803ba57c
cmp rdi, rsi
mov r8, qword [rsp + 0x80]
mov r10, qword [r8 + 0x18]
jne 0x1803ba410
mov r9, qword [rsp + 0x20]
mov qword [rsp + 0x80], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x1803ba51e
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r13 + 0x18]
add rdx, r9
mov rax, qword [rdx]
cmp rax, qword [r13 + 8]
jne 0x1803ba53c
mov qword [rdx], rbx
mov rax, qword [r13 + 0x18]
mov qword [r9 + rax + 8], rbx
jmp 0x1803ba568
cmp rax, rdi
jne 0x1803ba546
mov qword [rdx], rbx
jmp 0x1803ba568
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rbx
je 0x1803ba568
mov rdx, qword [r13 + 0x18]
mov rax, qword [rdx + r9 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9 + 8], rcx
mov rcx, r13
call fcn.1803c0840
nop
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1803c2180
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rdx + 0x250]
mov ecx, 2
mov rbx, qword [rax + 0x10]
mov rdi, qword [rax + 8]
call fcn.1803e9f84
mov r9, rax
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1803ea2a4
mov ecx, 2
call fcn.1803e9f84
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1803e9bc8

Function at 0x1803c21e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rdx + 0x250]
mov ecx, 1
mov rbx, qword [rax + 0x10]
mov rdi, qword [rax + 8]
call fcn.1803e9f84
mov r9, rax
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1803ea2a4
mov ecx, 1
call fcn.1803e9f84
mov rcx, rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1803e9bc8

Function at 0x1803c34a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov r10, qword [r8 + 0x20]
mov r9, r8
add r8, 0x10
mov rdi, rdx
mov r11, rcx
cmp qword [r8 + 0x18], 0x10
jb 0x1803c34ca
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r10, r10
je 0x1803c3504
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r10
jb 0x1803c34f0
mov r8, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
cmp qword [rcx + 8], r9
jne 0x1803c3541
cmp qword [rcx], r9
jne 0x1803c3537
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rcx + r8 + 8], rax
jmp 0x1803c354c
mov rax, qword [r9 + 8]
mov qword [rcx + 8], rax
jmp 0x1803c354c
cmp qword [rcx], r9
jne 0x1803c3551
mov rax, qword [r9]
mov qword [rcx], rax
mov r9, qword [rsp + 0x40]
mov rax, qword [r9 + 8]
lea rcx, [r11 + 8]
mov rbx, qword [r9]
mov rdx, r9
mov qword [rax], rbx
mov r8, qword [r9]
mov rax, qword [r9 + 8]
mov qword [r8 + 8], rax
dec qword [rcx + 8]
call fcn.1803c0e80
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1803c8010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, qword [r8 + 0x18]
mov r14, r8
mov rdi, qword [r8 + 0x10]
mov r12, rdx
mov rbp, rcx
cmp r15, 0x10
jb 0x1803c8041
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test rdi, rdi
je 0x1803c8074
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rdi
jb 0x1803c8060
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
mov rbp, qword [rbp + 8]
and rax, rdx
mov rbx, rax
mov qword [rsp + 0x58], rsi
add rax, rax
add rbx, rbx
mov r13, qword [rcx + rax*8]
inc rax
mov rbx, qword [rcx + rbx*8]
lea rax, [rcx + rax*8]
mov qword [rsp + 0x50], rax
cmp r13, rbp
jne 0x1803c80af
mov rax, rbp
jmp 0x1803c80b5
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x1803c8153
lea rcx, [rbx + 0x10]
cmp r15, 0x10
jb 0x1803c80cd
mov rdx, qword [r14]
jmp 0x1803c80d0
mov rdx, r14
cmp qword [rcx + 0x18], 0x10
lea rsi, [rcx + 0x10]
jb 0x1803c80de
mov rcx, qword [rcx]
mov rsi, qword [rsi]
mov r8, rdi
cmp rsi, rdi
cmovb r8, rsi
test r8, r8
je 0x1803c80f9
call fcn.1803e5060
test eax, eax
jne 0x1803c8100
cmp rsi, rdi
jb 0x1803c8100
jbe 0x1803c810a
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x50]
jmp 0x1803c80a5
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
lea rsi, [rdx + 0x10]
jb 0x1803c811c
mov rdx, qword [rdx]
cmp r15, 0x10
jb 0x1803c8125
mov r14, qword [r14]
mov rsi, qword [rsi]
cmp rdi, rsi
mov r8, rsi
cmovb r8, rdi
test r8, r8
je 0x1803c8143
mov rcx, r14
call fcn.1803e5060
test eax, eax
jne 0x1803c814a
cmp rdi, rsi
jb 0x1803c814a
jbe 0x1803c814d
mov rbx, rbp
mov qword [r12], rbx
jmp 0x1803c8157
mov qword [r12], rbp
mov rsi, qword [rsp + 0x58]
mov rax, r12
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1803d0a80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rdi
push r14
xor r10d, r10d
mov qword [rsp + 0x18], rsi
lea r14, [0x18053d390]
mov esi, edx
mov rdi, rcx
mov r11d, r10d
test edx, edx
je 0x1803d0b47
mov qword [rsp + 0x10], rbx
mov rbx, rcx
nop
mov eax, 0xaaaaaaab
mov ecx, r11d
mul r11d
shr edx, 1
lea eax, [rdx + rdx*2]
sub ecx, eax
je 0x1803d0b20
sub ecx, 1
je 0x1803d0aff
cmp ecx, 1
jne 0x1803d0b33
lea eax, [r11 - 1]
movzx edx, byte [rax + rdi]
movzx eax, byte [rbx]
and edx, 0xf
shr eax, 6
lea eax, [rax + rdx*4]
movzx eax, byte [rax + r14]
mov byte [r10 + r8], al
inc r10d
movzx eax, byte [rbx]
and eax, 0x3f
movzx eax, byte [rax + r14]
mov byte [r10 + r8], al
jmp 0x1803d0b30
lea eax, [r11 - 1]
movzx edx, byte [rax + rdi]
movzx eax, byte [rbx]
and edx, 3
shl edx, 4
shr eax, 4
add edx, eax
movzx eax, byte [rdx + r14]
mov byte [r10 + r8], al
jmp 0x1803d0b30
movzx ecx, byte [rbx]
shr rcx, 2
movzx ecx, byte [rcx + r14]
mov byte [r10 + r8], cl
inc r10d
inc r11d
inc rbx
cmp r11d, esi
jb 0x1803d0ab0
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
dec r11d
mov eax, 0xaaaaaaab
mov ecx, r11d
mul r11d
shr edx, 1
lea eax, [rdx + rdx*2]
sub ecx, eax
jne 0x1803d0b81
movzx edx, byte [r11 + rdi]
and edx, 3
add rdx, rdx
movzx eax, byte [r14 + rdx*8]
mov byte [r10 + r8], al
inc r10d
mov byte [r10 + r8], 0x3d
jmp 0x1803d0b97
cmp ecx, 1
jne 0x1803d0ba2
movzx edx, byte [r11 + rdi]
and edx, 0xf
movzx eax, byte [r14 + rdx*4]
mov byte [r10 + r8], al
inc r10d
mov byte [r10 + r8], 0x3d
inc r10d
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov byte [r10 + r8], 0
mov dword [r9], r10d
pop r14
ret

Function at 0x1803d0c00
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x1803d0cd3
push rbx
push rsi
push r15
sub rsp, 0x20
mov qword [rsp + 0x40], rbp
mov rbx, r8
mov qword [rsp + 0x48], rdi
lea rbp, [r9 - 1]
mov rdi, rdx
mov qword [rsp + 0x50], r12
sub rdi, rbx
shr rbp, 4
mov qword [rsp + 0x58], r14
inc rbp
mov rsi, rdx
lea r14, [rdx + 0xf]
mov r15, rcx
cmp rbx, r14
ja 0x1803d0c80
lea rax, [rbx + 0xf]
cmp rax, rsi
jb 0x1803d0c80
mov rax, rbx
mov edx, 0x10
nop dword [rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1803d0c60
jmp 0x1803d0c90
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rsi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov ecx, dword [r15 + 0xf8]
lea rdx, [r15 + 8]
mov r8, rbx
call fcn.1803d23a0
movups xmm0, xmmword [rbx]
add rbx, 0x10
sub rdi, 0x10
movups xmmword [rsi], xmm0
sub rbp, 1
jne 0x1803d0c43
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rsi
pop rbx
ret
Function at 0x1803d1a20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x1805b6a20]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbp, qword [rcx]
mov rdi, rcx
mov r10, r8
mov r14, rdx
mov esi, 1
mov r8, r9
mov rdx, r10
mov rbx, r9
mov ecx, dword [rbp + 8]
shr ecx, 0x17
and ecx, 0xf
shl rsi, cl
lea rcx, [rsp + 0x20]
call fcn.1803e4840
mov edx, dword [rsp + 0x180]
xor eax, eax
test rbx, rbx
je 0x1803d1ade
cmp rbx, 0x20
jb 0x1803d1acd
movsx ecx, dl
mov r8, rbx
and r8, 0xffffffffffffffe0
movd xmm2, ecx
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
nop
movdqu xmm0, xmmword [rsp + rax + 0x20]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rsp + rax + 0x20], xmm0
movdqu xmm0, xmmword [rsp + rax + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x30], xmm1
add rax, 0x20
cmp rax, r8
jb 0x1803d1aa0
cmp rax, rbx
jae 0x1803d1ade
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, rbx
jb 0x1803d1ad2
mov r8, rsi
lea rcx, [rsp + 0x20]
sub r8, rbx
add rcx, rbx
call fcn.1803e5240
mov rcx, rdi
call qword [rbp + 0x10]
mov rax, qword [rdi]
lea rdx, [rsp + 0x20]
mov r8, rsi
mov rcx, rdi
call qword [rax + 0x18]
mov rax, qword [rdi]
mov rdx, r14
mov rcx, rdi
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1803e2650
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1803d2200
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
mov rdi, r8
mov r11, rdx
mov r10, rcx
cmp r8, 0x10
je 0x1803d2238
cmp r8, 0x18
je 0x1803d2231
cmp r8, 0x20
je 0x1803d222a
xor eax, eax
mov rbp, qword [rsp + 0x28]
pop rdi
ret
mov ebp, 0xe
jmp 0x1803d223d
mov ebp, 0xc
jmp 0x1803d223d
mov ebp, 0xa
shr rdi, 2
xor r9d, r9d
mov qword [rsp + 0x10], rbx
xor r8d, r8d
mov qword [rsp + 0x18], rsi
lea esi, [rbp*4 + 4]
movsxd rbx, edi
test edi, edi
jle 0x1803d229c
nop
lea eax, [r9*4]
movsxd rcx, eax
lea r9d, [r9 + 1]
add rcx, r11
movzx eax, byte [rcx + 1]
movzx edx, byte [rcx]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + 3]
shl edx, 8
or edx, eax
mov dword [r10 + r8*4], edx
inc r8
cmp r8, rbx
jl 0x1803d2260
xor r9d, r9d
mov r11d, esi
cmp rbx, r11
jge 0x1803d238d
mov qword [rsp + 0x20], r14
lea rsi, [0x18053db50]
lea r14, [0x18053da50]
sub r11, rbx
mov eax, dword [r10 + rbx*4 - 4]
test r9d, r9d
jne 0x1803d2314
rol eax, 8
mov r8d, eax
shr rax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r14]
mov ecx, r8d
shr rcx, 0x18
movzx ecx, byte [rcx + r14]
shl ecx, 8
or eax, ecx
mov ecx, r8d
shr rcx, 8
shl eax, 8
movzx edx, cl
movzx ecx, byte [rdx + r14]
or eax, ecx
movzx ecx, r8b
shl eax, 8
movzx edx, byte [rcx + r14]
or eax, edx
xor eax, dword [rsi]
jmp 0x1803d2362
cmp rbx, 6
jle 0x1803d2362
cmp r9d, 4
jne 0x1803d2362
mov r8, rax
shr rax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r14]
mov rcx, r8
shr rcx, 0x18
movzx ecx, byte [rcx + r14]
shl ecx, 8
or eax, ecx
mov rcx, r8
shr rcx, 8
movzx edx, cl
shl eax, 8
movzx ecx, byte [rdx + r14]
or eax, ecx
movzx ecx, r8b
shl eax, 8
movzx edx, byte [rcx + r14]
or eax, edx
mov ecx, dword [r10]
inc r9d
xor ecx, eax
mov dword [r10 + rbx*4], ecx
cmp r9d, edi
jne 0x1803d237a
xor r9d, r9d
add rsi, 4
add r10, 4
sub r11, 1
jne 0x1803d22c1
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov eax, ebp
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x10]
pop rdi
ret
Function at 0x1803d80d0
Capabilities:
Encode data using xor

Disassembly:
mov r10d, dword [rcx]
xor r9d, r9d
add r10d, 0x3f
mov r11, rdx
shr r10, 5
cmp r10, 1
jbe 0x1803d812a
neg r8d
lea rax, [rcx + 4]
sub r11, rcx
dec r10
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rax]
mov edx, dword [r11 + rax]
lea rax, [rax + 4]
add edx, ecx
add edx, r9d
mov r9d, edx
btr edx, 0x1f
xor edx, ecx
shr r9d, 0x1f
and edx, r8d
xor edx, ecx
mov dword [rax - 4], edx
sub r10, 1
jne 0x1803d8100
mov eax, r9d
ret
Function at 0x1803d85a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1805b6a20]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r10, rcx
lea rcx, [rsp + 0x20]
call fcn.1803d8680
mov edx, eax
mov ecx, 1
add rdx, rdx
mov r9d, eax
movdqa xmm0, xmmword [rsp + rdx*8 + 0x20]
movdqu xmmword [r10], xmm0
cmp eax, ecx
jbe 0x1803d8613
nop dword [rax]
nop word [rax + rax]
mov r8d, ecx
mov edx, r9d
sub edx, ecx
shl r8d, 4
add rdx, rdx
inc ecx
aesimc xmm1, xmmword [rsp + rdx*8 + 0x20]
movdqu xmmword [r8 + r10], xmm1
cmp ecx, r9d
jb 0x1803d85f0
movdqa xmm0, xmmword [rsp + 0x20]
mov eax, r9d
shl eax, 4
movdqu xmmword [rax + r10], xmm0
mov eax, r9d
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1803e2650
add rsp, 0x128
ret
Function at 0x1803d9a10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
mov esi, 1
xor qword [r8], rax
mov rbx, r8
mov rax, qword [rdx + 8]
mov rdi, rdx
xor qword [r8 + 8], rax
mov ebp, ecx
mov rax, qword [rdx + 0x10]
xor qword [r8 + 0x10], rax
mov rax, qword [rdx + 0x18]
xor qword [r8 + 0x18], rax
mov rax, qword [rdx + 0x20]
xor qword [r8 + 0x20], rax
mov rax, qword [rdx + 0x28]
xor qword [r8 + 0x28], rax
mov rax, qword [rdx + 0x30]
xor qword [r8 + 0x30], rax
mov rax, qword [rdx + 0x38]
xor qword [r8 + 0x38], rax
cmp ecx, esi
jbe 0x1803d9add
mov rcx, rbx
call fcn.1803d8f20
mov rcx, rbx
call fcn.1803d9cc0
call fcn.1803d9b50
lea eax, [rsi*8]
inc esi
mov ecx, eax
mov rax, qword [rdi + rax*8]
xor qword [rbx], rax
mov rax, qword [rdi + rcx*8 + 8]
xor qword [rbx + 8], rax
mov rax, qword [rdi + rcx*8 + 0x10]
xor qword [rbx + 0x10], rax
mov rax, qword [rdi + rcx*8 + 0x18]
xor qword [rbx + 0x18], rax
mov rax, qword [rdi + rcx*8 + 0x20]
xor qword [rbx + 0x20], rax
mov rax, qword [rdi + rcx*8 + 0x28]
xor qword [rbx + 0x28], rax
mov rax, qword [rdi + rcx*8 + 0x30]
xor qword [rbx + 0x30], rax
mov rax, qword [rdi + rcx*8 + 0x38]
xor qword [rbx + 0x38], rax
cmp esi, ebp
jb 0x1803d9a73
mov rcx, rbx
call fcn.1803d8f20
mov rcx, rbx
call fcn.1803d9cc0
mov rsi, qword [rsp + 0x40]
lea ecx, [rbp*8]
mov rax, qword [rdi + rcx*8]
lea rcx, [rdi + rcx*8]
xor qword [rbx], rax
mov rax, qword [rcx + 8]
xor qword [rbx + 8], rax
mov rax, qword [rcx + 0x10]
xor qword [rbx + 0x10], rax
mov rax, qword [rcx + 0x18]
xor qword [rbx + 0x18], rax
mov rax, qword [rcx + 0x20]
xor qword [rbx + 0x20], rax
mov rax, qword [rcx + 0x28]
xor qword [rbx + 0x28], rax
mov rax, qword [rcx + 0x30]
xor qword [rbx + 0x30], rax
mov rax, qword [rcx + 0x38]
xor qword [rbx + 0x38], rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1803dfb80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r15
sub rsp, 0x28
mov edi, dword [r8]
mov r15, r8
mov ebp, edx
mov rsi, rcx
test edi, edi
je 0x1803dfdca
cmp edi, 0x1f
ja 0x1803dfbcd
mov ecx, dword [rcx + 4]
lea r9, [rsp + 0x60]
mov r8d, dword [r8 + 4]
mov edx, ecx
shl edx, 0x1f
or edx, ebp
shr ecx, 1
call fcn.1803e0160
mov eax, dword [rsp + 0x60]
mov dword [rsi + 4], eax
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r12
lea r12d, [rdi + 0x1f]
shr r12, 5
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x20], r14
mov r13d, dword [rcx + r12*4]
lea r8, [r12*4 - 4]
and edi, 0x1f
jne 0x1803dfc1a
lea r14, [rcx + 4]
mov ebx, r13d
mov rdx, r14
add rcx, 8
call fcn.1803e4840
mov dword [r14], ebp
mov r8d, dword [rsi + r12*4]
mov ebp, dword [r15 + r12*4]
jmp 0x1803dfc83
mov edx, dword [rcx + r12*4 - 4]
lea r14, [rsi + 4]
mov ecx, edi
mov eax, r13d
shr edx, cl
mov ebx, 0x1f
sub ebx, edi
mov ecx, ebx
shl eax, cl
lea rcx, [rsi + 8]
or edx, eax
btr edx, 0x1f
mov dword [rsp + 0x60], edx
mov rdx, r14
call fcn.1803e4840
mov dword [r14], ebp
mov ecx, edi
mov r8d, dword [rsi + r12*4 - 4]
mov eax, dword [rsi + r12*4]
mov ebp, dword [r15 + r12*4 - 4]
shr r8d, cl
mov ecx, ebx
shl eax, cl
mov ecx, edi
or r8d, eax
shr ebp, cl
mov eax, dword [r15 + r12*4]
mov ecx, ebx
mov ebx, dword [rsp + 0x60]
btr r8d, 0x1f
shl eax, cl
or ebp, eax
btr ebp, 0x1f
mov edx, ebx
lea r9, [rsp + 0x60]
shl edx, 0x1f
mov ecx, ebx
or edx, r8d
shr ecx, 1
mov r8d, ebp
call fcn.1803e0160
xor ebp, ebx
mov ecx, eax
neg ecx
mov edx, ebp
or ecx, eax
neg edx
or edx, ebp
not ecx
shr ecx, 0x1f
not edx
shr edx, 0x1f
dec ecx
dec eax
neg edx
and ecx, eax
mov r11d, 1
mov eax, ecx
mov dword [rsp + 0x60], r11d
xor eax, 0x7fffffff
xor ebp, ebp
and edx, eax
xor edx, ecx
cmp r12, r11
jb 0x1803dfd6b
mov r10, r15
mov ebx, edx
sub r10, rsi
nop word [rax + rax]
mov r9d, dword [r10 + r14]
mov r8d, dword [r14]
lea r14, [r14 + 4]
mov ecx, r9d
mov eax, ebp
imul rcx, rbx
add rcx, rax
mov eax, ecx
mov rbp, rcx
btr eax, 0x1f
shr rbp, 0x1f
sub r8d, eax
mov eax, r8d
btr r8d, 0x1f
shr eax, 0x1f
mov edx, r8d
xor edx, r9d
mov dword [r14 - 4], r8d
add ebp, eax
mov ecx, edx
mov eax, r9d
neg ecx
sub eax, r8d
or ecx, edx
mov r9d, eax
not ecx
xor r9d, r8d
shr ecx, 0x1f
and r9d, edx
neg ecx
xor r9d, eax
shr r9d, 0x1f
mov eax, r9d
xor eax, r11d
mov r11d, ecx
and r11d, eax
xor r11d, r9d
sub r12, 1
jne 0x1803dfcf0
mov dword [rsp + 0x60], r11d
mov eax, r13d
mov ebx, ebp
sub eax, ebp
xor ebx, r13d
mov edi, eax
mov rdx, r15
xor edi, ebp
mov rcx, rsi
and edi, ebx
sub ebp, r13d
xor edi, eax
shr edi, 0x1f
mov r8d, edi
call fcn.1803d80d0
mov r8d, ebp
not edi
xor r8d, r13d
mov rdx, r15
and r8d, ebx
mov rcx, rsi
xor r8d, ebp
shr r8d, 0x1f
or r8d, dword [rsp + 0x60]
and r8d, edi
call fcn.1803d8130
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbp
ret
Function at 0x1803dff40
Capabilities:
Encode data using xor

Disassembly:
mov r10d, ecx
test r9, r9
je 0x1803dff6c
neg r10b
sub r8, rdx
nop
movzx eax, byte [rdx]
movzx ecx, byte [r8 + rdx]
lea rdx, [rdx + 1]
xor cl, al
and cl, r10b
xor cl, al
mov byte [rdx - 1], cl
sub r9, 1
jne 0x1803dff50
ret

Function at 0x1803e0160
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
xor ebp, ebp
mov eax, ecx
xor eax, r8d
mov r11d, ecx
mov r10d, eax
mov r14, r9
neg r10d
mov edi, r8d
or r10d, eax
mov ebx, edx
not r10d
mov esi, 1
shr r10d, 0x1f
dec r10d
and r11d, r10d
lea r10d, [rbp + 0x1f]
nop word [rax + rax]
mov ecx, esi
mov edx, r11d
shl edx, cl
mov eax, ebx
mov ecx, r10d
shr eax, cl
or edx, eax
mov r8d, edx
xor edx, edi
sub r8d, edi
mov r9d, r8d
mov eax, r8d
xor r9d, edi
not eax
and r9d, edx
xor r9d, eax
mov eax, r11d
shr eax, cl
mov ecx, esi
shr r8d, cl
inc esi
shr r9d, 0x1f
mov ecx, r10d
or r9d, eax
xor r8d, r11d
mov edx, r9d
mov eax, edi
shl eax, cl
neg edx
mov ecx, ebx
and r8d, edx
sub ecx, eax
xor r11d, r8d
xor ecx, ebx
and ecx, edx
xor ebx, ecx
mov ecx, r10d
shl r9d, cl
dec r10d
or ebp, r9d
cmp esi, 0x20
jl 0x1803e01b0
mov rsi, qword [rsp + 0x20]
mov r8d, ebx
sub r8d, edi
mov eax, ebx
xor eax, edi
mov edx, r8d
xor edx, edi
mov rdi, qword [rsp + 0x28]
and edx, eax
mov eax, r8d
xor r8d, ebx
not eax
xor edx, eax
shr edx, 0x1f
or edx, r11d
mov ecx, edx
neg ecx
and r8d, ecx
xor r8d, ebx
mov rbx, qword [rsp + 0x10]
or edx, ebp
mov dword [r14], r8d
mov rbp, qword [rsp + 0x18]
mov eax, edx
pop r14
ret
Function at 0x1804154f0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov rcx, qword [rsp + 0x100]
call fcn.180397ae0
xor edx, edx
mov rcx, rax
call fcn.1803ee09c
test eax, eax
je 0x18041566a
mov rcx, qword [rsp + 0x100]
call fcn.180397ae0
mov rcx, rax
call fcn.1803ef550
test eax, eax
jne 0x1804155de
mov dword [rsp + 0x28], 2
movzx eax, byte [0x18054fb56]
mov byte [rsp + 0x2c], al
lea rax, [rsp + 0x2d]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
mov dword [rsp + 0x3c], 0x28
lea rax, [0x180551610]
mov qword [rsp + 0x40], rax
lea rax, [0x180551670]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
lea rcx, [rsp + 0x28]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x100]
call fcn.180397ae0
mov r8, rax
lea rdx, str.create_dir_success._log_dir:_s_n
lea rcx, [rsp + 0x80]
call qword [sym.imp.kestrel_log.dll_kestrel_log]
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x100]
call fcn.180397c10
movzx eax, byte [rsp + 0x20]
jmp 0x180415681
mov dword [rsp + 0x50], 4
movzx eax, byte [0x18054fb57]
mov byte [rsp + 0x54], al
lea rax, [rsp + 0x55]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
mov dword [rsp + 0x64], 0x2d
lea rax, [0x180551680]
mov qword [rsp + 0x68], rax
lea rax, str.createDir
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
lea rdx, str.create_dir_failure._n
lea rcx, [rsp + 0xb0]
call qword [sym.imp.kestrel_log.dll_kestrel_log]
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0x100]
call fcn.180397c10
movzx eax, byte [rsp + 0x21]
jmp 0x180415681
mov byte [rsp + 0x22], 1
mov rcx, qword [rsp + 0x100]
call fcn.180397c10
movzx eax, byte [rsp + 0x22]
add rsp, 0xe8
pop rdi
pop rsi
ret