joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002240
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002258
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002260
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002270
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x1400022bd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x1400022b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400022bf
add rax, 0x28
cmp rax, r9
jne 0x1400022a0
xor eax, eax
ret

Function at 0x1400022c0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002350
mov rdx, qword [0x140009760]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000233e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000233e
cmp word [rax + 0x18], 0x20b
jne 0x14000233e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002350
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002329
add rbx, 0x28
cmp rbx, rdi
je 0x140002350
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002320
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002360
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002380
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002388
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002380
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400023dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400023d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002380
add rax, 0x28
cmp rax, r9
jne 0x1400023c0
xor eax, eax
ret

Function at 0x1400023e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009760]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002408
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140009760]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002440
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002448
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002440
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002490
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002487
test rcx, rcx
je 0x140002440
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002478
xor eax, eax
ret

Function at 0x1400024a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009760]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400024c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400024e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009760]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002500
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002508
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002500
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x140002500
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002554
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002560
add rdx, 0x28
cmp r9, rdx
jne 0x140002540
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002570
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140009760]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002592
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400025a0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002592
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002592
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002592
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400025f5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002608
add rdx, 0x28
cmp rdx, r10
jne 0x1400025e0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002617
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002627
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400025fe
test ecx, ecx
jg 0x140002610
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14001100f
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140011830
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x198]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14005f0a0]
call fcn.1400113a7
nop
mov eax, dword [rbp + 0x168]
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
nop
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800e
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
xor r9d, r9d
mov r8d, 0x20
mov rdx, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
nop
lea rax, [rbp + 0x64]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ace0]
call fcn.140011316
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x1400130d0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001127b
Capabilities:
Create thread

Disassembly:
jmp 0x1400119e0
push rbp
push rsi
push rdi
sub rsp, 0x500
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xd4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x4c8], rax
lea rcx, [0x14005f0a0]
call fcn.1400113a7
nop
mov dword [rbp + 0x64], 0
lea rax, [rbp + 0x90]
lea rcx, [0x14001ae50]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x22e
rep movsb byte [rdi], byte [rsi]
mov dword [rbp + 0x2d4], 0x944
lea rax, [rbp + 0x318]
lea rcx, str.Reversing.ID_ShellcodeLoader1337
mov rdi, rax
mov rsi, rcx
mov ecx, 0x21
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rbp + 0x2d4]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x2d4]
mov r8d, eax
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 8]
call fcn.1400113e3
nop
lea r8, [rbp + 0x318]
mov edx, dword [rbp + 0x2d4]
mov rcx, qword [rbp + 8]
call fcn.14001100f
nop
mov eax, dword [rbp + 0x2d4]
lea r9, [rbp + 0x64]
mov r8d, 0x20
mov edx, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140011b12
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov eax, dword [rbp + 0x2d4]
mov r8d, 0x8000
mov edx, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ae10]
call fcn.140011316
mov eax, edi
mov rcx, qword [rbp + 0x4c8]
xor rcx, rbp
call fcn.1400111bd
lea rsp, [rbp + 0x4d0]
pop rdi
pop rsi
pop rbp
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014420
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014440
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014453
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001447d
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014491
xor al, al
jmp 0x1400144c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144a3
xor al, al
jmp 0x1400144c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144bf
xor al, al
jmp 0x1400144c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012300
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113cf
movzx eax, al
test eax, eax
jne 0x140012320
mov ecx, 7
call fcn.140011320
nop
mov byte [rsp + 0x20], 0
call fcn.140011339
mov byte [rsp + 0x21], al
cmp dword [0x140059868], 1
jne 0x140012344
mov ecx, 7
call fcn.140011320
nop
jmp 0x14001239c
cmp dword [0x140059868], 0
jne 0x140012397
mov dword [0x140059868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a9
test eax, eax
je 0x140012378
mov eax, 0xff
jmp 0x1400124a1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001132f
mov dword [0x140059868], 2
jmp 0x14001239c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001130c
call fcn.1400112a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400123f9
mov rcx, qword [rsp + 0x30]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x1400123f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140060020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001242d
mov rcx, qword [rsp + 0x38]
call fcn.140011168
movzx eax, al
test eax, eax
je 0x14001242d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011389
nop
call fcn.140012550
mov dword [rsp + 0x28], eax
call fcn.140011285
movzx eax, al
test eax, eax
jne 0x14001244c
mov ecx, dword [rsp + 0x28]
call fcn.14001105f
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001245b
call fcn.140011393
nop
xor edx, edx
mov cl, 1
call fcn.140011159
mov eax, dword [rsp + 0x28]
jmp 0x1400124a1
add rsp, 0x68
ret
Function at 0x140bb3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140bb31df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140bb3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb306f
add dl, dl
jne 0x140bb3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb30f6
xor eax, eax
add dl, dl
jne 0x140bb30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140bb31ad
add dl, dl
jne 0x140bb30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140bb30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140bb307e
mov eax, 1
add dl, dl
jne 0x140bb3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140bb3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb30fb
sub eax, ebx
mov ebx, 1
jne 0x140bb314c
mov ecx, 1
add dl, dl
jne 0x140bb312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bb313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140bb3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140bb3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140bb315d
cmp eax, 0x7d00
jae 0x140bb319b
cmp eax, 0x500
jb 0x140bb3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb307e
cmp eax, 0x7f
ja 0x140bb319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140bb307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140bb31d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140bb307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14008b0b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14008b1e0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x1400dd028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x14008b23e
mov edi, dword [rsi + 0x5c]
test r15b, r15b
je 0x14008b21e
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005b820
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.14006f990
cmp eax, 0xffffffff
je 0x14008b2b8
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14008b25c
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x14008b2c2
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r15b, r15b
je 0x14008b298
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x14008b21e
mov edi, edi
test edi, edi
jle 0x14008b366
mov rdx, qword [rsi + 0x40]
movzx ecx, byte [rsp + rdi + 0x57]
dec rdi
call fcn.1400713e4
cmp eax, 0xffffffff
jne 0x14008b29a
mov edi, 0xffffffff
jmp 0x14008b21e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x57]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [rax + 0x18]
cmp eax, 1
jne 0x14008b34f
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x14008b2b8
mov rcx, qword [rsi + 0x40]
call fcn.14006f990
cmp eax, 0xffffffff
je 0x14008b2b8
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14008b2d3
cmp eax, 2
je 0x14008b2b8
cmp eax, 3
je 0x14008b281
jmp 0x14008b289
movzx edi, byte [rsp + 0x57]
jmp 0x14008b21e
Function at 0x14008b3a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x14008b4d0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x1400dd028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x14008b52e
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x14008b50e
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005b820
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.14006f990
cmp eax, 0xffffffff
je 0x14008b5b0
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x14008b54c
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x14008b5b9
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x14008b58d
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x14008b50e
mov edi, edi
test edi, edi
jle 0x14008b65d
mov rdx, qword [rsi + 0x40]
movsx eax, byte [rsp + rdi + 0x57]
dec rdi
movzx ecx, ax
call fcn.1400713e4
cmp eax, 0xffffffff
jne 0x14008b58f
mov di, 0xffff
jmp 0x14008b50e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [rax + 0x18]
cmp eax, 1
jne 0x14008b646
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x14008b5b0
mov rcx, qword [rsi + 0x40]
call fcn.14006f990
cmp eax, 0xffffffff
je 0x14008b5b0
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x14008b5ca
cmp eax, 2
je 0x14008b5b0
cmp eax, 3
je 0x14008b573
jmp 0x14008b57d
movzx edi, word [rsp + 0x56]
jmp 0x14008b50e
Function at 0x14008b6b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x1400dd028]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [rax + 0x20]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.14006f5b4
cmp rax, rbx
jne 0x14008b74c
cmp edi, 1
je 0x14008b6f4
cmp edi, 2
je 0x14008b74c
mov rcx, qword [rsi + 0x40]
call fcn.14006f260
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14005b820
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14008b770
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14008b7a5
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14006f5b4
xor ebx, ebx
test rsi, rsi
jle 0x14008b7ca
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x14008b7ca
inc rbx
cmp rsi, rbx
jne 0x14008b7ac
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14008b7e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x1400dd028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x14008b84a
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x14008b870
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.14006f5b4
mov esi, 0xffffffff
cmp rax, 1
je 0x14008b84d
jmp 0x14008b850
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005b820
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x14008b920
mov ebp, eax
cmp eax, 3
je 0x14008b8ff
cmp ebp, 1
ja 0x14008b920
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.14006f5b4
cmp rax, rsi
jne 0x14008b920
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x14008b888
jmp 0x14008b84d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.14006f5b4
cmp rax, 1
je 0x14008b84d
mov esi, 0xffffffff
jmp 0x14008b850

Function at 0x14008b970
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x14008b9a5
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14006f5b4
xor ebx, ebx
test rsi, rsi
jle 0x14008b9cb
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp ax, 0xffff
je 0x14008b9cb
inc rbx
cmp rsi, rbx
jne 0x14008b9ac
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret