joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002da60
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
cmp dword [rcx + 0xcc], 0
mov rbp, rcx
jne 0x14002da8d
call fcn.14002bfd0
mov rcx, rbp
call fcn.14002bcc0
mov ecx, dword [rbp + 0xc4]
lea r8, [rbp + 0x2570]
mov eax, dword [rbp + 0x48]
lea r9, [rbp + 0x820]
dec eax
mov dword [rbp + 0xec], 0x40
mov ebx, 1
mov dword [rbp + 0xb174], eax
mov edx, ebx
mov dword [rbp + 0x6d70], eax
shl edx, cl
lea rcx, [rbp + 0x6d70]
call fcn.140029e20
mov ecx, dword [rbp + 0xc4]
lea r8, [rbp + 0x2970]
shl ebx, cl
lea r9, [rbp + 0x820]
mov edx, ebx
lea rcx, [rbp + 0xb174]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.140029e20

Function at 0x140030400
Capabilities:
Create thread
Resume thread

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1404b0028]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp dword [rcx + 0x18], 0
mov r14, r8
mov rsi, rdx
mov rdi, rcx
je 0x14003042e
xor eax, eax
jmp 0x140030551
add rcx, 0x50
call fcn.140033a70
test eax, eax
jne 0x140030551
mov qword [rsp + 0x48], rbx
xor r9d, r9d
xor r8d, r8d
mov qword [rdi + 0x20], 1
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x14003047b
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
jne 0x1400304a8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x38], rax
test rax, rax
jne 0x1400304af
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
je 0x1400304af
mov eax, ecx
jmp 0x14003054c
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x30]
mov rbp, qword [rdi + 0x10]
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], 1
mov dword [rdi + 0x28], 1
mov r9, r14
mov qword [rsp + 0x28], rax
mov r8, rsi
test rbp, rbp
je 0x140030514
mov dword [rsp + 0x20], 4
call fcn.1402e0930
mov qword [rdi + 8], rax
mov rsi, rax
test rax, rax
je 0x140030526
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x140030536
jmp 0x140030526
mov dword [rsp + 0x20], ebx
call fcn.1402e0930
mov qword [rdi + 8], rax
test rax, rax
jne 0x14003053e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ebx, 1
cmovne ebx, eax
test ebx, ebx
je 0x14003053e
mov eax, ebx
jmp 0x140030547
mov dword [rdi + 0x18], 1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140048b40
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140049884
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov dword [rbp - 0x30], 0x45555254
xorps xmm0, xmm0
mov dword [rbp - 0x2c], 0x49534956
xor eax, eax
mov dword [rbp - 0x28], 0x582d4e4f
mov rcx, rdx
mov word [rbp - 8], ax
mov rbx, rdx
mov dword [rbp - 0x24], 0x454c4946
movups xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x20], 0x2e
call qword [rdi + 0x18]
xor edx, edx
mov rcx, rbx
mov esi, eax
lea r8d, [rdx + 2]
call qword [rdi + 0x10]
mov rcx, rbx
call qword [rdi + 0x18]
lea edx, [rax - 0x12]
add edx, esi
test edx, edx
jle 0x14005f05a
xor r8d, r8d
mov rcx, rbx
call qword [rdi + 0x10]
mov edx, 1
lea rcx, [rbp - 0x18]
mov r9, rbx
lea r8d, [rdx + 0x11]
call qword [rdi]
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [rdi + 0x10]
mov rcx, qword [rbp - 0x30]
sub rcx, qword [rbp - 0x18]
jne 0x14005f084
mov rcx, qword [rbp - 0x28]
sub rcx, qword [rbp - 0x10]
jne 0x14005f084
movzx ecx, word [rbp - 0x20]
movzx eax, word [rbp - 8]
sub rcx, rax
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rsi, qword [rsp + 0x68]
test rcx, rcx
mov rdi, qword [rsp + 0x70]
sete al
add rsp, 0x50
pop rbp
ret
Function at 0x140062a90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov r14, rcx
movzx esi, dx
mov rcx, r9
mov rbp, r9
movzx edi, r8w
call fcn.14004d300
mov rbx, rax
mov eax, esi
test esi, esi
je 0x140062c47
sub eax, 1
je 0x140062c47
cmp eax, 2
jne 0x140062cf5
lea rax, [rsp + 0x30]
mov edx, 0x140
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov rcx, r14
call fcn.1400aa9b0
mov r10, qword [rsp + 0x30]
movzx ecx, dil
mov rsi, qword [rsp + 0x38]
mov edi, 1
mov r11, qword [rsp + 0x40]
mov rdx, r10
shl edi, cl
mov r8, rsi
mov r9, r11
mov ecx, edi
test edi, edi
jle 0x140062b5c
mov ebp, 0x100
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
dec ecx
cmp ax, bp
jae 0x140062baa
movzx eax, word [r8]
add r8, 2
cmp ax, bp
jae 0x140062baa
movzx eax, word [rdx]
add rdx, 2
cmp ax, bp
jae 0x140062baa
test ecx, ecx
jg 0x140062b30
lea eax, [rdi - 1]
movsxd r8, eax
test eax, eax
js 0x140062cf5
lea rdx, [rbx + 1]
sub r11, rsi
lea rdx, [rdx + r8*4]
sub r10, rsi
lea rcx, [rsi + r8*2]
nop dword [rax]
sub r8, 1
movzx eax, byte [rcx + r11]
mov byte [rdx + 1], al
lea rdx, [rdx - 4]
movzx eax, byte [rcx]
lea rcx, [rcx - 2]
mov byte [rdx + 4], al
movzx eax, byte [rcx + r10 + 2]
mov byte [rdx + 3], al
jns 0x140062b80
jmp 0x140062cf5
lea eax, [rdi - 1]
movsxd r8, eax
test eax, eax
js 0x140062cf5
lea rbx, [rbx + r8*4]
sub r11, rsi
inc rbx
lea r9, [rsi + r8*2]
sub r10, rsi
nop dword [rax]
movzx eax, word [r11 + r9]
lea rbx, [rbx - 4]
imul ecx, eax, 0xff
lea r9, [r9 - 2]
mov eax, 0x80008001
imul ecx
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [rbx + 5], dl
movzx eax, word [r9 + 2]
imul ecx, eax, 0xff
mov eax, 0x80008001
imul ecx
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [rbx + 4], dl
movzx eax, word [r10 + r9 + 2]
imul ecx, eax, 0xff
mov eax, 0x80008001
imul ecx
add edx, ecx
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
sub r8, 1
mov byte [rbx + 3], dl
jns 0x140062bd0
jmp 0x140062cf5
cmp di, 1
jne 0x140062c77
xor r8d, r8d
mov eax, 0xff
test si, si
cmovne eax, r8d
neg si
mov byte [rbx], al
mov byte [rbx + 1], al
sbb cl, cl
mov byte [rbx + 2], al
mov byte [rbx + 4], cl
mov byte [rbx + 5], cl
mov byte [rbx + 6], cl
jmp 0x140062cf5
sub di, 4
mov eax, 0xfffb
test ax, di
jne 0x140062cf5
mov rcx, rbp
call fcn.14004ce90
movsxd r9, eax
test eax, eax
jle 0x140062cf5
lea ecx, [rax - 1]
cmp esi, 1
jne 0x140062cca
mov eax, 0xff
xor r8d, r8d
cdq
idiv ecx
lea rcx, [rbx + 2]
nop dword [rax + rax]
mov byte [rcx - 2], r8b
mov byte [rcx - 1], r8b
mov byte [rcx], r8b
lea rcx, [rcx + 4]
add r8d, eax
sub r9, 1
jne 0x140062cb0
jmp 0x140062cf5
mov eax, 0xffffff01
cdq
idiv ecx
lea rcx, [rbx + 2]
mov r8d, eax
mov eax, 0xff
nop
mov byte [rcx - 2], al
mov byte [rcx - 1], al
mov byte [rcx], al
lea rcx, [rcx + 4]
add eax, r8d
sub r9, 1
jne 0x140062ce0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140069190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov r9, rdx
mov dword [rbp + 0x20], 0x38464947
mov edx, 1
mov word [rbp + 0x24], 0x6139
mov rax, rcx
mov dword [rbp + 0x28], 0x38464947
lea rcx, [rbp + 0x10]
mov word [rbp + 0x2c], 0x6137
mov dword [rbp + 0x10], 0
lea r8d, [rdx + 5]
mov word [rbp + 0x14], 0
call qword [rax]
mov edx, dword [rbp + 0x10]
movzx ecx, word [rbp + 0x14]
cmp dword [rbp + 0x20], edx
jne 0x1400691e7
cmp word [rbp + 0x24], cx
je 0x1400691f2
cmp dword [rbp + 0x28], edx
jne 0x1400691fd
cmp word [rbp + 0x2c], cx
jne 0x1400691fd
mov eax, 1
add rsp, 0x20
pop rbp
ret
xor eax, eax
add rsp, 0x20
pop rbp
ret
Function at 0x140078ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
xorps xmm0, xmm0
mov dword [rbp - 0x39], 0x2a4949
mov r9, rdx
mov dword [rbp - 0x35], 0x10
mov edx, 1
mov dword [rbp - 0x31], 0x25243
mov rax, rcx
mov dword [rbp - 1], 0x1a4949
lea rcx, [rbp + 0x37]
mov dword [rbp + 3], 0x45480000
movups xmmword [rbp + 0x37], xmm0
lea r8d, [rdx + 0x1f]
mov dword [rbp + 7], 0x43435041
movups xmmword [rbp + 0x47], xmm0
mov dword [rbp + 0xb], 0x25244
xor bl, bl
mov dword [rbp + 0x77], 0x4d524d00
mov dword [rbp + 0x7f], 0x53524949
mov dword [rbp + 0x83], 8
mov dword [rbp - 0x11], 0x4f524949
mov dword [rbp - 0xd], 8
mov dword [rbp - 9], 0x524f4d4d
mov dword [rbp - 5], 0x8000000
mov dword [rbp + 0xf], 0x494a5546
mov dword [rbp + 0x13], 0x4d4c4946
mov dword [rbp + 0x17], 0x2d444343
mov dword [rbp + 0x1b], 0x20574152
mov dword [rbp + 0x1f], 0x554949
mov dword [rbp + 0x23], 0x18
mov dword [rbp + 0x27], 0xd874e788
mov dword [rbp + 0x2b], 0x4d1d25f8
mov dword [rbp + 0x2f], 0x776e7a94
mov dword [rbp + 0x33], 0x6a5d2b82
mov dword [rbp - 0x29], 0x554949
mov dword [rbp - 0x25], 8
mov dword [rbp - 0x21], 0x10022
mov dword [rbp - 0x1d], 0x40007
mov word [rbp - 0x19], 0
mov dword [rbp + 0x67], 0x62564f46
call qword [rax]
cmp eax, 0x20
jne 0x140078c7c
mov rcx, qword [rbp + 0x37]
mov rdx, qword [rbp + 0x3f]
cmp qword [rbp - 0x39], rcx
jne 0x140078c04
cmp dword [rbp - 0x31], edx
je 0x140078c66
cmp qword [rbp - 1], rcx
jne 0x140078c10
cmp qword [rbp + 7], rdx
je 0x140078c66
cmp dword [rbp + 0x77], ecx
jne 0x140078c1a
cmp bl, byte [rbp + 0x3b]
je 0x140078c66
cmp qword [rbp + 0x7f], rcx
je 0x140078c66
cmp qword [rbp - 0x11], rcx
je 0x140078c66
cmp qword [rbp - 9], rcx
je 0x140078c66
cmp qword [rbp + 0xf], rcx
jne 0x140078c38
cmp qword [rbp + 0x17], rdx
je 0x140078c66
mov r8, qword [rbp + 0x47]
cmp qword [rbp + 0x1f], rcx
jne 0x140078c4e
cmp qword [rbp + 0x27], rdx
jne 0x140078c4e
cmp qword [rbp + 0x2f], r8
je 0x140078c66
cmp qword [rbp - 0x29], rcx
jne 0x140078c61
cmp qword [rbp - 0x21], rdx
jne 0x140078c61
cmp word [rbp - 0x19], r8w
je 0x140078c66
cmp dword [rbp + 0x67], ecx
jne 0x140078c7c
mov eax, 1
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
ret
mov rbx, qword [rsp + 0xc8]
xor eax, eax
add rsp, 0xb0
pop rbp
ret

Function at 0x14007e490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor r10d, r10d
test r8d, r8d
jle 0x14007e50a
lea rax, [rcx + 1]
mov r8d, r8d
nop
movzx ecx, byte [rdx]
test r10d, r10d
je 0x14007e4cc
and ecx, 0xf
movzx ecx, byte [r9 + rcx*4]
mov byte [rax - 1], cl
movzx ecx, byte [rdx]
and ecx, 0xf
movzx ecx, byte [r9 + rcx*4 + 1]
mov byte [rax], cl
movzx ecx, byte [rdx]
inc rdx
and ecx, 0xf
jmp 0x14007e4ee
shr rcx, 4
movzx ecx, byte [r9 + rcx*4]
mov byte [rax - 1], cl
movzx ecx, byte [rdx]
shr rcx, 4
movzx ecx, byte [r9 + rcx*4 + 1]
mov byte [rax], cl
movzx ecx, byte [rdx]
shr rcx, 4
movzx r11d, byte [r9 + rcx*4 + 2]
xor r10d, 1
mov byte [rax + 1], r11b
mov byte [rax + 2], 0xff
add rax, 4
sub r8, 1
jne 0x14007e4a0
ret
Function at 0x14007e520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 8
xor r10d, r10d
test r8d, r8d
jle 0x14007e605
mov qword [rsp + 0x10], rbx
add rcx, 2
mov rbx, qword [rsp + 0x30]
mov qword [rsp], rdi
mov edi, dword [rsp + 0x38]
mov r11d, r8d
nop dword [rax]
movzx eax, byte [rdx]
test r10d, r10d
je 0x14007e5a6
and eax, 0xf
movzx eax, byte [r9 + rax*4]
mov byte [rcx - 2], al
movzx eax, byte [rdx]
and eax, 0xf
movzx eax, byte [r9 + rax*4 + 1]
mov byte [rcx - 1], al
movzx eax, byte [rdx]
and eax, 0xf
movzx eax, byte [r9 + rax*4 + 2]
mov byte [rcx], al
movzx r8d, byte [rdx]
mov eax, r8d
and eax, 0xf
cmp eax, edi
jge 0x14007e59e
mov eax, r8d
and eax, 0xf
inc rdx
movzx r8d, byte [rax + rbx]
jmp 0x14007e5e6
mov r8b, 0xff
inc rdx
jmp 0x14007e5e6
shr rax, 4
movzx eax, byte [r9 + rax*4]
mov byte [rcx - 2], al
movzx eax, byte [rdx]
shr rax, 4
movzx eax, byte [r9 + rax*4 + 1]
mov byte [rcx - 1], al
movzx eax, byte [rdx]
shr rax, 4
movzx eax, byte [r9 + rax*4 + 2]
mov byte [rcx], al
test edi, edi
jle 0x14007e5e3
movzx eax, byte [rdx]
shr rax, 4
movzx r8d, byte [rax + rbx]
jmp 0x14007e5e6
mov r8b, 0xff
mov byte [rcx + 1], r8b
xor r10d, 1
add rcx, 4
sub r11, 1
jne 0x14007e550
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
add rsp, 8
ret
Function at 0x140081e00
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x140081e36
call fcn.140163a80
cmp byte [rbx + 0x58], 0
je 0x140081e2d
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x140081e41
cmp eax, 0xcb
jne 0x140081ec5
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x140081eac
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140081e5e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x140081ea4
cmp eax, 2
je 0x140081eac
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140081e50
dec eax
test eax, 0xfffffffd
jne 0x140081e50
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x140081e50
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x140081e50
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400821f0
cmp eax, 0xcc
je 0x140081ee7
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400821f0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x14008221e
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1400822c5
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x140082294
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x14008226c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x228]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1400822ed
cmp ecx, dword [rbx + 0x78]
jb 0x140082245
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], cl
jne 0x140082240
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400822d8
Function at 0x1400821f0
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x24]
mov rbx, rcx
cmp eax, 0xca
jne 0x140081e36
call fcn.140163a80
cmp byte [rbx + 0x58], 0
je 0x140081e2d
mov dword [rbx + 0x24], 0xcf
mov al, 1
add rsp, 0x20
pop rbx
ret
mov dword [rbx + 0x24], 0xcb
jmp 0x140081e41
cmp eax, 0xcb
jne 0x140081ec5
mov rax, qword [rbx + 0x240]
cmp byte [rax + 0x20], 0
je 0x140081eac
nop
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140081e5e
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx + 0x240]
mov rcx, rbx
call qword [rax]
test eax, eax
je 0x140081ea4
cmp eax, 2
je 0x140081eac
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140081e50
dec eax
test eax, 0xfffffffd
jne 0x140081e50
inc dword [rcx + 8]
mov rdx, qword [rbx + 0x10]
mov r8d, dword [rdx + 0xc]
cmp dword [rcx + 8], r8d
jl 0x140081e50
mov ecx, dword [rbx + 0x190]
add ecx, r8d
mov dword [rdx + 0xc], ecx
jmp 0x140081e50
xor al, al
add rsp, 0x20
pop rbx
ret
mov eax, dword [rbx + 0x9c]
mov rcx, rbx
mov dword [rbx + 0xa4], eax
add rsp, 0x20
pop rbx
jmp 0x1400821f0
cmp eax, 0xcc
je 0x140081ee7
mov rax, qword [rcx]
mov dword [rax + 0x28], 0x15
mov rcx, qword [rcx]
mov eax, dword [rbx + 0x24]
mov dword [rcx + 0x2c], eax
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400821f0
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x20
xor ebp, ebp
mov rbx, rcx
cmp dword [rcx + 0x24], 0xcc
je 0x14008221e
mov rax, qword [rcx + 0x220]
call qword [rax]
mov dword [rbx + 0x98], ebp
mov dword [rbx + 0x24], 0xcc
mov rax, qword [rbx + 0x220]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
cmp byte [rax + 0x10], bpl
je 0x1400822c5
mov ecx, dword [rbx + 0x98]
nop
cmp ecx, dword [rbx + 0x78]
jae 0x140082294
mov rax, qword [rbx + 0x10]
mov edi, ecx
test rax, rax
je 0x14008226c
mov dword [rax + 8], ecx
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x78]
mov dword [rcx + 0xc], eax
mov rcx, rbx
mov rax, qword [rbx + 0x10]
call qword [rax]
mov edi, dword [rbx + 0x98]
mov rax, qword [rbx + 0x228]
lea r8, [rbx + 0x98]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, dword [rbx + 0x98]
cmp ecx, edi
je 0x1400822ed
cmp ecx, dword [rbx + 0x78]
jb 0x140082245
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rbx + 0x220]
mov rcx, rbx
call qword [rax]
mov dword [rbx + 0x98], ebp
mov ecx, ebp
mov rax, qword [rbx + 0x220]
cmp byte [rax + 0x10], cl
jne 0x140082240
cmp byte [rbx + 0x59], bpl
mov al, 1
setne bpl
add ebp, 0xcd
mov dword [rbx + 0x24], ebp
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rbp
ret
xor al, al
jmp 0x1400822d8
Function at 0x140084cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor r10d, r10d
test r8d, r8d
jle 0x140084d36
lea rax, [rcx + 1]
mov r8d, r8d
nop
movzx ecx, byte [rdx]
test r10d, r10d
je 0x140084cfc
and ecx, 0xf
movzx ecx, byte [r9 + rcx*4]
mov byte [rax - 1], cl
movzx ecx, byte [rdx]
and ecx, 0xf
movzx ecx, byte [r9 + rcx*4 + 1]
mov byte [rax], cl
movzx ecx, byte [rdx]
inc rdx
and ecx, 0xf
jmp 0x140084d1e
shr rcx, 4
movzx ecx, byte [r9 + rcx*4]
mov byte [rax - 1], cl
movzx ecx, byte [rdx]
shr rcx, 4
movzx ecx, byte [r9 + rcx*4 + 1]
mov byte [rax], cl
movzx ecx, byte [rdx]
shr rcx, 4
movzx r11d, byte [r9 + rcx*4 + 2]
xor r10d, 1
mov byte [rax + 1], r11b
add rax, 3
sub r8, 1
jne 0x140084cd0
ret
Function at 0x1400b6f70
Capabilities:
Load assembly via iassembly
Resolve function by parsing pe exports

Disassembly:
mov edx, 1
xor r9d, r9d
mov r8d, edx
jmp fcn.1400b7e80
Function at 0x1400ef4c0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov r10, r9
mov r11, r8
mov r9, qword [rcx + 0x10]
mov rbx, rdx
test r9, r9
je 0x1400ef503
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400ef4f0
mov rax, qword [rcx]
mov r9, r10
add rsp, 0x20
pop rbx
jmp qword [rax + 0x10]
mov r8, r10
mov rdx, r11
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1402e48a0
lea rdx, [0x1404ad790]
mov dword [rsp + 0x30], 4
lea rcx, [rsp + 0x30]
call fcn.1402d12e0
int3

Function at 0x1400efa10
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
xor eax, eax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rsi
lea r8d, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov qword [rbx + 0x28], rax
test rax, rax
je 0x1400efa92
lea rdx, [rbx + 0x38]
mov qword [rsp + 0x60], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400efab5
mov rax, qword [rbx + 0x38]
xor r9d, r9d
mov rcx, qword [rbx + 0x28]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x1400efad8
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
lea rdx, str.failed_to_create_file_mapping
lea rcx, [rsp + 0x30]
call fcn.140034edc
lea rdx, [0x1404aae08]
lea rcx, [rsp + 0x30]
call fcn.1402d12e0
int3
lea rdx, str.failed_to_get_the_file_size
lea rcx, [rsp + 0x30]
call fcn.140034edc
lea rdx, [0x1404aae08]
lea rcx, [rsp + 0x30]
call fcn.1402d12e0
int3
lea rdx, str.failed_to_map_the_file
lea rcx, [rsp + 0x30]
call fcn.140034edc
lea rdx, [0x1404aae08]
lea rcx, [rsp + 0x30]
call fcn.1402d12e0
int3
Function at 0x140131240
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
test r9d, r9d
je 0x1401313b0
mov rax, qword [rcx + 0x54858]
xor r11d, r11d
mov dword [rax + 0x220], r11d
mov r9, qword [rcx + 0x54858]
mov eax, dword [r9 + 0x220]
cmp eax, 4
jae 0x1401312bd
mov ecx, dword [rsp + 0x50]
nop dword [rax]
imul ecx, ecx, 0x2e90edd
inc ecx
mov dword [r9 + rax*4 + 0x20], ecx
mov rax, qword [rbx + 0x54858]
inc dword [rax + 0x220]
mov r9, qword [rbx + 0x54858]
mov eax, dword [r9 + 0x220]
cmp eax, 4
jb 0x140131290
mov eax, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
add eax, eax
xor ecx, dword [r9 + 0x20]
shr ecx, 0x1f
or ecx, eax
mov dword [r9 + 0x2c], ecx
mov rax, qword [rbx + 0x54858]
mov dword [rax + 0x220], 4
mov rax, qword [rbx + 0x54858]
cmp dword [rax + 0x220], 0x7f
jae 0x14013135d
nop word [rax + rax]
mov r10, qword [rbx + 0x54858]
mov r9d, dword [r10 + 0x220]
lea eax, [r9 - 1]
lea edx, [r9 - 3]
mov r8d, dword [r10 + rdx*4 + 0x20]
lea ecx, [r9 - 2]
xor r8d, dword [r10 + rax*4 + 0x20]
lea eax, [r9 - 4]
mov eax, dword [r10 + rax*4 + 0x20]
xor eax, dword [r10 + rcx*4 + 0x20]
add eax, eax
shr r8d, 0x1f
or r8d, eax
mov dword [r10 + r9*4 + 0x20], r8d
mov rax, qword [rbx + 0x54858]
inc dword [rax + 0x220]
mov rax, qword [rbx + 0x54858]
cmp dword [rax + 0x220], 0x7f
jb 0x140131300
mov dword [rax + 0x220], r11d
mov rcx, qword [rbx + 0x54858]
mov eax, dword [rcx + 0x220]
cmp eax, 0x7f
jae 0x1401313b0
mov ecx, dword [rcx + rax*4 + 0x20]
call qword [sym.imp.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x54858]
mov ecx, dword [rdx + 0x220]
mov dword [rdx + rcx*4 + 0x20], eax
mov rax, qword [rbx + 0x54858]
inc dword [rax + 0x220]
mov rcx, qword [rbx + 0x54858]
mov eax, dword [rcx + 0x220]
cmp eax, 0x7f
jb 0x140131376
test esi, esi
je 0x1401313fc
mov r9, qword [rbx + 0x54858]
lea rdi, [rdi + 4]
mov r8d, dword [r9 + 0x220]
lea eax, [r8 + 1]
lea ecx, [r8 - 0x3f]
and eax, 0x7f
and ecx, 0x7f
and r8d, 0x7f
mov edx, dword [r9 + rcx*4 + 0x20]
xor edx, dword [r9 + rax*4 + 0x20]
mov dword [r9 + r8*4 + 0x20], edx
xor dword [rdi - 4], edx
mov rax, qword [rbx + 0x54858]
inc dword [rax + 0x220]
sub esi, 1
jne 0x1401313b4
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret