joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043a70
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
xor r11d, r11d
mov r10d, edx
mov edi, r8d
mov rbx, rcx
mov esi, 0xffffffff
test edx, edx
jne 0x140043ab1
mov eax, dword [rcx]
test eax, eax
je 0x140043aa1
bsf ecx, eax
cmp ecx, r8d
jb 0x140043aab
mov ecx, r8d
shr eax, cl
mov dword [rbx], eax
xor eax, eax
mov rbx, qword [rsp + 0x30]
pop rdi
pop rsi
ret
shr eax, cl
mov dword [rbx], eax
sub edi, ecx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r15
mov r15d, 1
cmp edi, 0x12
jbe 0x140043b53
mov edx, r9d
and r9b, 0x30
shr edx, 0x18
lea r8d, [rdx - 1]
cmp r9b, 0x20
jne 0x140043aff
mov eax, 0x38e38e39
mov r14d, 0x3f
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
sub r14d, edx
jmp 0x140043b60
bsr ecx, dword [rbx + r10*4]
imul eax, r10d, 0x1d
mov esi, r10d
sub eax, edi
add eax, ecx
mov ecx, r15d
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1400b21e0]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, 0x38e38e39
sub ecx, edx
imul ecx
mov eax, r8d
sar edx, 1
mov r14d, edx
add edx, 0x3e
shr r14d, 0x1f
add r14d, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
sub esi, eax
add esi, 0x3d
jmp 0x140043b60
mov r14d, esi
cmp edi, 9
jb 0x140043bfd
nop
mov ecx, dword [rbx + r10*4]
mov r8d, r10d
mov eax, ecx
and ecx, 0x1ff
shr eax, 9
imul r9d, ecx, 0x1dcd65
mov dword [rbx + r10*4], eax
cmp r10d, r11d
je 0x140043bb9
nop dword [rax]
nop word [rax + rax]
dec r8d
and r8d, 0x3f
mov edx, dword [rbx + r8*4]
mov eax, edx
shr eax, 9
and edx, 0x1ff
add eax, r9d
imul r9d, edx, 0x1dcd65
mov dword [rbx + r8*4], eax
cmp r8d, r11d
jne 0x140043b90
cmp r11d, r14d
je 0x140043bdc
cmp r11d, esi
je 0x140043bdc
test r9d, r9d
je 0x140043bd3
dec r11d
and r11d, 0x3f
mov dword [rbx + r11*4], r9d
cmp dword [rbx + r10*4], 0
jne 0x140043bf1
jmp 0x140043be8
cmp dword [rbx + r10*4], 0
jne 0x140043bf1
cmp r10d, r11d
je 0x140043c67
dec r10d
and r10d, 0x3f
dec esi
add edi, 0xfffffff7
cmp edi, 9
jae 0x140043b60
test edi, edi
je 0x140043c67
mov r9d, dword [rbx + r10*4]
mov ecx, edi
mov eax, r9d
shl r15d, cl
dec r15d
shr eax, cl
and r9d, r15d
mov dword [rbx + r10*4], eax
mov esi, 0x3b9aca00
sar esi, cl
imul r9d, esi
cmp r10d, r11d
je 0x140043c57
nop dword [rax]
dec r10d
mov ecx, edi
and r10d, 0x3f
mov edx, dword [rbx + r10*4]
mov eax, edx
shr eax, cl
add eax, r9d
mov r9d, edx
and r9d, r15d
mov dword [rbx + r10*4], eax
imul r9d, esi
cmp r10d, r11d
jne 0x140043c30
test r9d, r9d
je 0x140043c67
dec r11d
and r11d, 0x3f
mov dword [rbx + r11*4], r9d
mov r14, qword [rsp + 0x20]
mov eax, r11d
mov rbp, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
pop rdi
pop rsi
ret
Function at 0x14005c8f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov ebp, r9d
mov r10, r8
mov r11, rdx
mov r14, rcx
test r9b, 1
jne 0x14005ca2d
nop dword [rax]
cmp r11, r10
je 0x14005ca2d
mov rsi, qword [r14]
xor ebx, ebx
movzx eax, word [r11]
xor edi, edi
lea rcx, [rax + rax*2]
mov edx, dword [rsi + rcx*8]
lea r11, [rsi + rcx*8]
mov r8d, edx
mov eax, edx
shr r8d, 0x1c
cmp r8d, 8
jne 0x14005c95f
shr edx, 0x10
cmp dl, 1
jne 0x14005c965
or ebx, dword [r11 + 4]
movzx eax, ax
jmp 0x14005c934
cmp r8d, 5
jne 0x14005c96a
movzx eax, ax
jmp 0x14005c934
mov ecx, dword [r10]
and eax, 0x3000000
or ebx, eax
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
je 0x14005c9c3
movzx eax, cx
lea rcx, [rax + rax*2]
mov eax, dword [rsi + rcx*8]
lea r10, [rsi + rcx*8]
mov r9d, eax
mov ecx, eax
shr ecx, 0x1c
cmp ecx, 8
jne 0x14005c9ae
shr eax, 0x10
cmp al, 1
jne 0x14005c9b3
or edi, dword [r10 + 4]
movzx eax, r9w
jmp 0x14005c985
cmp ecx, 5
jne 0x14005c9b9
movzx eax, r9w
jmp 0x14005c985
and r9d, 0x3000000
or edi, r9d
test bpl, 4
je 0x14005c9d3
cmp ebx, edi
jne 0x14005ca60
jmp 0x14005c9f6
test bpl, 8
jne 0x14005c9f6
mov eax, edi
and eax, ebx
cmp eax, edi
jne 0x14005ca60
cmp r8d, 4
je 0x14005ca2d
mov eax, dword [r10]
and eax, 0xf0000000
cmp eax, 0x40000000
je 0x14005ca2d
mov ecx, dword [r10]
mov eax, ecx
shr eax, 0x1c
cmp r8d, eax
jne 0x14005ca60
mov eax, dword [r10 + 4]
cmp dword [r11 + 4], eax
jne 0x14005ca60
test r8d, r8d
je 0x14005ca56
and edx, 0xe0000000
cmp edx, 0x20000000
jne 0x14005ca49
or ebp, 4
test bpl, 1
je 0x14005c920
mov eax, 1
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
cmp r8d, 1
jne 0x14005ca2d
cmp r11, r10
jne 0x14005ca60
jmp 0x14005ca2d
xor ecx, edx
test ecx, 0xc000000
je 0x14005ca2d
xor eax, eax
jmp 0x14005ca32
Function at 0x1400607d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x4500
shr r8, 2
or dx, ax
mov word [rcx + 0xb8], 0x7fff
mov word [rcx + 0xbc], dx
mov word [rcx + 0xba], r8w
jmp fcn.14006a050

