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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r11, qword [rcx + 0x10]
lea rsi, [0x180115410]
xor r9d, r9d
mov rdi, rdx
mov rbx, rcx
test r11, r11
je 0x18000aa3d
movzx eax, byte [rdx]
mov r10, rdx
test al, al
je 0x18000aa22
movzx eax, al
lea r10, [r10 + 1]
movzx ecx, byte [rax + rsi]
lea eax, [r9*8]
xor ecx, eax
movzx eax, byte [r10]
xor r9d, ecx
test al, al
jne 0x18000aa02
mov eax, r9d
xor edx, edx
div dword [rbx]
mov eax, edx
shl rax, 4
add rax, r11
mov r9d, edx
mov r11, qword [rax + 8]
mov ebx, dword [rax]
jmp 0x18000aa44
mov r11, qword [rcx + 8]
mov ebx, dword [rcx + 4]
mov dword [r8], r9d
test ebx, ebx
je 0x18000aab0
nop dword [rax + rax]
mov r10, qword [r11 + 0x18]
dec ebx
mov r8, rdi
movzx r9d, byte [r10]
test r9b, r9b
je 0x18000aa95
movzx eax, r9b
sub r10, rdi
nop dword [rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + rsi]
cmp byte [rcx + rsi], al
jne 0x18000aa95
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x18000aa70
movzx eax, byte [r8]
movzx ecx, byte [rax + rsi]
movzx eax, r9b
movzx eax, byte [rax + rsi]
cmp eax, ecx
je 0x18000aac2
mov r11, qword [r11]
test ebx, ebx
jne 0x18000aa50
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r11
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x18000aae0
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.18000a9d0
mov rcx, rax
test rax, rax
je 0x18000abd8
mov qword [rsp + 0x40], r14
mov r14, qword [rax + 0x10]
test rbp, rbp
jne 0x18000abbb
mov rdx, qword [rax + 8]
mov rax, qword [rax]
test rdx, rdx
je 0x18000ab2e
mov qword [rdx], rax
jmp 0x18000ab32
mov qword [rdi + 8], rax
mov rdx, qword [rcx]
test rdx, rdx
je 0x18000ab42
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18000ab65
mov edx, dword [rsp + 0x58]
shl rdx, 4
add rdx, rax
cmp qword [rdx + 8], rcx
jne 0x18000ab63
mov rax, qword [rcx]
mov qword [rdx + 8], rax
dec dword [rdx]
call fcn.180006630
add dword [rdi + 4], 0xffffffff
jne 0x18000abc3
mov rsi, qword [rdi + 8]
xor ebp, ebp
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 8], rbp
call fcn.180006630
mov qword [rdi + 0x10], rbp
mov dword [rdi], ebp
test rsi, rsi
je 0x18000aba3
nop
mov rbx, qword [rsi]
mov rcx, rsi
call fcn.180006630
mov rsi, rbx
test rbx, rbx
jne 0x18000ab90
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 0x18000acf5
mov ecx, 0x20
call fcn.1800061a0
mov rbx, rax
test rax, rax
jne 0x18000ac03
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 0x18000ac64
mov eax, dword [rdi]
add eax, eax
cmp edx, eax
jbe 0x18000ac64
add edx, edx
mov rcx, rdi
call fcn.18000a840
test eax, eax
je 0x18000ac64
movzx ecx, byte [rsi]
mov eax, ebp
test cl, cl
je 0x18000ac5e
lea r8, [0x180115410]
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 0x18000ac40
xor edx, edx
div dword [rdi]
jmp 0x18000ac68
mov edx, dword [rsp + 0x58]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18000acd9
mov ecx, edx
shl rcx, 4
add rcx, rax
je 0x18000acd9
mov eax, dword [rcx]
test eax, eax
je 0x18000ac88
mov rdx, qword [rcx + 8]
jmp 0x18000ac8b
mov rdx, rbp
inc eax
mov qword [rcx + 8], rbx
mov dword [rcx], eax
test rdx, rdx
je 0x18000acd9
mov qword [rbx], rdx
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x18000acc2
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 0x18000aced
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 0x180035810
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.1800061a0
mov rbx, rax
test rax, rax
jne 0x18003584b
lea eax, [rbx + 7]
jmp 0x1800358b6
cmp dword [0x18012ae24], 0
je 0x180035888
mov qword [rax + 0x10], rbp
lea r8, [0x180008f80]
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.1800d7b04
mov qword [rbx], rax
test rax, rax
jne 0x180035898
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 0x1800358b1
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
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 0x180037b30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rsi, qword [rcx + 0x48]
xor ebx, ebx
mov r14, qword [rcx + 0x10]
mov r15, r9
mov ebp, r8d
mov r13, rdx
mov rdi, qword [rsi + 0x30]
test rdi, rdi
jne 0x180037bb8
movzx eax, word [r14 + 6]
mov rcx, qword [r14 + 0x10]
imul rdx, rax, 0x38
add rdx, 0x58
call fcn.180006a30
mov rdi, rax
test rax, rax
jne 0x180037b8c
mov edi, ebx
jmp 0x180037ba3
add rax, 0x20
mov qword [rdi], r14
mov qword [rdi + 0x10], rax
movzx eax, word [r14 + 6]
inc ax
mov word [rdi + 8], ax
mov qword [rsi + 0x30], rdi
test rdi, rdi
jne 0x180037bb4
lea eax, [rdi + 7]
jmp 0x180037c3a
mov word [rdi + 8], bp
cmp byte [rsi + 0x58], bl
je 0x180037bf2
cmp byte [rsi + 0x59], bl
je 0x180037bd0
mov rax, qword [rsi + 0x10]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x180037bfa
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + 0x10]
movsxd rcx, dword [rax + 4]
lea rax, [rcx + rcx*4]
shl rax, 4
add rax, qword [rdx + 0x18]
mov r8, qword [rax + 0x28]
add rax, 0x14
jmp 0x180037bfa
mov rax, qword [rsi + 0x38]
lea r8, [rax + 0x10]
mov edx, dword [rax]
mov r9, rdi
mov rcx, r14
call fcn.18002a090
test ebp, ebp
jle 0x180037c22
mov rax, qword [rdi + 0x10]
add rax, 8
test byte [rax], 1
jne 0x180037c59
inc ebx
add rax, 0x38
cmp ebx, ebp
jl 0x180037c13
mov rdx, qword [r13 + 0x10]
xor r9d, r9d
mov ecx, dword [r13 + 0xc]
mov r8, rdi
call fcn.18002a510
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
mov dword [r15], 0xffffffff
jmp 0x180037c38
Function at 0x18003e970
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 0x18003e9b2
cmp dword [rcx], esi
jne 0x18003e9b2
movsx eax, word [rcx + 4]
cmp eax, ebp
je 0x18003ea08
inc r10d
add rcx, 0x14
cmp r10d, 0xa
jl 0x18003e9a0
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.18003e890
movzx r8d, byte [rsp + 0x68]
test r8b, r8b
je 0x18003eaaf
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18003eabf
movsxd rax, dword [r14 + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], r8b
jmp 0x18003eabf
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 0x18003ea23
mov byte [rbx + 0x8e], 0
cmp dword [rbx + 0xa8], eax
jne 0x18003ea32
mov byte [rbx + 0xa2], 0
cmp dword [rbx + 0xbc], eax
jne 0x18003ea41
mov byte [rbx + 0xb6], 0
cmp dword [rbx + 0xd0], eax
jne 0x18003ea50
mov byte [rbx + 0xca], 0
cmp dword [rbx + 0xe4], eax
jne 0x18003ea5f
mov byte [rbx + 0xde], 0
cmp dword [rbx + 0xf8], eax
jne 0x18003ea6e
mov byte [rbx + 0xf2], 0
cmp dword [rbx + 0x10c], eax
jne 0x18003ea7d
mov byte [rbx + 0x106], 0
cmp dword [rbx + 0x120], eax
jne 0x18003ea8c
mov byte [rbx + 0x11a], 0
cmp dword [rbx + 0x134], eax
jne 0x18003ea9b
mov byte [rbx + 0x12e], 0
cmp dword [rbx + 0x148], eax
jne 0x18003eaaa
mov byte [rbx + 0x142], 0
mov eax, dword [rcx + 0xc]
jmp 0x18003eac6
mov r9d, edi
mov r8d, ebp
mov edx, esi
mov rcx, rbx
call fcn.18003e150
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 0x180040d10
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 0x180040e98
test rdx, rdx
je 0x180040e98
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 0x180040d84
and r9d, r11d
bt r9d, 0xa
jae 0x180040e8e
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
jne 0x180040e8e
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 0x180040dcc
cmp r8b, 0x5f
jne 0x180040da4
mov rcx, qword [rcx + 0x10]
mov r8d, ebp
call fcn.180040d10
cmp eax, 2
jl 0x180040dc5
cmp byte [rbx], 0x5f
jne 0x180040e8e
mov rdx, qword [rbx + 0x10]
mov r8d, ebp
mov rcx, rdi
call fcn.180040d10
cmp eax, 2
jge 0x180040e8e
mov eax, 1
jmp 0x180040d6f
lea eax, [r8 + 0x66]
test al, 0xfd
je 0x180040e0b
mov rax, qword [rcx + 8]
test rax, rax
je 0x180040e0b
mov r10, qword [rdx + 8]
sub r10, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r10]
sub edx, ecx
jne 0x180040df7
inc rax
test ecx, ecx
jne 0x180040de4
test edx, edx
je 0x180040e0b
xor eax, eax
cmp r8b, 0x5f
setne al
inc eax
jmp 0x180040d6f
xor r9d, r11d
test r9b, 0x10
jne 0x180040e8e
bt esi, 0xe
jb 0x180040d6d
bt esi, 0xb
jb 0x180040e8e
mov rdx, qword [rbx + 0x10]
mov r8d, ebp
mov rcx, qword [rdi + 0x10]
call fcn.180040d10
test eax, eax
jne 0x180040e8e
mov rdx, qword [rbx + 0x18]
mov r8d, ebp
mov rcx, qword [rdi + 0x18]
call fcn.180040d10
test eax, eax
jne 0x180040e8e
mov rdx, qword [rbx + 0x20]
mov r8d, ebp
mov rcx, qword [rdi + 0x20]
call fcn.180040ec0
test eax, eax
jne 0x180040e8e
bt esi, 0xd
jb 0x180040d6d
movzx eax, word [rbx + 0x30]
cmp word [rdi + 0x30], ax
jne 0x180040e8e
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rbx + 0x2c]
cmp ecx, eax
je 0x180040d6d
cmp ecx, ebp
jne 0x180040e8e
test eax, eax
js 0x180040d6d
mov eax, 2
jmp 0x180040d6f
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 0x1800426b0
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 0x18004271e
call fcn.180026ac0
mov qword [rbx + 0x10], rax
mov rdi, rax
test rax, rax
je 0x1800426ff
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026c20
cmp qword [rbx + 0x1c0], rsi
jne 0x180042715
mov rax, qword [rbx]
test byte [rax + 0x4c], 8
jne 0x180042715
mov byte [rbx + 0x23], 1
test rdi, rdi
je 0x1800428b2
movzx eax, byte [rbx + 0x1f]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], r14
test al, al
jne 0x18004273f
inc dword [rbx + 0x54]
mov r14d, dword [rbx + 0x54]
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x180042764
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0x24]
test al, al
jne 0x180042758
inc dword [rbx + 0x54]
mov ebp, dword [rbx + 0x54]
jmp 0x180042764
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.180026c20
mov eax, dword [rdi + 0x94]
bts eax, r15d
mov dword [rdi + 0x94], eax
cmp r15d, 1
je 0x1800427be
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 0x1800427be
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.180026c20
xor r9d, r9d
mov dword [rsp + 0x20], r14d
mov r8d, ebp
mov rcx, rdi
lea edx, [r9 + 0x53]
call fcn.180026c20
mov r12d, eax
mov rax, qword [rdi + 8]
test rax, rax
je 0x180042805
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.180026c20
mov edx, dword [rdi + 0x3c]
cmp edx, r12d
jbe 0x180042835
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 0x180042875
movzx edx, byte [rbx + 0x1f]
cmp dl, 8
jae 0x180042875
mov ecx, esi
lea rax, [rbx + 0x88]
cmp dword [rax + 0xc], r14d
je 0x180042871
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x180042856
mov dword [rbx + rdx*4 + 0x24], r14d
inc byte [rbx + 0x1f]
jmp 0x180042875
mov byte [rax + 6], 1
mov r14, qword [rsp + 0x58]
test ebp, ebp
je 0x1800428ad
movzx ecx, byte [rbx + 0x1f]
cmp cl, 8
jae 0x1800428ad
lea rax, [rbx + 0x88]
nop
cmp dword [rax + 0xc], ebp
je 0x1800428a9
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x180042890
mov dword [rbx + rcx*4 + 0x24], ebp
inc byte [rbx + 0x1f]
jmp 0x1800428ad
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 0x1800466d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14d, dword [rcx + 0x28]
xor edi, edi
xor ebx, ebx
mov rsi, r8
mov r15, rdx
mov rbp, rcx
test r14d, r14d
jle 0x1800467e4
mov qword [rsp + 0x58], r12
lea r12, [0x180115410]
nop word [rax + rax]
mov r11d, ebx
xor r11d, 1
cmp ebx, 2
cmovae r11d, ebx
test rsi, rsi
je 0x18004678d
mov rax, qword [rbp + 0x20]
movzx r9d, byte [rsi]
mov ecx, r11d
shl rcx, 5
mov r8, qword [rcx + rax]
test r9b, r9b
je 0x180046777
mov r10, rsi
movzx eax, r9b
sub r10, r8
nop word [rax + rax]
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + r12]
cmp byte [rcx + r12], al
jne 0x180046777
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x180046750
movzx eax, byte [r8]
movzx ecx, byte [rax + r12]
movzx eax, r9b
movzx eax, byte [rax + r12]
cmp eax, ecx
jne 0x1800467c0
mov rax, qword [rbp + 0x20]
lea r8, [rsp + 0x50]
mov ecx, r11d
mov rdx, r15
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
add rcx, 8
call fcn.18000a9d0
test rax, rax
je 0x1800467be
mov rdi, qword [rax + 0x10]
test rdi, rdi
jne 0x1800467cb
jmp 0x1800467c0
xor edi, edi
inc ebx
cmp ebx, r14d
jl 0x180046710
mov r12, qword [rsp + 0x58]
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x60]
mov rax, rdi
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800468d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push rdi
push r14
sub rsp, 0x28
mov ebp, dword [rcx + 0x28]
xor r11d, r11d
xor ebx, ebx
mov rdi, r8
mov r14, rdx
test ebp, ebp
jle 0x1800469c7
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
lea r12, [0x180115410]
mov qword [rsp + 0x20], r15
mov r15, qword [rcx + 0x20]
nop word [rax + rax]
mov eax, ebx
xor eax, 1
cmp ebx, 2
cmovae eax, ebx
shl rax, 5
mov rsi, qword [rax + r15 + 0x18]
test rdi, rdi
je 0x18004697d
movzx r9d, byte [rdi]
mov r8, qword [rax + r15]
test r9b, r9b
je 0x180046967
mov r10, rdi
movzx eax, r9b
sub r10, r8
movzx edx, byte [r8]
movzx r9d, al
movzx ecx, al
movzx eax, byte [rdx + r12]
cmp byte [rcx + r12], al
jne 0x180046967
movzx eax, byte [r10 + r8 + 1]
inc r8
movzx r9d, al
test al, al
jne 0x180046940
movzx eax, byte [r8]
movzx ecx, byte [rax + r12]
movzx eax, r9b
movzx eax, byte [rax + r12]
cmp eax, ecx
jne 0x1800469a1
lea rcx, [rsi + 0x20]
mov rdx, r14
lea r8, [rsp + 0x50]
call fcn.18000a9d0
test rax, rax
je 0x18004699e
mov r11, qword [rax + 0x10]
test r11, r11
jne 0x1800469ab
jmp 0x1800469a1
xor r11d, r11d
inc ebx
cmp ebx, ebp
jl 0x180046910
mov r12, qword [rsp + 0x60]
mov rax, r11
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop r14
pop rdi
pop rbp
pop rbx
ret
mov rax, r11
add rsp, 0x28
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800584e0
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 0x1800586f0
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 0x180058540
inc dword [rdi + 0x54]
mov esi, dword [rdi + 0x54]
jmp 0x18005854c
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.180057e60
xor r9d, r9d
mov dword [rsp + 0x20], ebp
lea r12d, [r15 + 1]
mov rcx, rbx
mov r8d, r12d
lea edx, [r9 + 0x4d]
call fcn.180026c20
xor r8d, r8d
mov ebp, eax
mov r9d, r12d
mov dword [rsp + 0x20], 0
mov rcx, rbx
lea edx, [r8 + 0x4a]
call fcn.180026c20
mov edx, dword [rbx + 0x3c]
cmp edx, ebp
jbe 0x1800585bd
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 0x1800585e5
mov rcx, rbx
call fcn.180026b70
test eax, eax
jne 0x180058623
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 0x18005863c
mov rcx, rbx
call fcn.180026b70
test eax, eax
jne 0x18005866f
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 0x180058671
xor ebp, ebp
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x180058687
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.180026c20
test esi, esi
je 0x1800586d0
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x1800586d0
mov ecx, ebp
lea rax, [rdi + 0x88]
cmp dword [rax + 0xc], esi
je 0x1800586cc
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800586b3
mov dword [rdi + rdx*4 + 0x24], esi
inc byte [rdi + 0x1f]
jmp 0x1800586d0
mov byte [rax + 6], 1
mov r14, qword [r14]
test r14, r14
jne 0x180058520
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
Function at 0x180089d10
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x50
mov qword [rax + 0x10], rbp
mov rbx, rcx
xor ebp, ebp
mov qword [rax - 0x10], r12
mov qword [rax - 0x20], r14
mov r12d, ebp
mov qword [rcx + 0x10], rbp
mov r14, rdx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bpl
mov qword [rax - 0x28], r15
lea r15d, [rbp - 6]
cmp qword [rdx + 0x10], rbp
jbe 0x180089e81
mov qword [rax + 0x18], rsi
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ecx, ebp
mov qword [rax + 0x20], rdi
mov qword [rax - 0x18], r13
mov qword [rsp + 0x20], rcx
nop word [rax + rax]
cmp qword [r14 + 0x18], 0x10
mov rax, r14
jb 0x180089d7d
mov rax, qword [r14]
movsx eax, byte [rcx + rax]
shl ebp, 8
add eax, ebp
add r15d, 8
movsxd rbp, eax
js 0x180089e0b
lea ecx, [r15 + 6]
movsxd rdi, r15d
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
imul eax, edx, 0xfffffffa
mov esi, edx
add r15d, eax
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
mov rcx, rdi
mov rax, rbp
sar rax, cl
mov rcx, qword [rbx + 0x10]
and eax, 0x3f
movzx r9d, byte [rax + r8]
cmp rcx, rdx
jae 0x180089ded
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180089de2
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180089dfc
mov rcx, rbx
call fcn.1800c3bf0
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x180089db0
mov rcx, qword [rsp + 0x20]
inc r12d
inc rcx
movsxd rax, r12d
mov qword [rsp + 0x20], rcx
cmp rax, qword [r14 + 0x10]
jb 0x180089d70
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
cmp r15d, 0xfffffffa
jle 0x180089e81
shl ebp, 8
lea ecx, [r15 + 8]
movsxd rdx, ebp
sar rdx, cl
mov rcx, qword [rbx + 0x10]
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180089e79
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180089e6e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180089e81
mov rcx, rbx
call fcn.1800c3bf0
mov rcx, qword [rbx + 0x10]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x68]
test cl, 3
je 0x180089ed9
nop
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180089ec5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x180089ebd
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x180089ed0
mov r9b, 0x3d
mov rcx, rbx
call fcn.1800c3bf0
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x180089ea0
mov rax, rbx
add rsp, 0x50
pop rbx
ret