joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140017570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r14
sub rsp, 0x20
mov rbp, rdx
mov rbx, r8
movzx edx, byte [rdx + 0x3c]
mov r12, rcx
lea rdx, [rdx*8 + 0x28]
call fcn.140011b90
lea r9, [rbp + 0x68]
mov rdi, rax
mov word [rax + 9], 8
mov byte [rax + 0xb], 0
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rbx
movzx edx, byte [rbp + 0x3d]
movzx r14d, byte [rbp + 0x3c]
add edx, 0x20
mov ecx, edx
shr ecx, 3
and cl, 0x20
sub dl, cl
mov byte [rbp + 0x3d], dl
test r14b, r14b
je 0x140017654
mov qword [rsp + 0x40], rsi
xor ebx, ebx
mov qword [rsp + 0x48], r15
lea rsi, [rax + 0x28]
mov r15d, r14d
nop dword [rax + rax]
mov edx, 0x30
mov rcx, r12
call fcn.140011b90
mov qword [rax + 0x10], 0xffffffffffffffff
lea rsi, [rsi + 8]
lea rbx, [rbx + 2]
lea rcx, [rax + 0x10]
mov word [rax + 9], 0x105
mov qword [rax + 0x20], rcx
mov rcx, qword [rbp + 0x28]
movzx edx, word [rcx + rbx - 2]
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [rax + 0x28], edx
mov byte [rax + 0xb], cl
mov qword [rsi - 8], rax
sub r15, 1
jne 0x1400175f0
mov r15, qword [rsp + 0x48]
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov byte [rdi + 0xb], r14b
jmp 0x140017658
mov byte [rax + 0xb], r14b
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret

Function at 0x14001f930
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140136f70]
mov rbx, rcx
test rax, rax
jne 0x14001f97c
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x14001f9eb
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140136f70], rax
test rax, rax
je 0x14001f9eb
mov edx, 0x20
mov rcx, rbx
call rax
test al, al
je 0x14001f9eb
mov rax, qword [rbx]
cmp rax, 2
jae 0x14001f99a
add rax, 2
mov qword [rbx], rax
mov rax, qword [rbx + 8]
cmp rax, 0x40
jae 0x14001f9ac
add rax, 0x40
mov qword [rbx + 8], rax
mov rax, qword [rbx + 0x10]
cmp rax, 0x200
jae 0x14001f9c2
add rax, 0x200
mov qword [rbx + 0x10], rax
mov rax, qword [rbx + 0x18]
cmp rax, 0x20000
jae 0x14001f9d8
add rax, 0x20000
mov qword [rbx + 0x18], rax
mov rcx, rbx
call fcn.14001fa00
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140023c80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movzx eax, byte [rdx]
xor r15d, r15d
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov edi, 0xa
test al, al
je 0x140023ce5
movsx edx, al
inc rbx
cmp edx, 0x66
je 0x140023ccc
cmp edx, 0x69
je 0x140023e37
cmp edx, 0x6c
jne 0x140023cde
mov rax, qword [rsi + 0x10]
mov rcx, rsi
mov dword [rax + 0xefc], edx
call fcn.1400193b0
movzx eax, byte [rbx]
test al, al
jne 0x140023cb3
mov rbx, qword [0x140136f80]
test rbx, rbx
je 0x140023d7d
cmp qword [rsi + 0x10], rbx
jne 0x140023eaa
mov rcx, qword [0x140137008]
mov edx, 0xffffffff
mov dword [0x140137010], 1
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [0x140136fe0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
and byte [rbx + 0x91], 0x7f
mov rcx, rbx
call fcn.14000ea70
mov rcx, rsi
mov dword [rbx + 0xefc], r15d
call fcn.1400193b0
mov r8d, dword [0x140136fa0]
xor r9d, r9d
sub r8d, dword [0x140136fa8]
mov rdx, qword [0x140136fa8]
sub qword [rbx + 0x10], r8
mov rcx, qword [rbx + 8]
call qword [rbx]
mov qword [0x140136fa0], r15
mov qword [0x140136f98], r15
mov qword [0x140136f80], r15
cmp qword [0x140136fc8], r15
mov rax, qword [rsi + 0x10]
mov qword [0x140136f80], rax
mov dword [0x140136fb8], edi
mov qword [0x140136f88], r14
mov qword [0x140136f90], rbp
mov dword [0x140136fbc], r15d
mov qword [0x140136fb0], rsi
mov qword [0x140136fa8], r15
mov qword [0x140136fa0], r15
mov qword [0x140136f98], r15
jne 0x140023e6d
xor r8d, r8d
lea rcx, str.winmm.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140136fc8], rax
test rax, rax
je 0x140023e6d
lea rdx, str.timeBeginPeriod
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140136fc8]
lea rdx, str.timeEndPeriod
mov qword [0x140136fd0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140136fd0], r15
mov qword [0x140136fd8], rax
je 0x140023e2e
test rax, rax
jne 0x140023e6d
mov qword [0x140136fc8], r15
jmp 0x140023eaa
movzx eax, byte [rbx]
mov edi, r15d
cmp al, 0x30
jl 0x140023e63
cmp al, 0x39
ja 0x140023e5b
inc rbx
movzx ecx, al
lea edi, [rdi + rdi*4]
lea edi, [rdi - 0x18]
movzx eax, byte [rbx]
lea edi, [rcx + rdi*2]
cmp al, 0x30
jge 0x140023e41
test edi, edi
jg 0x140023cde
mov edi, 1
jmp 0x140023cde
lea rcx, [0x140136fe0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea r9, [0x140136f80]
mov qword [rsp + 0x28], r15
lea r8, [0x140023f90]
mov dword [0x140137010], r15d
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140137008], rax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140035d60
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 0x140035da1
mov eax, dword [rcx]
test eax, eax
je 0x140035d91
bsf ecx, eax
cmp ecx, r8d
jb 0x140035d9b
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 0x140035e43
mov edx, r9d
and r9b, 0x30
shr edx, 0x18
lea r8d, [rdx - 1]
cmp r9b, 0x20
jne 0x140035def
mov eax, 0x38e38e39
mov r14d, 0x3f
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
sub r14d, edx
jmp 0x140035e50
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 [0x14010cfe8]
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 0x140035e50
mov r14d, esi
cmp edi, 9
jb 0x140035eed
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 0x140035ea9
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 0x140035e80
cmp r11d, r14d
je 0x140035ecc
cmp r11d, esi
je 0x140035ecc
test r9d, r9d
je 0x140035ec3
dec r11d
and r11d, 0x3f
mov dword [rbx + r11*4], r9d
cmp dword [rbx + r10*4], 0
jne 0x140035ee1
jmp 0x140035ed8
cmp dword [rbx + r10*4], 0
jne 0x140035ee1
cmp r10d, r11d
je 0x140035f57
dec r10d
and r10d, 0x3f
dec esi
add edi, 0xfffffff7
cmp edi, 9
jae 0x140035e50
test edi, edi
je 0x140035f57
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 0x140035f47
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 0x140035f20
test r9d, r9d
je 0x140035f57
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 0x14005d790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov esi, r9d
mov r10, rdx
mov r14, rcx
test r9b, 1
jne 0x14005d8ba
cmp r10, r8
je 0x14005d8ba
mov rdi, qword [r14]
xor r9d, r9d
movzx eax, word [r10]
xor r11d, r11d
lea rcx, [rax + rax*2]
mov ebx, dword [rdi + rcx*8]
lea r10, [rdi + rcx*8]
mov edx, ebx
mov ecx, ebx
shr edx, 0x1c
cmp edx, 8
jne 0x14005d7f6
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x14005d7fb
or r9d, dword [r10 + 4]
movzx eax, cx
jmp 0x14005d7cd
cmp edx, 5
jne 0x14005d800
movzx eax, cx
jmp 0x14005d7cd
and ecx, 0x3000000
or r9d, ecx
mov ecx, dword [r8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x10000000
je 0x14005d84f
movzx eax, cx
lea rcx, [rax + rax*2]
lea r8, [rdi + rcx*8]
mov ecx, dword [rdi + rcx*8]
mov eax, ecx
shr eax, 0x1c
cmp eax, 8
jne 0x14005d841
mov eax, ecx
shr eax, 0x10
cmp al, 1
jne 0x14005d81a
or r11d, dword [r8 + 4]
jmp 0x14005d81a
cmp eax, 5
je 0x14005d81a
and ecx, 0x3000000
or r11d, ecx
test sil, 4
je 0x14005d860
cmp r9d, r11d
jne 0x14005d8e8
jmp 0x14005d885
test sil, 8
jne 0x14005d885
mov eax, r11d
and eax, r9d
cmp eax, r11d
jne 0x14005d8e8
cmp edx, 4
je 0x14005d8ba
mov eax, dword [r8]
and eax, 0xf0000000
cmp eax, 0x40000000
je 0x14005d8ba
mov ecx, dword [r8]
mov eax, ecx
shr eax, 0x1c
cmp edx, eax
jne 0x14005d8e8
mov eax, dword [r8 + 4]
cmp dword [r10 + 4], eax
jne 0x14005d8e8
test edx, edx
je 0x14005d8de
and ebx, 0xe0000000
cmp ebx, 0x20000000
jne 0x14005d8d4
or esi, 4
test sil, 1
je 0x14005d7b7
mov eax, 1
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
cmp edx, 1
jne 0x14005d8ba
cmp r10, r8
jmp 0x14005d8e6
xor ecx, ebx
test ecx, 0xc000000
je 0x14005d8ba
xor eax, eax
jmp 0x14005d8bf
Function at 0x140062170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x4500
shr r8, 2
or dx, ax
mov word [rcx + 0xba], r8w
mov eax, 0x7fff
mov word [rcx + 0xbc], dx
mov word [rcx + 0xb8], ax
jmp fcn.14006f880
Function at 0x1400674d0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
inc dword [rcx + 0x6c]
mov esi, r8d
cmp dword [rcx + 0x6c], 0x14
mov rdi, rdx
mov rbx, rcx
jg 0x140067521
call fcn.1400670a0
mov rdx, rdi
mov rcx, rbx
call fcn.140066e80
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.140066060
mov edx, 0x8d0
call fcn.140065e80
int3
Function at 0x14006f880
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 0x14006f938
bt ecx, 0x10
jb 0x14006f8d8
movzx eax, byte [rdi + 0xbd]
test byte [rax + r14 + 0x10d4e0], 0x60
jne 0x14006f8d8
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14006c0b0
mov eax, ecx
and eax, 0xb0000
cmp eax, 0xb0000
je 0x14006f914
movzx edx, byte [rdi + 0xbd]
movzx eax, byte [rdx + r14 + 0x10d4e0]
and al, 0x60
cmp al, 0x40
jne 0x14006f914
cmp dl, 0x47
je 0x14006f914
mov rcx, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.1400620e0
and ecx, 0x110000
cmp ecx, 0x110000
je 0x14006f938
movzx eax, byte [rdi + 0xbd]
movzx eax, byte [rax + r14 + 0x10d4e0]
and al, 0x60
cmp al, 0x60
je 0x14006f901
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov ebp, 0x7ffd
mov qword [rsp + 0x40], rsi
nop dword [rax]
movzx r8d, byte [rdi + 0xbd]
movzx ecx, word [rdi + 0xb8]
mov r9d, dword [rdi + 0x28]
shl r8d, 0x11
cmp ecx, r9d
jb 0x14006f9a0
mov r10, qword [rdi + 0x20]
lea rdx, [rcx*8]
movzx eax, byte [rdx + r10 + 5]
shl eax, 0xa
add r8d, eax
mov rax, qword [rdx + r10]
mov qword [rdi + 0xc0], rax
cmp cx, bp
jae 0x14006f9a0
mov rax, qword [rdx + r10 + 8]
mov qword [rdi + 0xc8], rax
movzx edx, word [rdi + 0xba]
cmp edx, r9d
jb 0x14006f9d4
mov r9, qword [rdi + 0x20]
mov rax, qword [r9 + rdx*8]
movzx ecx, byte [r9 + rdx*8 + 5]
mov qword [rdi + 0xd0], rax
cmp dx, bp
jae 0x14006f9dc
mov rax, qword [r9 + rdx*8 + 8]
mov qword [rdi + 0xd8], rax
jmp 0x14006f9dc
mov ecx, edx
and ecx, 0x3ff
lea esi, [rcx + r8]
xor ebx, ebx
nop dword [rax]
nop word [rax + rax]
mov r8d, ebx
mov eax, 0x5e1d27b
and r8d, 0x1ffff
or r8d, esi
mov ecx, r8d
ror ecx, 0xb
sub ecx, r8d
rol ecx, 0xe
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 9
imul eax, eax, 0x3e9
sub ecx, eax
mov edx, dword [r14 + rcx*4 + 0x10e340]
mov eax, edx
and eax, 0xffffff
cmp eax, r8d
je 0x14006fa4e
lea eax, [rcx + 1]
mov edx, dword [r14 + rax*4 + 0x10e340]
mov eax, edx
and eax, 0xffffff
cmp eax, r8d
jne 0x14006fa66
mov eax, edx
mov rcx, rdi
shr rax, 0x18
call qword [r14 + rax*8 + 0x10de50]
movzx edx, ax
test edx, edx
jne 0x14006fa80
cmp ebx, 0xfffff
je 0x14006faa3
mov eax, ebx
shr eax, 0xa
or ebx, eax
xor ebx, 0xffc00
jmp 0x14006f9f0
cmp edx, 5
jae 0x14006fab9
cmp edx, 1
je 0x14006f950
cmp edx, 2
jne 0x14006faad
mov edx, dword [rdi + 0xb8]
mov rcx, rdi
call fcn.1400624f0
jmp 0x14006fac7
mov rcx, rdi
call fcn.14006c0b0
jmp 0x14006fac7
cmp edx, 3
je 0x14006fae2
mov eax, 0xffff
jmp 0x14006fac7
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.140018fc0
int3
Function at 0x14006fb50
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 0x14006fca3
mov r10, qword [rcx + 0x20]
cmp byte [r10 + r11*8 + 5], 0x1e
lea rbx, [r10 + r11*8]
jne 0x14006fb87
movzx r11d, word [rbx]
lea rbx, [r10 + r11*8]
cmp byte [r10 + r9*8 + 5], 0x1e
lea rcx, [r10 + r9*8]
jne 0x14006fb9b
movzx r9d, word [rcx]
lea rcx, [r10 + r9*8]
movzx edi, byte [rdx + 5]
lea eax, [rdi - 0x38]
cmp al, 1
jbe 0x14006fbab
movzx eax, word [rdx]
jmp 0x14006fbb3
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 0x14006fbc7
movzx eax, word [r8]
jmp 0x14006fbd0
movzx eax, word [r8]
movzx eax, word [r10 + rax*8]
movzx r8d, ax
cmp r11d, r9d
jne 0x14006fbf2
cmp edx, r8d
je 0x14006fca3
mov rcx, r14
add rsp, 0x20
pop r14
pop rdi
pop rbx
jmp fcn.14006fe40
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r15
mov r15d, 0x8000
cmp r11d, r15d
jae 0x14006fc11
cmp r9d, r15d
jb 0x14006fc73
cmp dil, 0x38
jne 0x14006fc68
xor esi, esi
mov ebp, r11d
cmp byte [rbx + 5], 0x29
mov edi, esi
jne 0x14006fc3e
movzx eax, word [rbx + 2]
cmp ax, r15w
jae 0x14006fc3e
movzx ebp, word [rbx]
mov esi, dword [r10 + rax*8]
cmp ebp, r9d
jne 0x14006fc3e
test esi, esi
jne 0x14006fc73
cmp byte [rcx + 5], 0x29
jne 0x14006fc5f
movzx eax, word [rcx + 2]
cmp ax, r15w
jae 0x14006fc5f
movzx r9d, word [rcx]
mov edi, dword [r10 + rax*8]
cmp r11d, r9d
jne 0x14006fc5f
test edi, edi
jne 0x14006fc73
cmp ebp, r9d
jne 0x14006fc8d
cmp esi, edi
jmp 0x14006fc71
movzx eax, byte [rcx + 4]
xor al, byte [rbx + 4]
test al, 0x1f
je 0x14006fc8d
xor eax, eax
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
cmp edx, r8d
jne 0x14006fc99
mov eax, 1
jmp 0x14006fc75
mov rcx, r14
call fcn.14006fe40
jmp 0x14006fc75
mov eax, 2
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x140070e60
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 rsi, [rcx + 0xb8]
movzx r12d, word [rsi]
and al, 0x1f
mov r15, rcx
cmp al, 0xe
jne 0x140070ec8
movzx edx, word [rcx + 0x208]
cmp edx, r12d
jbe 0x140070ec8
movzx eax, word [rcx + 0x226]
cmp eax, r12d
jbe 0x140070ec8
nop
cmp eax, edx
jb 0x14007101b
mov ecx, eax
mov rax, qword [r15 + 0x20]
movzx eax, word [rax + rcx*8 + 6]
cmp eax, r12d
ja 0x140070eb0
movzx eax, word [r15 + 0x228]
cmp eax, r12d
jbe 0x14007101f
mov rbx, qword [r15 + 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 rsi, rdx
je 0x14007101b
movzx r9d, word [rsi + 2]
cmp byte [rbx + r9*8 + 5], 0x1e
lea r8, [rbx + r9*8]
jne 0x140070f23
movzx r9d, word [r8]
lea r8, [rbx + r9*8]
cmp byte [rbx + rcx*8 + 5], 0x1e
lea r10, [rbx + rcx*8]
jne 0x140070f36
movzx ecx, word [r10]
lea r10, [rbx + rcx*8]
movzx r11d, byte [rsi + 5]
lea eax, [r11 - 0x38]
cmp al, 1
jbe 0x140070f48
movzx eax, word [rsi]
jmp 0x140070f4f
movzx eax, word [rsi]
movzx eax, word [rbx + rax*8]
movzx r14d, ax
movzx eax, byte [rdx + 5]
sub al, 0x38
cmp al, 1
jbe 0x140070f62
movzx eax, word [rdx]
jmp 0x140070f69
movzx eax, word [rdx]
movzx eax, word [rbx + rax*8]
movzx edi, ax
cmp r9d, ecx
je 0x140070ff0
cmp r9d, ebp
jae 0x140070f7e
cmp ecx, ebp
jb 0x140071007
cmp r11b, 0x38
jne 0x140070fe3
xor r11d, r11d
xor edx, edx
cmp byte [r8 + 5], 0x29
mov ebp, r9d
jne 0x140070fb0
movzx eax, word [r8 + 2]
cmp ax, word [rsp + 0x50]
jae 0x140070fb0
movzx ebp, word [r8]
mov r11d, dword [rbx + rax*8]
cmp ebp, ecx
jne 0x140070fb0
test r11d, r11d
jne 0x140071007
cmp byte [r10 + 5], 0x29
jne 0x140070fd8
movzx eax, word [r10 + 2]
mov r8d, 0x8000
cmp ax, r8w
jae 0x140070fd8
movzx ecx, word [r10]
mov edx, dword [rbx + rax*8]
cmp r9d, ecx
jne 0x140070fd8
test edx, edx
jne 0x140071007
cmp ebp, ecx
jne 0x140070ff0
cmp r11d, edx
je 0x140070ff0
jmp 0x140071007
movzx eax, byte [r10 + 4]
xor al, byte [r8 + 4]
test al, 0x1f
jne 0x140071007
cmp r14d, edi
je 0x14007101b
mov r8d, edi
mov edx, r14d
mov rcx, r15
call fcn.14006fe40
test eax, eax
jne 0x14007101b
movzx eax, word [r13 + 6]
cmp eax, r12d
jbe 0x14007101f
mov ebp, 0x8000
jmp 0x140070ef0
xor eax, eax
jmp 0x140071024
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 0x140071310
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
movzx esi, dx
mov rdi, rcx
movzx r9d, word [rcx + rsi*2 + 0x1a2]
cmp r9d, r8d
jbe 0x1400713ad
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 0x1400713ef
test al, al
jne 0x1400713a3
movzx r9d, word [r11 + rcx*8 + 2]
movzx r10d, word [rbp + 2]
cmp esi, 0x42
je 0x14007138c
movzx edx, byte [r11 + r10*8 + 4]
xor dl, byte [r11 + r9*8 + 4]
test dl, 0x1f
jne 0x1400713a3
cmp r9d, r10d
je 0x1400713d6
cmp r9d, 0x8000
jae 0x1400713d6
cmp r10d, 0x8000
jae 0x1400713d6
movzx r9d, word [rbx + 6]
cmp r9d, r8d
ja 0x140071350
movzx eax, word [rdi + rsi*2 + 0x192]
cmp eax, r8d
jbe 0x1400713d6
mov rdx, qword [rdi + 0x20]
nop
lea rcx, [rdx + rax*8]
movzx eax, word [rdx + rax*8]
cmp eax, r8d
je 0x1400713fa
movzx eax, word [rcx + 6]
cmp eax, r8d
ja 0x1400713c0
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
jmp 0x1400713d8
test byte [rcx + 4], 0x1f
mov ecx, 0
setne cl
mov eax, ecx
jmp 0x1400713d8
Function at 0x140072500
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 0x14007263f
cmp r15d, r8d
jg 0x14007263f
xor edx, edx
add rcx, 0xb24
nop word [rax + rax]
cmp word [rcx], r14w
jne 0x14007256a
mov eax, dword [rcx + 4]
cmp eax, esi
jb 0x14007256a
xor eax, esi
test eax, 0xfff
je 0x14007262e
inc rdx
add rcx, 8
cmp rdx, 0x10
jl 0x140072550
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.140072500
mov r9d, esi
mov r8d, r12d
mov edx, ebx
mov rcx, rbp
mov edi, eax
call fcn.140072500
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.14006f880
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 0x140072680
movzx ecx, word [rcx + 2]
movzx eax, byte [r10 + rcx*8 + 4]
shl eax, 0x18
add eax, ecx
jmp 0x140072683
bt esi, 0xb
jae 0x140072680
movzx ecx, byte [r10 + r14*8 + 4]
mov edx, 0x605fd9
and ecx, 0x1f
shr edx, cl
test dl, 1
jne 0x140072680
mov eax, 0x5b15
mov word [rbp + 0xb8], r14w
mov rcx, rbp
mov word [rbp + 0xbc], ax
mov word [rbp + 0xba], si
call fcn.14006f880
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 0x14007d200
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.1400624f0
mov ecx, 0x548a
mov word [rdi + 0xb8], ax
mov word [rdi + 0xbc], cx
mov rcx, rdi
mov word [rdi + 0xba], bx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14006f880

Function at 0x1400805f8
Capabilities:
Parse pe header

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

Function at 0x140090c30
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.1401071f0
sub rsp, rax
mov rax, qword [0x1401361e0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400de87c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140090c7f
mov rax, rbp
jmp 0x140090d87
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 + 0x138230]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400def64
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x138230]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140090d83
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 0x140090d83
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400def64
test rax, rax
js 0x140090d83
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140090d83
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140090d75
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140090d75
cmp byte [rcx], 0xd
jne 0x140090d5b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140090d6a
cmp byte [rcx + 1], 0xa
jne 0x140090d6a
inc rcx
jmp 0x140090d6a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1364d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140090d3d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140090d87
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14007f590
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret