joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14010ac70
Capabilities:
Read file on windows

Disassembly:
push rbx
push r12
sub rsp, 0x68
mov rax, qword [rcx + 0x49868]
mov r12d, edx
mov rbx, rcx
test dword [rax + 0xc0], 0x40000
je 0x14010ae4d
mov qword [rsp + 0x40], r15
call fcn.1400fbbe0
movzx r15d, ax
test r15d, r15d
je 0x14010ae48
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x88], rbp
mov esi, 0x4949
lea r13, [0x140221060]
mov qword [rsp + 0x58], rdi
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x98]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov edx, r12d
mov rcx, rbx
dec r15d
mov qword [rsp + 0x20], rax
call fcn.1401187c0
mov r14d, dword [rsp + 0x90]
cmp r14d, 0x100
ja 0x14010ae0d
mov edi, dword [rsp + 0x98]
cmp edi, 0xd
ja 0x14010ae0d
mov rcx, qword [rbx + 0x49868]
xor edx, edx
cmp word [rbx], si
setne dl
call fcn.14005aac0
mov rcx, qword [rbx + 0x49868]
call fcn.14005ab00
mov rsi, rax
test rax, rax
je 0x14010adf0
mov ebp, dword [r13 + rdi*4]
movzx ecx, word [rsp + 0x30]
mov dword [rax + 4], 0x10
imul ebp, r14d
mov word [rax], cx
mov word [rax + 2], di
mov dword [rax + 8], r14d
cmp ebp, 4
jle 0x14010adb7
movsxd rdi, ebp
mov rcx, rdi
call fcn.1401bee78
mov dword [rsi + 0x10], ebp
mov r8d, 1
mov qword [rsi + 0x18], rax
mov r9, qword [rbx + 0x55ba0]
mov rdx, rdi
mov rcx, rax
call fcn.1401c1e14
jmp 0x14010adf0
cmp ebp, 2
jne 0x14010ade5
cmp edi, ebp
jne 0x14010add8
mov r9, qword [rbx + 0x55ba0]
lea rcx, [rax + 0xc]
lea edx, [rbp - 1]
mov r8d, ebp
call fcn.1401c1e14
jmp 0x14010adf0
mov rcx, rbx
call fcn.1400fbbe0
movzx eax, ax
jmp 0x14010aded
mov rcx, rbx
call fcn.1400fbc20
mov dword [rsi + 0xc], eax
mov edx, dword [rsp + 0x80]
mov rcx, qword [rbx + 0x55ba0]
xor r8d, r8d
call fcn.1401c1f88
mov esi, 0x4949
jmp 0x14010ae23
mov edx, dword [rsp + 0x80]
mov rcx, qword [rbx + 0x55ba0]
xor r8d, r8d
call fcn.1401c1f88
test r15d, r15d
jne 0x14010ace0
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x88]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop r12
pop rbx
ret
Function at 0x14010cf80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x30
movzx eax, word [rcx]
xor esi, esi
mov rbx, rcx
mov rcx, qword [rcx + 0x55ba0]
xor r8d, r8d
mov edi, edx
mov word [rsp + 0x60], ax
mov r13d, esi
mov ebp, esi
mov dword [rsp + 0x70], esi
call fcn.1401c1f88
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c3f28
test eax, eax
jne 0x14010d19d
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c3f28
cmp eax, 0x4d
jne 0x14010d19d
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c3f28
cmp eax, 0x52
jne 0x14010d19d
mov rcx, qword [rbx + 0x55ba0]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x20], r15
call fcn.1401c3f28
mov ecx, 0x101
imul ax, cx
mov rcx, rbx
mov word [rbx], ax
call fcn.1400fbc20
mov rcx, qword [rbx + 0x55ba0]
lea r12d, [rdi + 8]
add r12d, eax
call fcn.1401c2310
mov r15d, eax
cmp eax, r12d
jge 0x14010d17c
mov qword [rsp + 0x28], r14
nop
mov edi, esi
mov esi, 4
nop word [rax + rax]
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c3f28
shl edi, 8
or edi, eax
dec rsi
jne 0x14010d050
mov rcx, rbx
call fcn.1400fbc20
mov r14d, eax
cmp edi, 0x505244
je 0x14010d114
cmp edi, 0x545457
je 0x14010d0f5
cmp edi, 0x574247
jne 0x14010d144
mov rcx, rbx
call fcn.1400fbc20
lea rcx, [rbx + 0x25d]
lea rdx, str.DiMAGE_A200
call fcn.1401c3380
mov rdi, rsi
mov ecx, 3
test eax, eax
lea esi, [rdi + 4]
cmovne ecx, edi
movsxd rbp, ecx
nop
mov rcx, rbx
call fcn.1400fbbe0
movzx eax, ax
movd xmm0, eax
mov rax, rdi
sar rax, 1
xor rax, rdi
inc rdi
xor rax, rbp
cvtdq2ps xmm0, xmm0
movss dword [rbx + rax*4 + 0x2469c], xmm0
dec rsi
jne 0x14010d0c0
mov ebp, dword [rsp + 0x70]
jmp 0x14010d144
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov rcx, rbx
mov edx, eax
call fcn.14010e850
mov dword [rbx + 0x3e0], r12d
jmp 0x14010d144
mov rcx, qword [rbx + 0x55ba0]
mov edx, 8
lea r8d, [rdx - 7]
call fcn.1401c1f88
mov rcx, rbx
call fcn.1400fbbe0
mov rcx, rbx
movzx r13d, ax
call fcn.1400fbbe0
movzx ebp, ax
mov dword [rsp + 0x70], ebp
mov rcx, qword [rbx + 0x55ba0]
lea edx, [r14 + 8]
xor r8d, r8d
add edx, r15d
call fcn.1401c1f88
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov esi, 0
mov r15d, eax
cmp eax, r12d
jl 0x14010d040
mov r14, qword [rsp + 0x28]
movzx eax, word [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x68]
mov word [rbx], ax
mov word [rbx + 0x44f0], r13w
mov word [rbx + 0x44f2], bp
add rsp, 0x30
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14010dbb0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x20
mov eax, 0x4d4d
mov rbx, rcx
mov ebp, edx
mov word [rcx], ax
mov rcx, qword [rcx + 0x55ba0]
call fcn.1401c2310
add eax, 7
cmp eax, ebp
jge 0x14010dca7
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rdi
nop dword [rax + rax]
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov rcx, rbx
mov esi, eax
call fcn.1400fbc20
mov edi, eax
cmp eax, 8
jb 0x14010dc9d
mov r9, qword [rbx + 0x55ba0]
mov edx, 4
lea rcx, [rsp + 0x38]
lea r8d, [rdx - 3]
call fcn.1401c1e14
mov ecx, dword [rsp + 0x38]
cmp ecx, dword [str.moov]
je 0x14010dc47
cmp ecx, dword [str.udta]
je 0x14010dc47
cmp ecx, dword [str.CNTH]
jne 0x14010dc56
lea edx, [rdi + rsi]
mov rcx, rbx
call fcn.14010dbb0
mov ecx, dword [rsp + 0x38]
cmp ecx, dword [str.CNDA]
jne 0x14010dc74
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov rcx, rbx
mov edx, eax
call fcn.14010ae60
mov rcx, qword [rbx + 0x55ba0]
lea edx, [rdi + rsi]
xor r8d, r8d
call fcn.1401c1f88
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
add eax, 7
cmp eax, ebp
jl 0x14010dbf0
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
Function at 0x14010de70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r9, qword [rcx + 0x55ba0]
mov eax, 0x4949
mov edx, 4
mov word [rcx], ax
mov rbx, rcx
lea r8d, [rdx - 3]
lea rcx, [rsp + 0x40]
call fcn.1401c1e14
mov rcx, rbx
call fcn.1400fbc20
mov rcx, qword [rbx + 0x55ba0]
mov edi, eax
call fcn.1401c2310
mov ecx, dword [rsp + 0x40]
cmp ecx, dword [str.RIFF]
lea esi, [rdi + rax]
je 0x14010e080
cmp ecx, dword [str.LIST]
je 0x14010e080
cmp ecx, dword [str.nctg]
jne 0x14010df6b
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
add eax, 7
cmp eax, esi
jae 0x14010e0d3
nop dword [rax]
mov rcx, rbx
call fcn.1400fbbe0
mov rcx, rbx
movzx edi, ax
call fcn.1400fbbe0
movzx edx, ax
lea eax, [rdi + 1]
and eax, 0xfffffffe
cmp eax, 0x14
jne 0x14010df41
cmp edx, eax
jne 0x14010df41
xor edx, edx
mov rcx, rbx
call fcn.1400fc010
jmp 0x14010df53
mov rcx, qword [rbx + 0x55ba0]
mov r8d, 1
call fcn.1401c1f88
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
add eax, 7
cmp eax, esi
jb 0x14010df10
jmp 0x14010e0d3
cmp ecx, dword [str.IDIT]
jne 0x14010e06a
cmp edi, 0x40
jae 0x14010e06a
mov r9, qword [rbx + 0x55ba0]
mov edx, 0x40
lea rcx, [rsp + 0x70]
lea r8d, [rdx - 0x3f]
call fcn.1401c1e14
cmp rdi, 0x40
jae 0x14010e0f8
xor eax, eax
lea r9, [rsp + 0x54]
lea r8, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
lea rdx, str._s__s__d__d:_d:_d__d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov byte [rsp + rdi + 0x70], 0
mov qword [rsp + 0x20], rax
call fcn.1401be96c
cmp eax, 6
jne 0x14010e0d3
xor edi, edi
lea rsi, [0x140222d38]
nop dword [rax + rax]
lea rcx, [rsi + rdi*4]
lea rdx, [rsp + 0xb0]
call fcn.14005a590
test eax, eax
je 0x14010e03c
inc edi
cmp edi, 0xc
jb 0x14010e020
sub dword [rsp + 0x5c], 0x76c
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x58], edi
call fcn.1401c3304
test rax, rax
jle 0x14010e0d3
lea rcx, [rsp + 0x48]
call fcn.1401c3304
mov qword [rbx + 0x3c0], rax
jmp 0x14010e0d3
mov rcx, qword [rbx + 0x55ba0]
mov r8d, 1
mov edx, edi
call fcn.1401c1f88
jmp 0x14010e0d3
mov rcx, rbx
call fcn.1400fbc20
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov rcx, qword [rbx + 0x55ba0]
mov edi, eax
call fcn.1401c2310
lea ecx, [rax + 7]
mov edx, eax
cmp ecx, esi
jae 0x14010e0d3
nop dword [rax + rax]
cmp edx, edi
je 0x14010e0d3
mov rcx, rbx
mov edi, edx
call fcn.14010de70
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov edx, eax
add eax, 7
cmp eax, esi
jb 0x14010e0b0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401bd600
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1401be39c
int3
Function at 0x14010e430
Capabilities:
Read file on windows

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, 0x4949
xor r8d, r8d
mov rdi, rcx
mov word [rcx], ax
mov rcx, qword [rcx + 0x55ba0]
lea edx, [r8 + 4]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rsi
call fcn.1401c1f88
mov rcx, rdi
call fcn.1400fbc20
mov rcx, rdi
mov esi, eax
call fcn.1400fbc20
mov rcx, qword [rdi + 0x55ba0]
mov edx, eax
xor r8d, r8d
call fcn.1401c1f88
test esi, esi
je 0x14010e572
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
lea r15, str.RAW0
lea rbp, str.META
lea r14, str.THUMB
nop dword [rax]
mov rcx, rdi
dec esi
call fcn.1400fbc20
mov rcx, rdi
mov ebx, eax
call fcn.1400fbc20
mov r9, qword [rdi + 0x55ba0]
mov edx, 8
lea rcx, [rsp + 0x20]
lea r8d, [rdx - 7]
call fcn.1401c1e14
xor ecx, ecx
lea rdx, [rsp + 0x20]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rcx + rbp - 1]
jne 0x14010e519
cmp rcx, 5
jne 0x14010e500
mov dword [rdi + 0x3e8], ebx
xor ecx, ecx
lea rdx, [rsp + 0x20]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r14 + rcx - 1]
jne 0x14010e53a
cmp rcx, 6
jne 0x14010e520
mov dword [rdi + 0x3e4], ebx
xor eax, eax
lea rdx, [rsp + 0x20]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r15 + rax - 1]
jne 0x14010e55b
cmp rax, 5
jne 0x14010e541
mov dword [rdi + 0x3e0], ebx
test esi, esi
jne 0x14010e4c0
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
mov edx, dword [rdi + 0x3e8]
mov rcx, qword [rdi + 0x55ba0]
xor r8d, r8d
add edx, 0x14
call fcn.1401c1f88
mov r9, qword [rdi + 0x55ba0]
mov edx, 0x40
lea r8d, [rdx - 0x3f]
lea rcx, [rdi + 0x21d]
call fcn.1401c1e14
lea rcx, [rdi + 0x21d]
mov edx, 0x20
mov byte [rdi + 0x25c], 0
call fcn.1401beaec
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
test rax, rax
je 0x14010e5f2
lea rdx, [rax + 1]
lea r8, [rdi + 0x25d]
sub r8, rdx
nop dword [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8 + rdx - 1], cl
test cl, cl
jne 0x14010e5e0
mov byte [rax], cl
mov rcx, rdi
call fcn.1400fbbe0
mov rcx, rdi
mov word [rdi + 0x44f2], ax
call fcn.1400fbbe0
mov rcx, rdi
mov word [rdi + 0x44f0], ax
lea rax, [0x140118870]
mov qword [rdi + 0x44720], rax
call fcn.1400fbc20
mov rcx, rdi
call fcn.1400fbbe0
mov rcx, rdi
mov word [rdi + 0x4504], ax
call fcn.1400fbbe0
mov dword [rdi + 0x4440], 0x3fff
mov word [rdi + 0x4506], ax
lea rax, [0x1401134e0]
mov qword [rdi + 0x44728], rax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x40
pop rdi
ret
Function at 0x1401144b0
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 r9, qword [rcx + 0x55ba0]
mov rdi, rdx
movsxd r14, r8d
mov rsi, rcx
mov edx, 2
mov r8, r14
mov rcx, rdi
call fcn.1401c1e14
cmp rax, r14
jae 0x1401144f2
mov rcx, rsi
call fcn.1400f6b80
mov ebx, 0x1234
mov ecx, ebx
call fcn.140065f90
xor edx, edx
cmp ax, bx
mov ecx, edx
mov eax, 0x4949
sete cl
cmp word [rsi], ax
sete dl
cmp edx, ecx
jne 0x140114526
lea r8d, [r14 + r14]
mov rdx, rdi
mov rcx, rdi
call fcn.1401eba4c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140115070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
xor edi, edi
mov r11, rcx
mov r8d, edi
mov dword [rsp + 0x70], edi
cmp di, word [rcx + 0x44f4]
jae 0x1401152cb
mov qword [rax - 0x10], rbx
mov qword [rax - 0x18], rbp
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
nop dword [rax]
movzx r15d, word [r11 + 0x44f6]
mov r13d, edi
test r15d, r15d
je 0x14011528f
mov eax, r8d
and eax, 7
lea r10d, [rax + rax]
mov eax, r8d
and eax, 7
mov dword [rsp], r10d
add eax, eax
mov dword [rsp + 0x88], eax
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [r11 + 0x44fc]
movzx eax, word [r11 + 0x4500]
mov r9d, r8d
shr r9d, cl
imul r9d, eax
mov eax, r13d
shr eax, cl
add r9d, eax
mov eax, r13d
and eax, 1
shl r9, 2
lea edx, [rax + r10]
mov r10, qword [r11 + 0x4510]
mov dword [rsp + 0x80], eax
mov eax, dword [r11 + 0x3d0]
lea ecx, [rdx + rdx]
mov qword [rsp + 0x10], r9
mov qword [rsp + 8], rax
shr rax, cl
mov qword [rsp + 0x18], r10
and eax, 3
add rax, r9
cmp word [r10 + rax*2], 0
jne 0x140115277
lea eax, [r8 + 2]
mov ebx, edi
mov esi, edi
lea r9d, [rax - 4]
mov dword [rsp + 0x78], eax
cmp r9d, eax
ja 0x140115277
lea r12d, [rdx + rdx]
nop dword [rax]
lea edi, [r13 + 2]
lea edx, [rdi - 4]
cmp edx, edi
ja 0x140115231
movzx r14d, word [r11 + 0x44f4]
mov ebp, r9d
and ebp, 7
add ebp, ebp
nop
cmp r9d, r14d
jae 0x140115223
cmp edx, r15d
jae 0x140115223
mov eax, edx
mov ecx, r12d
and eax, 1
add eax, ebp
lea r10d, [rax + rax]
mov eax, dword [r11 + 0x3d0]
mov r8d, eax
shr r8d, cl
mov ecx, r10d
shr eax, cl
xor r8d, eax
test r8b, 3
jne 0x140115223
movzx ecx, word [r11 + 0x44fc]
movzx eax, word [r11 + 0x4500]
mov r8d, r9d
shr r8d, cl
imul r8d, eax
mov eax, edx
shr eax, cl
movzx ecx, r10b
add r8d, eax
mov eax, dword [r11 + 0x3d0]
shr rax, cl
and eax, 3
lea rcx, [rax + r8*4]
mov rax, qword [r11 + 0x4510]
movzx r8d, word [rax + rcx*2]
test r8w, r8w
je 0x140115223
movzx eax, r8w
inc ebx
add esi, eax
inc edx
cmp edx, edi
jbe 0x1401151a0
mov eax, dword [rsp + 0x78]
inc r9d
cmp r9d, eax
jbe 0x140115180
mov r8d, dword [rsp + 0x70]
test ebx, ebx
je 0x140115275
mov ecx, dword [rsp + 0x80]
xor edx, edx
mov eax, esi
add ecx, dword [rsp + 0x88]
div ebx
mov rdx, qword [rsp + 8]
add ecx, ecx
shr rdx, cl
mov rcx, qword [rsp + 0x18]
and edx, 3
add rdx, qword [rsp + 0x10]
mov word [rcx + rdx*2], ax
xor edi, edi
movzx r15d, word [r11 + 0x44f6]
mov r10d, dword [rsp]
inc r13d
cmp r13d, r15d
jb 0x1401150f0
movzx eax, word [r11 + 0x44f4]
inc r8d
mov dword [rsp + 0x70], r8d
cmp r8d, eax
jb 0x1401150b0
mov r15, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x60
pop rdi
ret
Function at 0x140116df0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov r9, qword [rcx + 0x55ba0]
xor r13d, r13d
mov rbp, r8
mov rbx, rcx
lea rcx, [rsp + 0x80]
lea edx, [r13 + 3]
lea r8d, [r13 + 1]
mov esi, r13d
mov r12d, r13d
mov r15d, r13d
call fcn.1401c1e14
mov rcx, qword [rbx + 0x55ba0]
mov r14d, r13d
call fcn.1401c1a94
mov edi, dword [rsp + 0x88]
test eax, eax
jne 0x140116f71
nop word [rax + rax]
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c3f28
cmp byte [rsp + 0x80], 0xff
mov byte [rsp + 0x83], al
jne 0x140116f30
cmp byte [rsp + 0x81], 0xd8
jne 0x140116f30
cmp byte [rsp + 0x82], 0xff
jne 0x140116f30
cmp al, 0xdb
jne 0x140116f30
inc esi
cmp dword [rbx + 0x4458], r13d
jne 0x140116fa1
cmp dword [rbp + 0xd4], 0xffffffff
jne 0x140116fa1
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov rcx, qword [rsp + 0x88]
xor r8d, r8d
mov rcx, qword [rcx]
mov ebp, eax
lea edx, [rbp - 4]
call fcn.1401c1f88
mov rcx, qword [rsp + 0x88]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x98]
call fcn.140076890
test ax, ax
je 0x140116f28
mov eax, dword [rsp + 0x98]
cmp eax, r15d
jle 0x140116f28
mov ecx, dword [rsp + 0x20]
cmp ecx, r12d
jle 0x140116f28
mov r15d, eax
mov r12d, ecx
mov r14d, 1
lea edi, [rbp - 4]
mov rbp, qword [rsp + 0x90]
movzx ecx, byte [rsp + 0x81]
movzx eax, byte [rsp + 0x83]
mov byte [rsp + 0x80], cl
movzx ecx, byte [rsp + 0x82]
mov byte [rsp + 0x82], al
mov byte [rsp + 0x81], cl
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c1a94
test eax, eax
je 0x140116e60
mov rax, qword [rsp + 0x88]
xor r8d, r8d
mov edx, edi
mov rcx, qword [rax]
call fcn.1401c1f88
test r14d, r14d
cmovne r13d, edi
mov eax, r13d
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rbx + 0x55ba0]
call fcn.1401c2310
mov r14d, 1
lea edi, [rax - 4]
cmp dword [rbx + 0x4458], r13d
je 0x140116f30
cmp esi, 2
je 0x140116f71
jmp 0x140116f30
Function at 0x140117d10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, r8d
mov rdi, rdx
lea rsi, [0x1402ad280]
test r9d, r9d
je 0x140117de2
mov eax, dword [rsp + 0x50]
mov rcx, rsi
mov r8d, 4
nop dword [rax]
nop word [rax + rax]
imul eax, eax, 0x2e90edd
lea rcx, [rcx + 4]
inc eax
mov dword [rcx - 4], eax
dec r8
jne 0x140117d50
mov eax, dword [0x1402ad28c]
mov ecx, dword [0x1402ad288]
lea r8, [0x1402ad28c]
xor ecx, dword [0x1402ad280]
add eax, eax
mov r9d, 0x7b
shr ecx, 0x1f
or ecx, eax
mov dword [0x1402ad28c], ecx
mov ecx, dword [r8 - 0xc]
mov eax, dword [r8 - 8]
lea r8, [r8 + 4]
xor ecx, dword [r8 - 8]
xor eax, dword [r8 - 4]
add ecx, ecx
shr eax, 0x1f
or ecx, eax
mov dword [r8], ecx
dec r9
jne 0x140117d90
xor eax, eax
mov dword [0x1402ad480], eax
nop dword [rax + rax]
mov ecx, dword [rsi + rax*4]
call fcn.140065f60
mov edx, eax
mov eax, dword [0x1402ad480]
mov dword [rsi + rax*4], edx
inc eax
mov dword [0x1402ad480], eax
cmp eax, 0x7f
jb 0x140117dc0
jmp 0x140117de8
mov eax, dword [0x1402ad480]
test ebx, ebx
je 0x140117e29
nop dword [rax]
mov ecx, eax
dec ebx
inc eax
test ecx, ecx
je 0x140117e23
mov ecx, eax
lea edx, [rax - 0x40]
add rdi, 4
and ecx, 0x7f
and edx, 0x7f
mov r8d, dword [rsi + rdx*4]
xor r8d, dword [rsi + rcx*4]
lea ecx, [rax - 1]
xor dword [rdi - 4], r8d
and ecx, 0x7f
mov dword [rsi + rcx*4], r8d
test ebx, ebx
jne 0x140117df0
mov dword [0x1402ad480], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14011d590
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r13
push r14
sub rsp, 0x38
mov ebx, dword [rsp + 0x80]
mov r14, rcx
xor ecx, ecx
mov r13, r8
mov edi, ecx
mov dword [rsp + 0x24], ecx
test ebx, ebx
jle 0x14011d6f7
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x30], r15
mov esi, ecx
mov ebp, ecx
mov rcx, r14
call fcn.140066da0
movzx r12d, ax
test r12d, r12d
jle 0x14011d6a9
nop dword [rax]
mov r9, qword [r14]
mov edx, 1
lea rcx, [rsp + 0x21]
mov r8d, edx
call fcn.1401c1e14
movzx eax, byte [rsp + 0x21]
inc esi
test al, 1
je 0x14011d619
movzx eax, al
shr eax, 1
add ebp, eax
jmp 0x14011d695
movsxd r15, ebp
test al, 2
je 0x14011d652
mov r9, qword [r14]
mov edx, 1
movzx ebx, al
lea rcx, [rsp + 0x20]
mov r8d, edx
shr ebx, 2
call fcn.1401c1e14
inc ebx
je 0x14011d64e
movzx eax, byte [rsp + 0x20]
lea rdi, [r15 + r13]
mov ecx, ebx
rep stosb byte [rdi], al
add ebp, ebx
inc esi
jmp 0x14011d695
movzx edi, al
shr edi, 2
inc edi
je 0x14011d695
add esi, edi
lea rbx, [r15 + r13]
mov eax, edi
add ebp, edi
nop word [rax + rax]
mov r9, qword [r14]
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
call fcn.1401c1e14
movzx eax, byte [rsp + 0x20]
lea rbx, [rbx + 1]
mov byte [rbx - 1], al
dec edi
jne 0x14011d670
cmp esi, r12d
jl 0x14011d5f0
mov edi, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
or r8d, 0xffffffff
mov r9d, 1
or edx, r8d
call fcn.1400615b0
test ax, ax
jne 0x14011d6d8
inc edi
mov ecx, 0
mov dword [rsp + 0x24], edi
cmp edi, ebx
jl 0x14011d5d0
mov r12, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r13
pop rdi
pop rbx
ret
movzx eax, cx
add rsp, 0x38
pop r14
pop r13
pop rdi
pop rbx
ret
Function at 0x14011e5e0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r9, qword [rcx]
mov eax, edx
mov ebx, edx
mov edx, 0x20
lea rcx, [rsp + 0x20]
mov r8d, 1
cmp eax, edx
cmovg eax, edx
movsxd rdx, eax
call fcn.1401c1e14
mov eax, 0x1f
cmp ebx, eax
cmovg ebx, eax
movsxd rax, ebx
cmp rax, 0x20
jae 0x14011e64e
lea rcx, [rsp + 0x20]
mov byte [rsp + rax + 0x20], 0
call fcn.1401bee6c
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x50
pop rbx
ret
call fcn.1401be39c
int3

Function at 0x14011eff0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x80
movsxd rsi, dword [rsp + 0xd0]
mov rbx, rcx
mov ebp, r9d
mov rcx, rsi
mov r14d, r8d
mov r15, rdx
call fcn.1401bee78
mov r13, rax
test rax, rax
jne 0x14011f036
lea eax, [r13 + 1]
jmp 0x14011f137
mov r9, qword [rbx]
mov ebx, 1
mov rdx, rsi
mov r8d, ebx
mov rcx, rax
call fcn.1401c1e14
lea rax, [0x1400e7320]
lea r8d, [rbx + 0x57]
mov qword [rsp + 0x50], rax
lea rax, [fcn.140169310]
lea rdx, [0x14021128c]
lea rcx, [rsp + 0x20]
xor edi, edi
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x60], rdi
call fcn.140150550
test eax, eax
jne 0x14011f134
mov esi, edi
test ebp, ebp
jle 0x14011f122
mov qword [rsp + 0xb0], r12
mov r12, qword [rsp + 0xd8]
nop dword [rax + rax]
mov rax, qword [r15 + 0x10]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], rax
nop
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.14014ec60
cmp eax, ebx
je 0x14011f0e9
cmp eax, 0xfffffffd
jne 0x14011f0df
lea rcx, [rsp + 0x20]
call fcn.140150710
test eax, eax
jne 0x14011f0e9
cmp dword [rsp + 0x38], eax
ja 0x14011f0c0
or r8d, 0xffffffff
mov r9d, ebx
mov rcx, r12
or edx, r8d
call fcn.1400615b0
movzx edi, ax
test ax, ax
jne 0x14011f11a
cmp dword [rsp + 0x38], 0
jne 0x14011f112
inc esi
cmp esi, ebp
jl 0x14011f0b0
jmp 0x14011f11a
mov eax, 4
movzx edi, ax
mov r12, qword [rsp + 0xb0]
mov rcx, r13
call fcn.1401be23c
lea rcx, [rsp + 0x20]
call fcn.140150410
movzx eax, di
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret