joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025b70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, edx
mov edi, 0x40
shl rax, 4
mov rbx, rcx
cmp rax, 0x400
cmovbe edi, edx
cmp edi, dword [rcx]
je 0x140025ce6
mov rax, qword [0x140150d38]
test rax, rax
je 0x140025ba7
call rax
mov ecx, edi
shl rcx, 4
call fcn.140021a20
mov rcx, qword [0x140150d40]
mov rdi, rax
test rcx, rcx
je 0x140025bc3
call rcx
test rdi, rdi
je 0x140025ce6
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], rsi
call fcn.140021e30
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x140144a60]
movsxd rsi, eax
xor edx, edx
shr rsi, 4
mov rcx, rdi
mov r8d, esi
shl r8, 4
mov dword [rbx], esi
call fcn.1400d31a0
mov rcx, qword [rbx + 8]
xor r10d, r10d
mov qword [rbx + 8], r10
test rcx, rcx
je 0x140025cd1
lea r11, [0x1401232c0]
nop dword [rax]
mov r9, qword [rcx + 0x18]
mov eax, r10d
movzx edx, byte [r9]
test dl, dl
je 0x140025c51
nop
movzx edx, dl
lea r9, [r9 + 1]
movzx r8d, byte [rdx + r11]
lea edx, [rax*8]
xor r8d, edx
movzx edx, byte [r9]
xor eax, r8d
test dl, dl
jne 0x140025c30
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x140025ca9
mov eax, dword [r8]
test eax, eax
je 0x140025c71
mov rdx, qword [r8 + 8]
jmp 0x140025c74
mov rdx, r10
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x140025ca9
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x140025c9f
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x140025cc5
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x140025cc5
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140025cbd
mov qword [rax + 8], rcx
mov qword [rcx + 8], r10
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x140025c20
mov rsi, qword [rsp + 0x30]
mov eax, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140025d00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rbx, qword [rcx + 0x10]
lea rsi, [0x1401232c0]
xor r9d, r9d
mov r11, rdx
mov r10, rcx
test rbx, rbx
je 0x140025d6b
movzx eax, byte [rdx]
test al, al
je 0x140025d4f
nop
movzx eax, al
lea rdx, [rdx + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [rdx]
xor r9d, ecx
test al, al
jne 0x140025d30
mov eax, r9d
xor edx, edx
div dword [r10]
mov eax, edx
shl rax, 4
add rax, rbx
mov r9d, edx
mov rbx, qword [rax + 8]
mov edi, dword [rax]
jmp 0x140025d72
mov rbx, qword [rcx + 8]
mov edi, dword [rcx + 4]
mov dword [r8], r9d
test edi, edi
je 0x140025df2
nop dword [rax]
mov r10, qword [rbx + 0x18]
dec edi
test r10, r10
jne 0x140025d95
mov rax, r11
neg rax
sbb edx, edx
jmp 0x140025de7
test r11, r11
je 0x140025deb
movzx r9d, byte [r10]
mov r8, r11
test r9b, r9b
je 0x140025dd5
movzx eax, r9b
sub r10, r11
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x140025dd5
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x140025db0
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx edx, byte [rax + rsi]
sub edx, ecx
test edx, edx
je 0x140025e04
mov rbx, qword [rbx]
test edi, edi
jne 0x140025d80
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rsi, qword [rsp + 0x10]
mov rax, rbx
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140025e20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rsi, rdx
lea r8, [rsp + 0x58]
mov rdi, rcx
call fcn.140025d00
mov rcx, rax
test rax, rax
je 0x140025f18
mov qword [rsp + 0x40], r14
mov r14, qword [rax + 0x10]
test rbp, rbp
jne 0x140025efb
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x140025e6e
mov qword [rdx], rax
jmp 0x140025e72
mov qword [rdi + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x140025e82
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140025ea5
mov edx, dword [rsp + 0x58]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x140025ea3
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.140021e30
add dword [rdi + 4], 0xffffffff
jne 0x140025f03
mov rsi, qword [rdi + 8]
xor ebp, ebp
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 8], rbp
call fcn.140021e30
mov qword [rdi + 0x10], rbp
mov dword [rdi], ebp
test rsi, rsi
je 0x140025ee3
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.140021e30
mov rsi, rbx
test rbx, rbx
jne 0x140025ed0
mov rax, r14
mov dword [rdi + 4], ebp
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, r14
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
test rbp, rbp
je 0x140026035
mov ecx, 0x20
call fcn.140021a20
mov rbx, rax
test rax, rax
jne 0x140025f43
mov rax, rbp
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rax + 0x10], rbp
xor ebp, ebp
mov qword [rax + 0x18], rsi
inc dword [rdi + 4]
mov edx, dword [rdi + 4]
cmp edx, 0xa
jb 0x140025fa4
mov eax, dword [rdi]
add eax, eax
cmp edx, eax
jbe 0x140025fa4
add edx, edx
mov rcx, rdi
call fcn.140025b70
test eax, eax
je 0x140025fa4
movzx ecx, byte [rsi]
mov eax, ebp
test cl, cl
je 0x140025f9e
lea r8, [0x1401232c0]
nop
movzx ecx, cl
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r8]
lea ecx, [rax*8]
xor edx, ecx
movzx ecx, byte [rsi]
xor eax, edx
test cl, cl
jne 0x140025f80
xor edx, edx
div dword [rdi]
jmp 0x140025fa8
mov edx, dword [rsp + 0x58]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140026019
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x140026019
mov eax, dword [rcx]
test eax, eax
je 0x140025fc8
mov rdx, qword [rcx + 8]
jmp 0x140025fcb
mov rdx, rbp
inc eax
mov qword [rcx + 8], rbx
mov dword [rcx], eax
test rdx, rdx
je 0x140026019
mov qword [rbx], rdx
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x140026002
mov qword [rax], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov qword [rdi + 8], rbx
xor eax, eax
mov qword [rdx + 8], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rdi + 8]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x14002602d
mov qword [rax + 8], rbx
mov qword [rbx + 8], rbp
mov qword [rdi + 8], rbx
mov rbx, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003f270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rcx + 8]
mov r15, rcx
mov r14d, edx
mov r13d, r9d
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r12, qword [r11]
mov r10, qword [rax + 8]
movsxd rax, dword [r10 + 0x30]
movsxd r10, dword [r11 + 0x30]
cmp eax, r10d
mov qword [rsp + 0x20], rax
mov ecx, r10d
cmovl ecx, eax
imul r14, rax
mov dword [rsp + 0x78], ecx
cmp eax, r10d
je 0x14003f2da
cmp byte [r12 + 0x13], 0
je 0x14003f2da
mov eax, 8
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
ret
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x40], rbp
mov rbp, r10
mov qword [rsp + 0x30], rdi
mov rdi, r14
sub rdi, rax
mov qword [rsp + 0x38], rsi
xor ebx, ebx
nop dword [rax]
cmp rdi, r14
jge 0x14003f3e4
mov rax, rdi
mov qword [rsp + 0x70], 0
cqo
idiv rbp
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 8]
mov eax, 0x40000000
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x14003f3d9
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, r10d
mov rcx, r12
call fcn.14002f7a0
mov ebx, eax
test eax, eax
jne 0x14003f3ca
mov rcx, qword [rsp + 0x70]
call fcn.1400305f0
mov ebx, eax
test eax, eax
jne 0x14003f3ca
mov rax, qword [rsp + 0x70]
movsxd r8, dword [rsp + 0x78]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv qword [rsp + 0x20]
add rdx, qword [rsp + 0x80]
call fcn.1400d2bf0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x14003f3ca
test r13d, r13d
jne 0x14003f3ca
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x3c]
mov eax, edx
shr eax, 0x18
mov byte [rsi + 0x1c], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x1d], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x1e], al
mov byte [rsi + 0x1f], dl
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14003f3d9
call fcn.14002fcb0
add rdi, rbp
test ebx, ebx
je 0x14003f300
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x30]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14004d9a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rsi, r8
mov rbp, rdx
call fcn.140021a20
mov rbx, rax
test rax, rax
jne 0x14004d9db
lea eax, [rbx + 7]
jmp 0x14004da46
cmp dword [0x140144a24], 0
je 0x14004da18
mov qword [rax + 0x10], rbp
lea r8, [0x1400243f0]
mov qword [rax + 0x18], rsi
mov r9, rbx
add rax, 8
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.1400e6368
mov qword [rbx], rax
test rax, rax
jne 0x14004da28
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rbx + 0x10], 0
jne 0x14004da41
call qword [0x1401060e0]
mov rcx, rsi
mov dword [rbx + 8], eax
call rbp
mov qword [rbx + 0x20], rax
mov qword [rdi], rbx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140056b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x30
mov r14, qword [rcx + 0x10]
xor r10d, r10d
mov rbx, rcx
mov esi, r9d
add rcx, 0x88
mov ebp, r8d
nop dword [rax]
cmp dword [rcx + 0xc], 0
jle 0x140056bd2
cmp dword [rcx], esi
jne 0x140056bd2
movsx eax, word [rcx + 4]
cmp eax, ebp
je 0x140056c28
inc r10d
add rcx, 0x14
cmp r10d, 0xa
jl 0x140056bc0
mov qword [rsp + 0x40], rdi
mov r9d, ebp
mov edi, dword [rsp + 0x60]
mov r8d, esi
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.140056aa0
movzx r8d, byte [rsp + 0x68]
test r8b, r8b
je 0x140056ccf
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140056cdf
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], r8b
jmp 0x140056cdf
mov eax, dword [rbx + 0x74]
mov dword [rcx + 0x10], eax
inc dword [rbx + 0x74]
mov eax, dword [rcx + 0xc]
cmp dword [rbx + 0x94], eax
jne 0x140056c43
mov byte [rbx + 0x8e], 0
cmp dword [rbx + 0xa8], eax
jne 0x140056c52
mov byte [rbx + 0xa2], 0
cmp dword [rbx + 0xbc], eax
jne 0x140056c61
mov byte [rbx + 0xb6], 0
cmp dword [rbx + 0xd0], eax
jne 0x140056c70
mov byte [rbx + 0xca], 0
cmp dword [rbx + 0xe4], eax
jne 0x140056c7f
mov byte [rbx + 0xde], 0
cmp dword [rbx + 0xf8], eax
jne 0x140056c8e
mov byte [rbx + 0xf2], 0
cmp dword [rbx + 0x10c], eax
jne 0x140056c9d
mov byte [rbx + 0x106], 0
cmp dword [rbx + 0x120], eax
jne 0x140056cac
mov byte [rbx + 0x11a], 0
cmp dword [rbx + 0x134], eax
jne 0x140056cbb
mov byte [rbx + 0x12e], 0
cmp dword [rbx + 0x148], eax
jne 0x140056cca
mov byte [rbx + 0x142], 0
mov eax, dword [rcx + 0xc]
jmp 0x140056ce6
mov r9d, edi
mov r8d, ebp
mov edx, esi
mov rcx, rbx
call fcn.140056370
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140058f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400590e8
test rdx, rdx
je 0x1400590e8
mov r9d, dword [rdx + 4]
mov r11d, dword [rcx + 4]
mov qword [rsp + 0x30], rsi
mov esi, r9d
or esi, r11d
bt esi, 0xa
jae 0x140058fd4
and r9d, r11d
bt r9d, 0xa
jae 0x1400590de
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
jne 0x1400590de
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx r8d, byte [rcx]
cmp r8b, byte [rdx]
je 0x14005901c
cmp r8b, 0x5f
jne 0x140058ff4
mov rcx, qword [rcx + 0x10]
mov r8d, ebp
call fcn.140058f60
cmp eax, 2
jl 0x140059015
cmp byte [rbx], 0x5f
jne 0x1400590de
mov rdx, qword [rbx + 0x10]
mov r8d, ebp
mov rcx, rdi
call fcn.140058f60
cmp eax, 2
jge 0x1400590de
mov eax, 1
jmp 0x140058fbf
lea eax, [r8 + 0x66]
test al, 0xfd
je 0x14005905b
mov rax, qword [rcx + 8]
test rax, rax
je 0x14005905b
mov r10, qword [rdx + 8]
sub r10, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r10]
sub edx, ecx
jne 0x140059047
inc rax
test ecx, ecx
jne 0x140059034
test edx, edx
je 0x14005905b
xor eax, eax
cmp r8b, 0x5f
setne al
inc eax
jmp 0x140058fbf
xor r9d, r11d
test r9b, 0x10
jne 0x1400590de
bt esi, 0xe
jb 0x140058fbd
bt esi, 0xb
jb 0x1400590de
mov rdx, qword [rbx + 0x10]
mov r8d, ebp
mov rcx, qword [rdi + 0x10]
call fcn.140058f60
test eax, eax
jne 0x1400590de
mov rdx, qword [rbx + 0x18]
mov r8d, ebp
mov rcx, qword [rdi + 0x18]
call fcn.140058f60
test eax, eax
jne 0x1400590de
mov rdx, qword [rbx + 0x20]
mov r8d, ebp
mov rcx, qword [rdi + 0x20]
call fcn.140059110
test eax, eax
jne 0x1400590de
bt esi, 0xd
jb 0x140058fbd
movzx eax, word [rbx + 0x30]
cmp word [rdi + 0x30], ax
jne 0x1400590de
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rbx + 0x2c]
cmp ecx, eax
je 0x140058fbd
cmp ecx, ebp
jne 0x1400590de
test eax, eax
js 0x140058fbd
mov eax, 2
jmp 0x140058fbf
mov rbp, qword [rsp + 0x40]
xor eax, eax
cmp rbx, rdi
mov ecx, 2
mov rbx, qword [rsp + 0x38]
cmove ecx, eax
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x14005a920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
xor esi, esi
movsxd r15, edx
mov r12d, r8d
mov rbx, rcx
test rdi, rdi
jne 0x14005a98e
call fcn.140041580
mov qword [rbx + 0x10], rax
mov rdi, rax
test rax, rax
je 0x14005a96f
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.1400416c0
cmp qword [rbx + 0x1c0], rsi
jne 0x14005a985
mov rax, qword [rbx]
test byte [rax + 0x4c], 8
jne 0x14005a985
mov byte [rbx + 0x23], 1
test rdi, rdi
je 0x14005ab22
movzx eax, byte [rbx + 0x1f]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], r14
test al, al
jne 0x14005a9af
inc dword [rbx + 0x54]
mov r14d, dword [rbx + 0x54]
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x14005a9d4
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x24]
test al, al
jne 0x14005a9c8
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x14005a9d4
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov ebp, dword [rbx + rax*4 + 0x24]
mov r9d, r14d
mov dword [rsp + 0x20], 2
mov r8d, r15d
mov edx, 0x33
mov rcx, rdi
call fcn.1400416c0
mov eax, dword [rdi + 0x94]
bts eax, r15d
mov dword [rdi + 0x94], eax
cmp r15d, 1
je 0x14005aa2e
mov rax, qword [rdi]
mov rdx, r15
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], sil
je 0x14005aa2e
mov eax, dword [rdi + 0x98]
bts eax, r15d
mov dword [rdi + 0x98], eax
mov r9d, ebp
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, 0x19
mov rcx, rdi
call fcn.1400416c0
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov r8d, ebp
mov rcx, rdi
lea edx, [r9 + 0x53]
call fcn.1400416c0
mov r12d, eax
mov rax, qword [rdi + 8]
test rax, rax
je 0x14005aa75
movsxd rcx, dword [rdi + 0x3c]
lea rdx, [rcx + rcx*2]
mov byte [rax + rdx*8 - 0x15], 0x90
mov r9d, 2
mov dword [rsp + 0x20], ebp
mov r8d, r15d
mov rcx, rdi
lea edx, [r9 + 0x32]
call fcn.1400416c0
mov edx, dword [rdi + 0x3c]
cmp edx, r12d
jbe 0x14005aaa5
mov rax, qword [rdi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r14d, r14d
je 0x14005aae5
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x14005aae5
mov ecx, esi
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r14d
je 0x14005aae1
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14005aac6
mov dword [rbx + rdx*4 + 0x24], r14d
inc byte [rbx + 0x1f]
jmp 0x14005aae5
mov byte [rax + 6], 1
mov r14, qword [rsp + 0x58]
test ebp, ebp
je 0x14005ab1d
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x14005ab1d
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], ebp
je 0x14005ab19
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x14005ab00
mov dword [rbx + rcx*4 + 0x24], ebp
inc byte [rbx + 0x1f]
jmp 0x14005ab1d
mov byte [rax + 6], 1
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
Function at 0x14005ea90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, dword [rcx + 0x28]
xor r11d, r11d
xor ebx, ebx
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test ebp, ebp
jle 0x14005eba4
mov qword [rsp + 0x48], r15
lea r15, [0x1401232c0]
nop word [rax + rax]
mov r10d, ebx
xor r10d, 1
cmp ebx, 2
cmovae r10d, ebx
test rdi, rdi
je 0x14005eb4b
mov rax, qword [rsi + 0x20]
mov ecx, r10d
shl rcx, 5
mov rax, qword [rcx + rax]
test rax, rax
je 0x14005eb7f
movzx r8d, byte [rdi]
test r8b, r8b
je 0x14005eb36
mov r9, rdi
movzx edx, r8b
sub r9, rax
nop
movzx ecx, byte [rax]
movzx r8d, dl
movzx edx, dl
movzx ecx, byte [rcx + r15]
cmp byte [rdx + r15], cl
jne 0x14005eb36
movzx edx, byte [r9 + rax + 1]
inc rax
movzx r8d, dl
test dl, dl
jne 0x14005eb10
movzx ecx, byte [rax]
movzx eax, r8b
movzx edx, byte [rcx + r15]
movzx ecx, byte [rax + r15]
cmp ecx, edx
jne 0x14005eb7f
mov rax, qword [rsi + 0x20]
lea r8, [rsp + 0x40]
mov ecx, r10d
mov rdx, r14
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.140025d00
test rax, rax
je 0x14005eb7c
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x14005eb89
jmp 0x14005eb7f
xor r11d, r11d
inc ebx
cmp ebx, ebp
jl 0x14005ead0
mov r15, qword [rsp + 0x48]
mov rax, r11
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rax, r11
jmp 0x14005eb91

Function at 0x14005ec80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov esi, dword [rcx + 0x28]
xor r10d, r10d
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
test esi, esi
jle 0x14005ed83
mov qword [rsp + 0x48], r14
mov r14, qword [rcx + 0x20]
mov qword [rsp + 0x50], r15
lea r15, [0x1401232c0]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovae eax, ebx
shl rax, 5
mov r11, qword [rax + r14 + 0x18]
test rdi, rdi
je 0x14005ed3b
mov rax, qword [rax + r14]
test rax, rax
je 0x14005ed5f
movzx r8d, byte [rdi]
test r8b, r8b
je 0x14005ed26
mov r9, rdi
movzx edx, r8b
sub r9, rax
nop word [rax + rax]
movzx ecx, byte [rax]
movzx r8d, dl
movzx edx, dl
movzx ecx, byte [rcx + r15]
cmp byte [rdx + r15], cl
jne 0x14005ed26
movzx edx, byte [r9 + rax + 1]
inc rax
movzx r8d, dl
test dl, dl
jne 0x14005ed00
movzx ecx, byte [rax]
movzx eax, r8b
movzx edx, byte [rcx + r15]
movzx ecx, byte [rax + r15]
cmp ecx, edx
jne 0x14005ed5f
lea rcx, [r11 + 0x20]
mov rdx, rbp
lea r8, [rsp + 0x40]
call fcn.140025d00
test rax, rax
je 0x14005ed5c
mov r10, qword [rax + 0x10]
test r10, r10
jne 0x14005ed69
jmp 0x14005ed5f
xor r10d, r10d
inc ebx
cmp ebx, esi
jl 0x14005ecc0
mov r14, qword [rsp + 0x48]
mov rax, r10
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x58]
mov rax, r10
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140070640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x38
mov r14, qword [rcx + 0x1b8]
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
mov r13, qword [rcx]
test r14, r14
je 0x140070850
mov qword [rsp + 0x60], rbp
xor ebp, ebp
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x30], r15
nop dword [rax + rax]
movsxd r9, dword [r14 + 0x10]
movzx eax, byte [rdi + 0x1f]
mov r15d, dword [r14 + 0x14]
shl r9, 5
add r9, qword [r13 + 0x20]
test al, al
jne 0x1400706a0
inc dword [rdi + 0x54]
mov esi, dword [rdi + 0x54]
jmp 0x1400706ac
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0x24]
mov r9, qword [r9 + 0x18]
xor edx, edx
mov r8d, dword [r14 + 0x10]
mov rcx, rdi
mov dword [rsp + 0x20], 0x37
mov r9, qword [r9 + 0x68]
call fcn.14006ff30
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea r12d, [r15 + 1]
mov rcx, rbx
mov r8d, r12d
lea edx, [r9 + 0x4d]
call fcn.1400416c0
xor r8d, r8d
mov ebp, eax
mov r9d, r12d
mov dword [rsp + 0x20], 0
mov rcx, rbx
lea edx, [r8 + 0x4a]
call fcn.1400416c0
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x14007071d
mov rax, qword [rbx + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
movsxd rbp, dword [rbx + 0x3c]
mov rax, qword [rbx + 0x30]
mov ecx, ebp
cmp dword [rax + 0x60], ebp
jg 0x140070745
mov rcx, rbx
call fcn.140041610
test eax, eax
jne 0x140070783
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 8]
add rcx, rbp
mov word [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], 2
lea rdx, [rax + rcx*8]
lea eax, [r15 - 1]
mov dword [rdx + 0xc], esi
mov dword [rdx + 4], eax
mov qword [rdx + 0x10], 0
mov rax, qword [rbx + 0x30]
movsxd rbp, dword [rbx + 0x3c]
cmp dword [rax + 0x60], ebp
jg 0x14007079c
mov rcx, rbx
call fcn.140041610
test eax, eax
jne 0x1400707cf
inc dword [rbx + 0x3c]
lea rcx, [rbp*2]
mov rax, qword [rbx + 8]
add rcx, rbp
xor ebp, ebp
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x1400707d1
xor ebp, ebp
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400707e7
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 8
xor r9d, r9d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x3d]
call fcn.1400416c0
test esi, esi
je 0x140070830
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x140070830
mov ecx, ebp
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], esi
je 0x14007082c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x140070813
mov dword [rdi + rdx*4 + 0x24], esi
inc byte [rdi + 0x1f]
jmp 0x140070830
mov byte [rax + 6], 1
mov r14, qword [r14]
test r14, r14
jne 0x140070680
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop r14
pop r13
pop rdi
pop rbx
ret