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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
movsxd rax, dword [r9 + 8]
mov rbp, rdx
mov rdx, rax
mov rdi, rcx
mov rbx, r8
mov r12, r9
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x20], rax
call fcn.004fb3e0
test rax, rax
je 0x5f66e0
cmp qword [rsp + 0x20], 0x10
ja 0x5f66a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rsi, rax
mov r10, qword [rbp]
mov rax, qword [rdi]
mov r11, qword [rbx]
mov rcx, qword [rsp + 0x20]
test r10, r10
mov qword [rsp + 0x30], rax
mov rax, qword [r12]
cmove r10, rsi
test r11, r11
cmove r11, rsi
mov qword [rsp + 0x38], rax
test rcx, rcx
je 0x5f66e4
movsxd r9, dword [rbp + 8]
movsxd rax, dword [rbx + 0xc]
xor r8d, r8d
movsxd r12, dword [rbx + 8]
movsxd r15, dword [rbp + 0xc]
xor ebx, ebx
mov qword [rsp + 0x48], rax
mov rax, r9
sub rcx, r9
mov rdx, r9
lea rbp, [r9 + 1]
lea r13, [rsi + r9*8]
sub rax, r12
sub r9, qword [rsp + 0x48]
mov r14, rcx
neg rdx
xor ecx, ecx
mov r12, rax
sub rbp, r15
add r9, 1
nop
mov rax, qword [r10 + rcx*8]
mov r15, rdx
sar r15, 0x3f
and rax, r15
add rax, rbx
mov r15, rax
lea rax, [r12 + rdx]
setb bl
sar rax, 0x3f
and rax, qword [r11 + r8*8]
movzx ebx, bl
add rax, r15
mov qword [r13 + rdx*8], rax
lea rax, [rbp + rdx]
adc rbx, 0
shr rax, 0x3f
add rcx, rax
lea rax, [r9 + rdx]
add rdx, 1
shr rax, 0x3f
add r8, rax
cmp r14, rdx
jne 0x5f65b0
mov r14, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x2c]
mov rdx, rsi
mov r8, qword [rsp + 0x38]
mov rcx, r14
call fcn.005ef430
mov rdx, rsi
mov rcx, r14
sub rbx, rax
mov rax, qword [rsp + 0x20]
lea r9, [rsi + rax*8]
nop
mov r8, qword [rcx]
mov rax, qword [rdx]
add rdx, 8
add rcx, 8
xor rax, r8
and rax, rbx
xor rax, r8
mov qword [rcx - 8], rax
mov qword [rdx - 8], 0
cmp r9, rdx
jne 0x5f6630
mov eax, dword [rsp + 0x2c]
mov dword [rdi + 0x10], 0
mov ebx, 1
mov dword [rdi + 8], eax
cmp rsi, qword [rsp + 0x40]
je 0x5f6687
mov r8d, 0x5a
lea rdx, str.crypto_bn_bn_mod.c
mov rcx, rsi
call fcn.0054a3c0
mov eax, ebx
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x20]
mov r8d, 0x3c
lea rdx, str.crypto_bn_bn_mod.c
lea rcx, [rax*8]
call fcn.0054a3f0
mov rsi, rax
test rax, rax
je 0x5f66e0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
jmp 0x5f6536
xor ebx, ebx
jmp 0x5f6687
mov rcx, qword [rsp + 0x30]
mov r8, rax
xor r9d, r9d
mov rdx, rsi
call fcn.005ef430
jmp 0x5f6658
Function at 0x60bce0
Capabilities:
Query environment variable

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x009a2fc0]
test eax, eax
je 0x60bd10
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [0x009a2fc0], 1
mov r8d, 0x30
lea rdx, [0x009a2f60]
lea rcx, str.OPENSSL_ia32cap
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
sub eax, 1
cmp eax, 0x2e
ja 0x60bef0
movzx r12d, word [0x009a2f60]
xor edx, edx
mov edi, 0xa
lea rax, [0x009a2f60]
cmp r12w, 0x7e
sete dl
lea rsi, [rax + rdx*2]
cmp word [rsi], 0x30
je 0x60bf10
xor r13d, r13d
mov ebp, edi
jmp 0x60bd81
sub ebx, 0x30
cmp edi, ebx
jbe 0x60bda9
imul r13, rbp
add r13, rbx
add rsi, 2
movzx ebx, word [rsi - 2]
mov edx, 4
mov ecx, ebx
call fcn.00507fd0
test eax, eax
jne 0x60bd73
mov edx, 0x10
mov ecx, ebx
call fcn.00507fd0
test eax, eax
jne 0x60be12
cmp r12w, 0x7e
je 0x60bf30
movzx eax, word [0x009a2f60]
cmp ax, 0x3a
je 0x60be21
test ax, ax
je 0x60bde2
lea rax, [0x009a2f60]
jmp 0x60bdd6
cmp dx, 0x3a
je 0x60be50
add rax, 2
movzx edx, word [rax]
test dx, dx
jne 0x60bdd0
mov rdx, qword [0x0091c4c0]
mov qword [rdx + 8], 0
mov eax, r13d
mov rbx, r13
or ah, 4
shr rbx, 0x20
mov dword [rdx], eax
mov dword [rdx + 4], ebx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ecx, ebx
call fcn.00507ff0
lea ebx, [rax - 0x57]
jmp 0x60bd76
mov rcx, qword [0x0091c4c0]
call fcn.005c44b0
mov r13, rax
movzx eax, word [0x009a2f60]
test ax, ax
je 0x60bde2
cmp ax, 0x3a
jne 0x60bdc6
lea rax, [0x009a2f60]
nop dword [rax]
movzx r12d, word [rax + 2]
xor edx, edx
cmp r12w, 0x7e
sete dl
add rdx, 1
lea rsi, [rax + rdx*2]
cmp word [rsi], 0x30
je 0x60bfa0
mov edi, 0xa
xor r14d, r14d
mov ebp, edi
jmp 0x60be8e
sub ebx, 0x30
cmp edi, ebx
jbe 0x60beb6
imul r14, rbp
add r14, rbx
add rsi, 2
movzx ebx, word [rsi - 2]
mov edx, 4
mov ecx, ebx
call fcn.00507fd0
test eax, eax
jne 0x60be80
mov edx, 0x10
mov ecx, ebx
call fcn.00507fd0
test eax, eax
jne 0x60bee0
mov rax, r14
shr rax, 0x20
cmp r12w, 0x7e
je 0x60bf70
mov rdx, qword [0x0091c4c0]
mov qword [rdx + 8], r14
jmp 0x60bdf1
mov ecx, ebx
call fcn.00507ff0
lea ebx, [rax - 0x57]
jmp 0x60be83
mov rcx, qword [0x0091c4c0]
call fcn.005c44b0
mov rdx, qword [0x0091c4c0]
mov r13, rax
jmp 0x60bdf1
movzx ecx, word [rsi + 2]
call fcn.00507ff0
cmp eax, 0x78
je 0x60bf89
add rsi, 2
mov edi, 8
jmp 0x60bd6c
mov rcx, qword [0x0091c4c0]
call fcn.005c44b0
mov rcx, r13
mov rdx, r13
not rcx
and edx, 0x1000000
and rcx, rax
mov r13, rcx
test rdx, rdx
je 0x60be30
movabs rax, 0xedfff7fdffffffff
and r13, rax
jmp 0x60be30
mov rdx, qword [0x0091c4c0]
mov ebx, r14d
not eax
not ebx
and dword [rdx + 0xc], eax
and dword [rdx + 8], ebx
jmp 0x60bdf1
add rsi, 4
mov edi, 0x10
jmp 0x60bd6c
movzx ecx, word [rsi + 2]
call fcn.00507ff0
cmp eax, 0x78
je 0x60bfbc
add rsi, 2
mov edi, 8
jmp 0x60be76
add rsi, 4
mov edi, 0x10
jmp 0x60be76
Function at 0x61ceb0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1b0
lea rsi, [rsp + 0xd0]
mov rdi, rcx
mov rcx, rdx
mov edx, 0x20
mov r8, rsi
lea rbp, [rsp + 0x40]
lea r12, [rsp + 0x70]
call fcn.00596fe0
movzx eax, byte [rsp + 0xef]
mov rdx, rsi
lea rbx, [rsp + 0x110]
mov rcx, rbx
and byte [rsp + 0xd0], 0xf8
and eax, 0x3f
or eax, 0x40
mov byte [rsp + 0xef], al
call fcn.00619140
lea rdx, [rbx + 0x50]
mov rcx, rbp
call fcn.00615f40
mov r8, rbp
mov rdx, rbx
mov rcx, r12
call fcn.00615230
lea rdx, [rbx + 0x28]
mov r8, rbp
lea rbx, [rsp + 0xa0]
mov rcx, rbx
call fcn.00615230
mov rdx, rbx
mov rcx, rdi
call fcn.00614ff0
lea rcx, [rsp + 0x20]
mov rdx, r12
call fcn.00614ff0
movzx eax, byte [rsp + 0x20]
mov edx, 0x40
mov rcx, rsi
and eax, 1
shl eax, 7
xor byte [rdi + 0x1f], al
call fcn.005c46c0
nop
add rsp, 0x1b0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x61cfc0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movdqu xmm2, xmmword [rdx + 0x10]
movdqu xmm1, xmmword [rdx]
movaps xmmword [rsp + 0x30], xmm2
movzx eax, byte [rsp + 0x3f]
mov rsi, rcx
lea rdi, [rsp + 0x20]
lea rcx, [rsp + 0xd0]
mov rdx, rdi
movaps xmmword [rsp + 0x20], xmm1
lea rbp, [rsp + 0xa0]
and eax, 0x7f
and byte [rsp + 0x20], 0xf8
lea rbx, [rsp + 0x40]
or eax, 0x40
mov byte [rsp + 0x3f], al
call fcn.00619140
mov r8d, dword [rsp + 0x118]
movdqu xmm0, xmmword [rsp + 0xf8]
paddd xmm0, xmmword [rsp + 0x120]
mov edx, dword [rsp + 0x140]
movdqu xmm3, xmmword [rsp + 0xf8]
mov ecx, dword [rsp + 0x11c]
movaps xmmword [rsp + 0x40], xmm0
lea eax, [rdx + r8]
sub edx, r8d
movdqu xmm0, xmmword [rsp + 0x108]
paddd xmm0, xmmword [rsp + 0x130]
mov dword [rsp + 0x60], eax
movdqu xmm4, xmmword [rsp + 0x108]
mov eax, dword [rsp + 0x144]
mov dword [rsp + 0x90], edx
lea rdx, [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [rsp + 0x120]
lea r9d, [rax + rcx]
sub eax, ecx
mov rcx, rbp
psubd xmm0, xmm3
mov dword [rsp + 0x64], r9d
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [rsp + 0x130]
mov dword [rsp + 0x94], eax
psubd xmm0, xmm4
movaps xmmword [rsp + 0x80], xmm0
call fcn.00615f40
mov r8, rbp
mov rdx, rbx
mov rcx, rbx
call fcn.00615230
mov rdx, rbx
mov rcx, rsi
call fcn.00614ff0
mov edx, 0x20
mov rcx, rdi
call fcn.005c46c0
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x65bec0
Capabilities:
Encode data using base64

Disassembly:
push rbx
lea r11, [0x008f1b20]
mov rbx, rdx
test rcx, rcx
je 0x65bedf
test byte [rcx + 0x5c], 2
lea rax, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
cmovne r11, rax
test r9d, r9d
jle 0x65bfc3
xor eax, eax
jmp 0x65bf4a
movzx edx, byte [r8 + 1]
mov rbx, r10
add r8, 3
shl edx, 8
or edx, ecx
movzx ecx, byte [r8 - 1]
or edx, ecx
mov ecx, edx
shr ecx, 0x12
movzx ecx, byte [r11 + rcx]
mov byte [r10 - 4], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [r11 + rcx]
mov byte [r10 - 3], cl
mov ecx, edx
and edx, 0x3f
shr ecx, 6
and ecx, 0x3f
movzx ecx, byte [r11 + rcx]
mov byte [r10 - 2], cl
movzx edx, byte [r11 + rdx]
mov byte [r10 - 1], dl
sub r9d, 3
je 0x65bf86
movzx edx, byte [r8]
lea r10, [rbx + 4]
add eax, 4
shl edx, 0x10
mov ecx, edx
cmp r9d, 2
jg 0x65bef0
je 0x65bf90
shr edx, 0x12
shr ecx, 0xc
movzx edx, byte [r11 + rdx]
and ecx, 0x30
mov byte [rbx], dl
movzx edx, byte [r11 + rcx]
mov byte [rbx + 1], dl
mov edx, 0x3d
mov byte [rbx + 2], dl
mov byte [rbx + 3], 0x3d
mov byte [r10], 0
pop rbx
ret
movzx edx, byte [r8 + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
movzx ecx, byte [r11 + rcx]
mov byte [rbx], cl
mov ecx, edx
shr edx, 6
shr ecx, 0xc
and edx, 0x3c
and ecx, 0x3f
movzx ecx, byte [r11 + rcx]
mov byte [rbx + 1], cl
movzx edx, byte [r11 + rdx]
jmp 0x65bf7f
mov r10, rbx
xor eax, eax
mov byte [r10], 0
pop rbx
ret
Function at 0x65c090
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rsp + 0x90]
mov rdi, rcx
mov rsi, rdx
mov r13, r8
mov r12, r9
mov dword [r8], 0
test ebp, ebp
jle 0x65c270
mov ebx, dword [rcx + 4]
cmp ebx, 0x50
jg 0x65c314
movsxd rax, dword [rcx]
sub ebx, eax
cmp ebx, ebp
jg 0x65c2e0
xor r14d, r14d
test eax, eax
jne 0x65c274
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
lea r9, [0x008f1b20]
test byte [rdi + 0x5c], 2
mov rcx, r9
cmovne rcx, r10
test ebx, ebx
jle 0x65c245
mov r11, rsi
mov r15, r12
xor r8d, r8d
jmp 0x65c174
movzx r11d, byte [r15 + 1]
add r15, 3
shl r11d, 8
or edx, r11d
movzx r11d, byte [r15 - 1]
or edx, r11d
mov r11d, edx
shr r11d, 0x12
movzx r11d, byte [rcx + r11]
mov byte [rax - 4], r11b
mov r11d, edx
shr r11d, 0xc
and r11d, 0x3f
movzx r11d, byte [rcx + r11]
mov byte [rax - 3], r11b
mov r11d, edx
and edx, 0x3f
shr r11d, 6
and r11d, 0x3f
movzx r11d, byte [rcx + r11]
mov byte [rax - 2], r11b
movzx edx, byte [rcx + rdx]
mov r11, rax
mov byte [rax - 1], dl
sub ebx, 3
je 0x65c1b6
movzx edx, byte [r15]
lea rax, [r11 + 4]
add r8d, 4
shl edx, 0x10
cmp ebx, 2
jg 0x65c112
je 0x65c210
mov ebx, edx
shr edx, 0xc
shr ebx, 0x12
and edx, 0x30
movzx ebx, byte [rcx + rbx]
mov byte [r11], bl
movzx edx, byte [rcx + rdx]
mov byte [r11 + 1], dl
mov edx, 0x3d
mov byte [r11 + 2], dl
mov byte [r11 + 3], 0x3d
movsxd r8, r8d
add rsi, r8
add r14, r8
mov byte [rax], 0
movsxd rdx, dword [rdi + 4]
add r12, rdx
sub ebp, edx
test byte [rdi + 0x5c], 1
jne 0x65c1dc
mov byte [rsi], 0xa
add r14, 1
add rsi, 1
mov byte [rsi], 0
mov ebx, dword [rdi + 4]
cmp ebx, ebp
jg 0x65c250
cmp r14, 0x7fffffff
jbe 0x65c0f4
mov dword [r13], 0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx ebx, byte [r15 + 1]
shl ebx, 8
or edx, ebx
mov ebx, edx
shr ebx, 0x12
movzx ebx, byte [rcx + rbx]
mov byte [r11], bl
mov ebx, edx
shr edx, 6
shr ebx, 0xc
and edx, 0x3c
and ebx, 0x3f
movzx ebx, byte [rcx + rbx]
mov byte [r11 + 1], bl
movzx edx, byte [rcx + rdx]
jmp 0x65c1ad
mov rax, rsi
jmp 0x65c1bf
cmp r14, 0x7fffffff
ja 0x65c1f3
test ebp, ebp
jne 0x65c300
mov dword [rdi], ebp
mov eax, 1
mov dword [r13], r14d
jmp 0x65c1fd
xor eax, eax
jmp 0x65c1fd
movsxd r14, ebx
mov rdx, r9
lea rcx, [rcx + rax + 8]
sub ebp, ebx
mov r8, r14
add r12, r14
call sub.msvcrt.dll_memcpy
mov r9d, dword [rdi + 4]
mov rdx, rsi
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.0065bec0
mov dword [rdi], 0
movsxd r14, eax
add rsi, r14
test byte [rdi + 0x5c], 1
jne 0x65c2bc
mov byte [rsi], 0xa
add r14, 1
add rsi, 1
mov byte [rsi], 0
mov ebx, dword [rdi + 4]
cmp ebp, ebx
jl 0x65c250
cmp r14, 0x7fffffff
jbe 0x65c0e6
jmp 0x65c1f3
lea rcx, [rcx + rax + 8]
movsxd r8, ebp
mov rdx, r9
call sub.msvcrt.dll_memcpy
add dword [rdi], ebp
mov eax, 1
jmp 0x65c1fd
lea rcx, [rdi + 8]
movsxd r8, ebp
mov rdx, r12
call sub.msvcrt.dll_memcpy
jmp 0x65c261
mov r8d, 0xab
lea rdx, str.crypto_evp_encode.c
lea rcx, str.assertion_failed:_ctx__length____int_sizeof_ctx__enc_data_
call fcn.0060c5b0
nop
nop
Function at 0x65c390
Capabilities:
Encode data using base64

Disassembly:
test r8d, r8d
jle 0x65c490
xor eax, eax
lea r10, [0x008f1b20]
jmp 0x65c407
movzx ecx, byte [rdx + 1]
add rdx, 3
shl ecx, 8
or ecx, r9d
movzx r9d, byte [rdx - 1]
or ecx, r9d
mov r9d, ecx
shr r9d, 0x12
movzx r9d, byte [r10 + r9]
mov byte [r11 - 4], r9b
mov r9d, ecx
shr r9d, 0xc
and r9d, 0x3f
movzx r9d, byte [r10 + r9]
mov byte [r11 - 3], r9b
mov r9d, ecx
and ecx, 0x3f
shr r9d, 6
and r9d, 0x3f
movzx r9d, byte [r10 + r9]
mov byte [r11 - 2], r9b
movzx ecx, byte [r10 + rcx]
mov byte [r11 - 1], cl
mov rcx, r11
sub r8d, 3
je 0x65c448
movzx r9d, byte [rdx]
lea r11, [rcx + 4]
add eax, 4
shl r9d, 0x10
cmp r8d, 2
jg 0x65c3a4
je 0x65c450
mov edx, r9d
shr edx, 0x12
movzx edx, byte [r10 + rdx]
mov byte [rcx], dl
mov edx, r9d
shr edx, 0xc
and edx, 0x30
movzx edx, byte [r10 + rdx]
mov byte [rcx + 1], dl
mov edx, 0x3d
mov byte [rcx + 2], dl
mov byte [rcx + 3], 0x3d
mov byte [r11], 0
ret
movzx edx, byte [rdx + 1]
shl edx, 8
or edx, r9d
mov r8d, edx
shr r8d, 0x12
movzx r8d, byte [r10 + r8]
mov byte [rcx], r8b
mov r8d, edx
shr edx, 6
shr r8d, 0xc
and edx, 0x3c
and r8d, 0x3f
movzx r8d, byte [r10 + r8]
mov byte [rcx + 1], r8b
movzx edx, byte [r10 + rdx]
jmp 0x65c441
mov r11, rcx
xor eax, eax
mov byte [r11], 0
ret
Function at 0x6614d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov r14, rcx
mov r12, rdx
mov qword [rsp + 0x120], r8
test r8, r8
je 0x6615eb
lea rax, [rsp + 0x30]
movzx edx, byte [rcx + 0xc]
lea rbp, [rcx + 0xc]
xor r13d, r13d
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x38]
movzx r8d, byte [rcx + 0x14]
lea rdi, [rcx + 0x14]
mov qword [rsp + 0x28], rax
lea rsi, [rsp + 0x40]
nop word [rax + rax]
and edx, 0xffffff9f
and r8d, 0xffffff9f
mov ebx, dword [r12 + r13]
mov r15d, dword [r12 + r13 + 4]
or r8d, 0x20
or edx, 0x40
mov rcx, rbp
add r13, 8
mov byte [r14 + 0x14], r8b
mov byte [r14 + 0xc], dl
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x34], r15d
call fcn.006115c0
mov rdx, rsi
mov rcx, rbp
call fcn.00611740
mov rcx, qword [rsp + 0x20]
mov r8d, 1
mov rdx, rsi
call fcn.0060de50
mov rcx, rdi
call fcn.006115c0
mov rdx, rsi
mov rcx, rdi
call fcn.00611740
mov rcx, qword [rsp + 0x28]
mov r8d, 1
mov rdx, rsi
call fcn.0060de50
mov ecx, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
xor ecx, ebx
xor r8d, r15d
xor ebx, dword [rsp + 0x30]
xor r15d, dword [rsp + 0x34]
mov dword [r14 + 0x10], r8d
mov edx, ebx
mov r8d, ecx
mov dword [r14 + 0xc], ebx
mov dword [r14 + 0x14], ecx
mov dword [r14 + 0x18], r15d
cmp qword [rsp + 0x120], r13
ja 0x661530
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x6856a0
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [0x00900d80]
lea rsi, [0x00900d80]
mov r11d, 0x48
mov qword [rcx], rax
mov rax, qword [0x00901dc0]
lea rdi, [rcx + 8]
mov rbp, rcx
and rdi, 0xfffffffffffffff8
mov r10, rbp
mov qword [rcx + 0x1040], rax
mov rax, rcx
sub rax, rdi
sub rsi, rax
add eax, 0x1048
shr eax, 3
cmp edx, 0x48
cmovle r11d, edx
mov ecx, eax
mov rax, r8
rep movsq qword [rdi], qword [rsi]
lea rdi, [rbp + 0x48]
movsxd r11, r11d
add r11, r8
lea rcx, [rax + 1]
movzx eax, byte [rax]
cmp r11, rcx
cmovbe rcx, r8
shl eax, 8
movzx edx, byte [rcx]
lea r9, [rcx + 1]
or edx, eax
cmp r11, r9
cmovbe r9, r8
mov eax, edx
shl eax, 8
movzx edx, byte [r9]
lea rcx, [r9 + 1]
or edx, eax
cmp r11, rcx
cmovbe rcx, r8
shl edx, 8
lea rax, [rcx + 1]
movzx ecx, byte [rcx]
or edx, ecx
cmp r11, rax
cmovbe rax, r8
xor dword [r10], edx
add r10, 4
cmp rdi, r10
jne 0x685705
mov qword [rsp + 0x28], 0
mov rbx, rbp
lea rsi, [rsp + 0x28]
nop dword [rax]
mov rdx, rbp
mov rcx, rsi
add rbx, 8
call fcn.006848e0
mov eax, dword [rsp + 0x28]
mov dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
mov dword [rbx - 4], eax
cmp rbx, rdi
jne 0x685770
lea rdi, [rbp + 0x1048]
nop dword [rax]
mov rdx, rbp
mov rcx, rsi
add rbx, 8
call fcn.006848e0
mov eax, dword [rsp + 0x28]
mov dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
mov dword [rbx - 4], eax
cmp rdi, rbx
jne 0x6857a0
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x685920
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [r8 + 8]
mov rsi, rdx
mov edx, dword [rdx + 8]
mov rbx, rcx
mov rdi, r8
cmp edx, eax
jge 0x685946
mov edx, eax
mov rax, rsi
mov rsi, r8
mov rdi, rax
mov rcx, rbx
call fcn.004fb3e0
test rax, rax
je 0x685aa3
mov eax, dword [rdi + 8]
test eax, eax
jle 0x685ae0
mov rcx, qword [rsi]
mov r8, qword [rbx]
lea edx, [rax - 1]
mov r9, qword [rdi]
lea r10, [rcx + 0x10]
lea r11, [r8 + 0x10]
cmp r8, r10
setae r10b
cmp rcx, r11
setae dil
or r10d, edi
cmp edx, 2
seta dil
test r10b, dil
je 0x685ab0
lea r10, [r9 + 0x10]
cmp r8, r10
setae dil
cmp r9, r11
setae r10b
or dil, r10b
je 0x685ab0
mov r10d, eax
xor edx, edx
shr r10d, 1
shl r10, 4
nop
movdqu xmm0, xmmword [rcx + rdx]
movdqu xmm1, xmmword [r9 + rdx]
pxor xmm0, xmm1
movups xmmword [r8 + rdx], xmm0
add rdx, 0x10
cmp rdx, r10
jne 0x6859c0
mov edx, eax
and edx, 0xfffffffe
cmp eax, edx
je 0x6859f2
mov rcx, qword [rcx + rdx*8]
xor rcx, qword [r9 + rdx*8]
mov qword [r8 + rdx*8], rcx
mov r11d, dword [rsi + 8]
cmp eax, r11d
jge 0x685a77
movsxd rdx, eax
mov r9, qword [rsi]
mov r8, qword [rbx]
lea r10, [rdx*8 + 0x10]
lea rcx, [r10 - 0x10]
lea rdi, [r9 + r10]
lea rsi, [r8 + rcx]
add rcx, r9
cmp rsi, rdi
setae dil
add r10, r8
cmp rcx, r10
setae r10b
or dil, r10b
je 0x685a90
lea r10d, [r11 - 1]
sub r10d, eax
cmp r10d, 3
jbe 0x685a90
mov edi, r11d
xor edx, edx
sub edi, eax
mov r10d, edi
shr r10d, 1
shl r10, 4
nop
movdqu xmm2, xmmword [rcx + rdx]
movups xmmword [rsi + rdx], xmm2
add rdx, 0x10
cmp rdx, r10
jne 0x685a50
mov edx, edi
and edx, 0xfffffffe
add eax, edx
cmp edi, edx
je 0x685a77
cdqe
mov rdx, qword [r9 + rax*8]
mov qword [r8 + rax*8], rdx
mov dword [rbx + 8], r11d
mov rcx, rbx
call fcn.004fb560
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rax, qword [r9 + rdx*8]
mov qword [r8 + rdx*8], rax
add rdx, 1
cmp r11d, edx
jg 0x685a90
jmp 0x685a77
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov r11d, edx
xor edx, edx
jmp 0x685ac3
mov rdx, r10
mov r10, qword [rcx + rdx*8]
xor r10, qword [r9 + rdx*8]
mov qword [r8 + rdx*8], r10
lea r10, [rdx + 1]
cmp rdx, r11
jne 0x685ac0
jmp 0x6859f2
xor eax, eax
jmp 0x6859f2
Function at 0x6a0540
Capabilities:
Get common file path

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbp, rdx
mov r12, r8
call sub.msvcrt.dll_wcslen
mov rdi, rax
test rax, rax
je 0x6a0599
lea rbx, [rax - 1]
movzx eax, word [rsi + rbx*2]
cmp ax, 0x5c
je 0x6a05f0
cmp ax, 0x2f
jne 0x6a0594
jmp 0x6a05f0
sub rbx, 1
movzx eax, word [rsi + rbx*2]
cmp ax, 0x2f
je 0x6a05f0
cmp ax, 0x5c
je 0x6a05f0
test rbx, rbx
jne 0x6a0580
test rbp, rbp
je 0x6a05cb
mov ecx, 0x20a
call fcn.0069b410
mov qword [rbp], rax
test rax, rax
je 0x6a0686
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x6a066e
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
mov qword [r12], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
test rbx, rbx
je 0x6a0599
test rbp, rbp
je 0x6a062b
lea r13, [rbx + rbx + 4]
mov rcx, r13
call fcn.0069b410
mov qword [rbp], rax
test rax, rax
je 0x6a0686
mov rcx, rax
lea r8, [rbx + 1]
mov rdx, rsi
call sub.msvcrt.dll_wcsncpy
mov rax, qword [rbp]
xor ecx, ecx
mov word [rax + r13 - 2], cx
sub rdi, rbx
lea rbp, [rdi + rdi]
mov rcx, rbp
call fcn.0069b410
mov qword [r12], rax
test rax, rax
je 0x6a0686
lea rdx, [rsi + rbx*2 + 2]
lea r8, [rdi - 1]
mov rcx, rax
call sub.msvcrt.dll_wcsncpy
mov rax, qword [r12]
xor edx, edx
mov word [rax + rbp - 2], dx
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [rbp]
call fcn.0069b430
mov qword [rbp], 0
mov eax, 0xffffffff
jmp 0x6a0661
lea rdx, [0x0090d420]
mov ecx, 0xe
call fcn.0069fe10
nop
nop dword [rax + rax]
Function at 0x6a3e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [rcx + 0x150]
mov rbx, rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x6a3ee1
mov qword [rbx + 0x88], 0xfffffffffffff02c
xor esi, esi
mov dword [rbx + 0x14c], 0x10b
mov rcx, rsi
call fcn.0069b430
xor ecx, ecx
call fcn.0069b430
mov qword [rbx + 0x90], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov ecx, 0x290
call fcn.0069b410
mov rsi, rax
test rax, rax
je 0x6a3f80
mov rcx, rdi
lea r13, [0x0090d6c0]
call sub.msvcrt.dll_wcslen
mov rbp, rax
test rax, rax
jne 0x6a3fa0
lea rcx, [rbp + rbp + 8]
call fcn.0069b410
mov r12, rax
test rax, rax
je 0x6a3f80
mov r9, rdi
mov r8, r13
lea rdx, [rbp + 3]
mov rcx, rax
call qword [sym.imp.msvcrt.dll__snwprintf]
lea rdx, [rsi + 0x38]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, r12
mov qword [rsi + 0x30], rax
call fcn.0069b430
cmp qword [rsi + 0x30], 0xffffffffffffffff
je 0x6a3fd0
mov dword [rsi + 0x288], 0
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0x88], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov qword [rbx + 0x88], 0xfffffffffffff027
mov dword [rbx + 0x14c], 0xe
jmp 0x6a3eba
movzx eax, word [rdi + rax*2 - 2]
cmp ax, 0x5c
je 0x6a3fbc
lea r13, str._s
cmp ax, 0x2f
jne 0x6a3f12
lea r13, [0x0090d6c8]
jmp 0x6a3f12
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rdi
cmp eax, 2
je 0x6a3f57
call rdi
mov dword [rbx + 0x14c], eax
mov ecx, eax
call fcn.0069fed0
cdqe
mov qword [rbx + 0x88], rax
jmp 0x6a3eba

Function at 0x6abb70
Capabilities:
Resolve dns

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 0x48]
mov rdx, qword [rcx + 0x40]
mov rbx, rcx
mov qword [rcx + 0x48], 0
mov rcx, qword [rcx + 0x38]
lea r9, [rbx + 0x48]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov ecx, eax
call fcn.006abab0
mov dword [rbx + 0x58], eax
add rsp, 0x20
pop rbx
ret