Function at 0x140062c10
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x6c]
mov esi, r8d
inc eax
mov rdi, rdx
mov dword [rcx + 0x6c], eax
mov rbx, rcx
cmp eax, 0x14
jg 0x140062c65
call fcn.140062dd0
mov rdx, rdi
mov rcx, rbx
call fcn.1400630e0
dec dword [rbx + 0x6c]
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140063310
mov edx, 0x8d0
call fcn.140061430
int3
Function at 0x140066b20
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
lea r14, [0x140000000]
mov ecx, dword [rcx + 0xa8]
mov eax, ecx
and eax, 0xfff0000
cmp eax, 0x3ff0000
je 0x14006a10a
bt ecx, 0x10
jb 0x14006a0a8
movzx eax, byte [rdi + 0xbd]
test byte [rax + r14 + 0xb2950], 0x60
jne 0x14006a0a8
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.140066db0
mov eax, ecx
and eax, 0xb0000
cmp eax, 0xb0000
je 0x14006a0e6
movzx r8d, byte [rdi + 0xbd]
movzx eax, byte [r8 + r14 + 0xb2950]
and al, 0x60
cmp al, 0x40
jne 0x14006a0e6
cmp r8b, 0x47
je 0x14006a0e6
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.140060740
and ecx, 0x110000
cmp ecx, 0x110000
je 0x14006a10a
movzx eax, byte [rdi + 0xbd]
movzx eax, byte [rax + r14 + 0xb2950]
and al, 0x60
cmp al, 0x60
je 0x14006a0d3
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov ebp, 0x7ffd
mov qword [rsp + 0x40], rsi
nop
movzx edx, byte [rdi + 0xbd]
movzx r8d, word [rdi + 0xb8]
mov r10d, dword [rdi + 0x28]
shl edx, 0x11
cmp r8d, r10d
jb 0x14006a169
mov rax, qword [rdi + 0x20]
lea r9, [rax + r8*8]
movzx eax, byte [rax + r8*8 + 5]
shl eax, 0xa
add edx, eax
mov rax, qword [r9]
mov qword [rdi + 0xc0], rax
cmp r8w, bp
jae 0x14006a169
mov rax, qword [r9 + 8]
mov qword [rdi + 0xc8], rax
movzx r8d, word [rdi + 0xba]
cmp r8d, r10d
jb 0x14006a1a2
mov rax, qword [rdi + 0x20]
movzx ecx, byte [rax + r8*8 + 5]
lea r9, [rax + r8*8]
mov rax, qword [rax + r8*8]
mov qword [rdi + 0xd0], rax
cmp r8w, bp
jae 0x14006a1ab
mov rax, qword [r9 + 8]
mov qword [rdi + 0xd8], rax
jmp 0x14006a1ab
mov ecx, r8d
and ecx, 0x3ff
lea esi, [rcx + rdx]
xor ebx, ebx
mov r9d, ebx
and r9d, 0x1ffff
or r9d, esi
mov r8d, r9d
mov ecx, r9d
ror r8d, 0xb
and ecx, 0xfffff800
sub r8d, r9d
mov eax, r9d
shl eax, 0xb
sub ecx, eax
shr r8d, 0x12
shl ecx, 3
mov eax, 0x5e1d27b
or r8d, ecx
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3e9
sub r8d, eax
mov ecx, dword [r14 + r8*4 + 0xb3700]
mov eax, ecx
and eax, 0xffffff
cmp eax, r9d
je 0x14006a22b
lea eax, [r8 + 1]
mov ecx, dword [r14 + rax*4 + 0xb3700]
mov eax, ecx
and eax, 0xffffff
cmp eax, r9d
jne 0x14006a243
mov eax, ecx
mov rcx, rdi
shr rax, 0x18
call qword [r14 + rax*8 + 0xb3210]
movzx edx, ax
test edx, edx
jne 0x14006a25d
cmp ebx, 0xfffff
je 0x14006a280
mov eax, ebx
shr eax, 0xa
or ebx, eax
xor ebx, 0xffc00
jmp 0x14006a1b0
cmp edx, 5
jae 0x14006a296
cmp edx, 1
je 0x14006a120
cmp edx, 2
jne 0x14006a28a
mov edx, dword [rdi + 0xb8]
mov rcx, rdi
call fcn.140060800
jmp 0x14006a2a4
mov rcx, rdi
call fcn.140066db0
jmp 0x14006a2a4
cmp edx, 3
je 0x14006a2bf
mov eax, 0xffff
jmp 0x14006a2a4
mov rax, qword [rdi + 0x20]
movzx eax, byte [rax + rdx*8 + 4]
shl eax, 0x18
add eax, edx
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov edx, 0x18
mov rcx, rdi
call fcn.14002b0c0
int3
Function at 0x14006ad00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx eax, byte [rcx + 0xd4]
lea r14, [rcx + 0xb8]
movzx r12d, word [r14]
and al, 0x1f
mov rdi, rcx
cmp al, 0xe
jne 0x14006ad68
movzx edx, word [rcx + 0x208]
cmp edx, r12d
jbe 0x14006ad68
movzx eax, word [rcx + 0x226]
cmp eax, r12d
jbe 0x14006ad68
nop
cmp eax, edx
jb 0x14006aebd
mov ecx, eax
mov rax, qword [rdi + 0x20]
movzx eax, word [rax + rcx*8 + 6]
cmp eax, r12d
ja 0x14006ad50
movzx eax, word [rdi + 0x228]
cmp eax, r12d
jbe 0x14006aec1
mov rbx, qword [rdi + 0x20]
mov ebp, 0x8000
mov dword [rsp + 0x50], ebp
nop word [rax + rax]
lea r13, [rbx + rax*8]
movzx eax, word [rbx + rax*8]
movzx ecx, word [rbx + rax*8 + 2]
lea rdx, [rbx + rax*8]
cmp r14, rdx
je 0x14006aebd
movzx r9d, word [r14 + 2]
cmp byte [rbx + r9*8 + 5], 0x1e
lea r8, [rbx + r9*8]
jne 0x14006adc3
movzx r9d, word [r8]
lea r8, [rbx + r9*8]
cmp byte [rbx + rcx*8 + 5], 0x1e
lea r10, [rbx + rcx*8]
jne 0x14006add6
movzx ecx, word [r10]
lea r10, [rbx + rcx*8]
movzx r11d, byte [r14 + 5]
lea eax, [r11 - 0x38]
cmp al, 1
jbe 0x14006ade9
movzx eax, word [r14]
jmp 0x14006adf1
movzx eax, word [r14]
movzx eax, word [rbx + rax*8]
movzx r15d, ax
movzx eax, byte [rdx + 5]
sub al, 0x38
cmp al, 1
jbe 0x14006ae04
movzx eax, word [rdx]
jmp 0x14006ae0b
movzx eax, word [rdx]
movzx eax, word [rbx + rax*8]
movzx esi, ax
cmp r9d, ecx
je 0x14006ae92
cmp r9d, ebp
jae 0x14006ae20
cmp ecx, ebp
jb 0x14006aea9
cmp r11b, 0x38
jne 0x14006ae85
xor r11d, r11d
xor edx, edx
cmp byte [r8 + 5], 0x29
mov ebp, r9d
jne 0x14006ae52
movzx eax, word [r8 + 2]
cmp ax, word [rsp + 0x50]
jae 0x14006ae52
movzx ebp, word [r8]
mov r11d, dword [rbx + rax*8]
cmp ebp, ecx
jne 0x14006ae52
test r11d, r11d
jne 0x14006aea9
cmp byte [r10 + 5], 0x29
jne 0x14006ae7a
movzx eax, word [r10 + 2]
mov r8d, 0x8000
cmp ax, r8w
jae 0x14006ae7a
movzx ecx, word [r10]
mov edx, dword [rbx + rax*8]
cmp r9d, ecx
jne 0x14006ae7a
test edx, edx
jne 0x14006aea9
cmp ebp, ecx
jne 0x14006ae92
cmp r11d, edx
je 0x14006ae92
jmp 0x14006aea9
movzx eax, byte [r10 + 4]
xor al, byte [r8 + 4]
test al, 0x1f
jne 0x14006aea9
cmp r15d, esi
je 0x14006aebd
mov rcx, rdi
mov r8d, esi
mov edx, r15d
call fcn.14006b630
test eax, eax
jne 0x14006aebd
movzx eax, word [r13 + 6]
cmp eax, r12d
jbe 0x14006aec1
mov ebp, 0x8000
jmp 0x14006ad90
xor eax, eax
jmp 0x14006aec6
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14006b000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
movzx esi, dx
mov r14, rcx
movzx r9d, word [rcx + rsi*2 + 0x1a2]
cmp r9d, r8d
jbe 0x14006b09d
mov r11, qword [rcx + 0x20]
mov eax, r8d
lea rbp, [r11 + rax*8]
nop word [rax + rax]
movzx eax, byte [r11 + r9*8 + 4]
lea rbx, [r11 + r9*8]
movzx ecx, word [rbx]
and al, 0x1f
cmp ecx, r8d
je 0x14006b0e1
test al, al
jne 0x14006b093
movzx r9d, word [r11 + rcx*8 + 2]
movzx r10d, word [rbp + 2]
cmp esi, 0x42
je 0x14006b07c
movzx edx, byte [r11 + r10*8 + 4]
xor dl, byte [r11 + r9*8 + 4]
test dl, 0x1f
jne 0x14006b093
cmp r9d, r10d
je 0x14006b0c6
cmp r9d, 0x8000
jae 0x14006b0c6
cmp r10d, 0x8000
jae 0x14006b0c6
movzx r9d, word [rbx + 6]
cmp r9d, r8d
ja 0x14006b040
movzx eax, word [r14 + rsi*2 + 0x192]
cmp eax, r8d
jbe 0x14006b0c6
mov rdx, qword [r14 + 0x20]
nop
lea rcx, [rdx + rax*8]
movzx eax, word [rdx + rax*8]
cmp eax, r8d
je 0x14006b0ec
movzx eax, word [rcx + 6]
cmp eax, r8d
ja 0x14006b0b0
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
jmp 0x14006b0c8
test byte [rcx + 4], 0x1f
mov ecx, 0
setne cl
mov eax, ecx
jmp 0x14006b0c8
Function at 0x14006b7e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
movzx r11d, word [rdx + 2]
mov r14, rcx
movzx r9d, word [r8 + 2]
cmp rdx, r8
je 0x14006b937
mov r10, qword [rcx + 0x20]
cmp byte [r10 + r11*8 + 5], 0x1e
lea rbx, [r10 + r11*8]
jne 0x14006b817
movzx r11d, word [rbx]
lea rbx, [r10 + r11*8]
cmp byte [r10 + r9*8 + 5], 0x1e
lea rcx, [r10 + r9*8]
jne 0x14006b82b
movzx r9d, word [rcx]
lea rcx, [r10 + r9*8]
movzx edi, byte [rdx + 5]
lea eax, [rdi - 0x38]
cmp al, 1
jbe 0x14006b83b
movzx eax, word [rdx]
jmp 0x14006b843
movzx eax, word [rdx]
movzx eax, word [r10 + rax*8]
movzx edx, ax
movzx eax, byte [r8 + 5]
sub al, 0x38
cmp al, 1
jbe 0x14006b857
movzx eax, word [r8]
jmp 0x14006b860
movzx eax, word [r8]
movzx eax, word [r10 + rax*8]
movzx r8d, ax
cmp r11d, r9d
jne 0x14006b882
cmp edx, r8d
je 0x14006b937
mov rcx, r14
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp fcn.14006b630
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r15
mov r15d, 0x8000
cmp r11d, r15d
jae 0x14006b8a5
cmp r9d, r15d
jb 0x14006b929
cmp dil, 0x38
jne 0x14006b91e
xor esi, esi
mov ebp, r11d
cmp byte [rbx + 5], 0x29
mov edi, esi
jne 0x14006b8d2
movzx eax, word [rbx + 2]
cmp ax, r15w
jae 0x14006b8d2
movzx ebp, word [rbx]
mov esi, dword [r10 + rax*8]
cmp ebp, r9d
jne 0x14006b8d2
test esi, esi
jne 0x14006b929
cmp byte [rcx + 5], 0x29
jne 0x14006b8f3
movzx eax, word [rcx + 2]
cmp ax, r15w
jae 0x14006b8f3
movzx r9d, word [rcx]
mov edi, dword [r10 + rax*8]
cmp r11d, r9d
jne 0x14006b8f3
test edi, edi
jne 0x14006b929
cmp ebp, r9d
jne 0x14006b8fc
cmp esi, edi
jne 0x14006b929
cmp edx, r8d
jne 0x14006b92d
mov eax, 1
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
movzx eax, byte [rcx + 4]
xor al, byte [rbx + 4]
test al, 0x1f
je 0x14006b8fc
xor eax, eax
jmp 0x14006b906
mov rcx, r14
call fcn.14006b630
jmp 0x14006b906
mov eax, 2
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x14006cde0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x20
mov r10, qword [rcx + 0x20]
mov esi, r9d
movzx r14d, dx
mov r12d, r8d
mov r9d, edx
mov rbp, rcx
movzx r15d, byte [r10 + r14*8 + 5]
cmp r15d, 0x35
jb 0x14006cf1f
cmp r15d, r8d
jg 0x14006cf1f
xor edx, edx
add rcx, 0xb24
nop word [rax + rax]
cmp word [rcx], r14w
jne 0x14006ce4a
mov eax, dword [rcx + 4]
cmp eax, esi
jb 0x14006ce4a
xor eax, esi
test eax, 0xfff
je 0x14006cf0e
inc rdx
add rcx, 8
cmp rdx, 0x10
jl 0x14006ce30
movzx edx, word [r10 + r14*8]
mov r9d, esi
mov qword [rsp + 0x40], rbx
mov rcx, rbp
movzx ebx, word [r10 + r14*8 + 2]
mov qword [rsp + 0x48], rdi
call fcn.14006cde0
mov r9d, esi
mov r8d, r12d
mov edx, ebx
mov rcx, rbp
mov edi, eax
call fcn.14006cde0
mov ecx, 0xf4
mov word [rbp + 0xb8], di
add r15w, cx
mov word [rbp + 0xba], ax
movzx edx, r15w
mov ecx, 0x100
imul edx, ecx
mov r8d, esi
shr r8d, 5
mov rcx, rbp
and r8w, 0x1f
or r8w, dx
mov word [rbp + 0xbc], r8w
call fcn.14006a050
mov ecx, dword [rbp + 0xba4]
mov r9d, eax
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
lea rdx, [rcx*8]
lea eax, [rcx + 1]
and eax, 0xf
mov dword [rbp + 0xba4], eax
mov word [rdx + rbp + 0xb24], r14w
mov word [rdx + rbp + 0xb26], r9w
mov dword [rdx + rbp + 0xb28], esi
jmp 0x14006cf5c
movzx ecx, word [rcx + 2]
movzx eax, byte [r10 + rcx*8 + 4]
shl eax, 0x18
add eax, ecx
jmp 0x14006cf5f
bt esi, 0xb
jae 0x14006cf5c
movzx ecx, byte [r10 + r14*8 + 4]
mov eax, 0x605fd9
and ecx, 0x1f
shr eax, cl
test al, 1
jne 0x14006cf5c
mov rcx, rbp
mov word [rbp + 0xbc], 0x5b15
mov word [rbp + 0xb8], r14w
mov word [rbp + 0xba], si
call fcn.14006a050
mov r9d, eax
mov eax, r9d
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140075330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
mov edx, 0x14
call fcn.140060800
mov rcx, rdi
mov word [rdi + 0xbc], 0x548a
mov word [rdi + 0xb8], ax
mov word [rdi + 0xba], bx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006a050
Function at 0x1400844a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400845ec
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14008465b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008465b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008465b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008465b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008465b
cmp dword [rcx + 0x84], 0xe
jbe 0x14008465b
cmp dword [rcx + 0xf8], 0
je 0x14008465b
mov ecx, ebx
call fcn.140084524
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140084780
nop
cmp dword [rbp + 0x20], 0
je 0x1400846a9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400845b8
int3

Function at 0x1400845ec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400845ec
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14008465b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008465b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008465b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008465b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008465b
cmp dword [rcx + 0x84], 0xe
jbe 0x14008465b
cmp dword [rcx + 0xf8], 0
je 0x14008465b
mov ecx, ebx
call fcn.140084524
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140084780
nop
cmp dword [rbp + 0x20], 0
je 0x1400846a9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400845b8
int3
Function at 0x140087064
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.140066d60
sub rsp, rax
mov rax, qword [0x1400d3700]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14009c014
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400870b3
mov rax, rbp
jmp 0x1400871bb
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 + 0xd5c50]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14009f898
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xd5c50]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400871b7
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 0x1400871b7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14009f898
test rax, rax
js 0x1400871b7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400871b7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400871a9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400871a9
cmp byte [rcx], 0xd
jne 0x14008718f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14008719e
cmp byte [rcx + 1], 0xa
jne 0x14008719e
inc rcx
jmp 0x14008719e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xd44c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140087171
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400871bb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140016ea0
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 0x14008f97c
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14007a44c
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x14008f9c7
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x14008f9fb
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14008f9fb
call fcn.140097888
xor ebx, ebx
test eax, eax
jne 0x14008f9e9
cmp byte [rbp - 0x48], bl
je 0x14008f9e2
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x14008f9fb
cmp byte [rbp - 0x48], bl
je 0x14008f9f9
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.14007a670
mov esi, eax
test eax, eax
je 0x14008fa37
call fcn.14008692c
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x14008fa90
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.14007a670
mov edi, eax
test eax, eax
je 0x14008fa73
call fcn.14008692c
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x14008fa82
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1400a5788
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x14008fa90
mov rcx, qword [rbp - 0x50]
call fcn.140096c40
cmp byte [rbp - 8], bl
je 0x14008fa9e
mov rcx, qword [rbp - 0x20]
call fcn.140096c40
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140093700
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140093728
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140093728
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140097b38
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400bb090]
mov edi, ecx
lea rdx, str.GetTempPath2W
mov ecx, 5
lea r8, [0x1400bb088]
call fcn.1400981d0
test rax, rax
je 0x140097b82
movabs r10, 0xa3e5bf4030d1b870
mov rdx, rbx
mov ecx, edi
call qword [0x1400e0018]
jmp 0x140097b8d
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret