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

Disassembly:
push rbx
push rbp
push r14
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1803a1670
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x180277c20
mov eax, 0xfffffffe
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x180277d12
cmp rcx, rbx
jb 0x180277d12
mov qword [rsp + 0x40], rsi
mov esi, dword [rbp + 0x17c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rbp + 0x30], rcx
test esi, esi
je 0x180277c96
test rbx, rbx
je 0x180277cf2
movzx eax, byte [r14]
dec rbx
mov ecx, esi
inc r14
xor byte [rcx + rbp + 0x40], al
inc esi
and esi, 0xf
jne 0x180277c60
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov rdx, r12
mov rcx, rdi
call qword [rbp + 0x170]
jmp 0x180277c9e
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov qword [rsp + 0x58], r15
mov r15, rbx
and r15, 0xfffffffffffffff0
je 0x180277cc4
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rdi
call qword [rbp + 0x168]
add r14, r15
sub rbx, r15
mov r15, qword [rsp + 0x58]
test rbx, rbx
je 0x180277cf2
mov esi, ebx
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdi + r14 - 0x40]
xor byte [rdi], al
lea rdi, [rdi + 1]
sub rbx, 1
jne 0x180277ce0
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov r12, qword [rsp + 0x50]
mov dword [rbp + 0x17c], esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x180278cb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1803a1670
sub rsp, rax
xor r13d, r13d
lea r14, [rcx + 0x40]
mov qword [rcx + 0x30], r13
mov rsi, r8
mov qword [rcx + 0x38], r13
mov rdi, rdx
mov qword [rcx + 0x178], r13
mov rbx, rcx
cmp r8, 0xc
jne 0x180278d09
movsd xmm0, qword [rdx]
mov edi, 1
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x180278e31
mov qword [rsp + 0x50], rbp
mov rbp, rsi
mov qword [rsp + 0x60], r15
lea r15, [rcx + 0x60]
mov qword [r14], r13
mov qword [rcx + 0x48], r13
cmp rsi, 0x10
jb 0x180278dd1
mov qword [rsp + 0x58], r12
mov r12, rsi
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add rsi, rax
nop
movzx eax, byte [r14]
mov rdx, r15
xor al, byte [rdi]
mov rcx, r14
mov byte [r14], al
movzx eax, byte [rdi + 1]
xor byte [rbx + 0x41], al
movzx eax, byte [rdi + 2]
xor byte [rbx + 0x42], al
movzx eax, byte [rdi + 3]
xor byte [rbx + 0x43], al
movzx eax, byte [rdi + 4]
xor byte [rbx + 0x44], al
movzx eax, byte [rdi + 5]
xor byte [rbx + 0x45], al
movzx eax, byte [rdi + 6]
xor byte [rbx + 0x46], al
movzx eax, byte [rdi + 7]
xor byte [rbx + 0x47], al
movzx eax, byte [rdi + 8]
xor byte [rbx + 0x48], al
movzx eax, byte [rdi + 9]
xor byte [rbx + 0x49], al
movzx eax, byte [rdi + 0xa]
xor byte [rbx + 0x4a], al
movzx eax, byte [rdi + 0xb]
xor byte [rbx + 0x4b], al
movzx eax, byte [rdi + 0xc]
xor byte [rbx + 0x4c], al
movzx eax, byte [rdi + 0xd]
xor byte [rbx + 0x4d], al
movzx eax, byte [rdi + 0xe]
xor byte [rbx + 0x4e], al
movzx eax, byte [rdi + 0xf]
xor byte [rbx + 0x4f], al
call qword [rbx + 0x170]
add rdi, 0x10
sub r12, 1
jne 0x180278d40
mov r12, qword [rsp + 0x58]
test rsi, rsi
je 0x180278dfd
mov rcx, r14
sub rdi, rbx
nop dword [rax]
movzx eax, byte [rdi + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x180278de0
mov rdx, r15
mov rcx, r14
call qword [rbx + 0x170]
shl rbp, 3
mov rdx, r15
bswap rbp
xor qword [rbx + 0x48], rbp
mov rcx, r14
call qword [rbx + 0x170]
mov rax, qword [r14]
mov edi, dword [rbx + 0x4c]
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
bswap edi
mov qword [r14], r13
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], r13
mov rcx, rbx
mov r8, qword [rbx + 0x188]
call qword [rbx + 0x180]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x180279630
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x78
call fcn.1803a1670
sub rsp, rax
mov rax, qword [0x180496d00]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx edi, byte [rcx]
mov rbp, r9
mov r10, qword [rsp + 0xe0]
mov r13, r9
mov r9, qword [rcx + 0x30]
mov r15, r8
mov rax, qword [rcx + 0x28]
mov r14, rdx
mov qword [rsp + 0x38], r9
mov rbx, rcx
mov qword [rsp + 0x40], r10
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x48], rax
test dil, 0x40
jne 0x1802796a8
lea rdx, [rcx + 0x10]
mov r8, r9
call rax
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r12d, reloc.WS2_32.dll_ntohs
xor esi, esi
mov r8d, edi
mov eax, r12d
and r8d, 7
mov ecx, esi
sub eax, r8d
mov dword [rsp + 0x40], r8d
mov byte [rbx], r8b
cmp eax, r12d
jae 0x1802796e8
mov edx, eax
add rdx, rbx
movzx eax, byte [rdx]
mov byte [rdx], sil
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub r8, 1
jne 0x1802796d1
movzx eax, byte [rbx + 0xf]
or rcx, rax
mov byte [rbx + 0xf], 1
cmp rcx, rbp
je 0x180279702
mov eax, 0xffffffff
jmp 0x18027982d
mov rdi, rbp
shr rdi, 4
test rdi, rdi
je 0x180279783
lea rax, [rbx + 0x10]
mov r8, rdi
mov qword [rsp + 0x28], rax
mov rdx, r15
mov rcx, r14
mov qword [rsp + 0x20], rbx
call r10
shl rdi, 4
add r14, rdi
add r15, rdi
sub rbp, rdi
je 0x1802797d9
shr rdi, 4
lea r8, [rbx + 0x10]
mov r9, 0xfffffffffffffff8
mov rdx, rsi
sub r9, rbx
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
add rdx, rax
movzx ecx, dil
add rdx, rcx
shr rdi, 8
mov byte [r8], dl
lea rax, [r8 + r9]
shr rdx, 8
test rax, rax
je 0x180279788
test rdi, rdi
jne 0x180279750
test rdx, rdx
jne 0x180279750
jmp 0x180279788
test r13, r13
je 0x1802797d9
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov r8, rdi
mov rcx, rbx
call r13
test rbp, rbp
je 0x1802797ca
mov rcx, rsi
nop dword [rax + rax]
movzx eax, byte [rcx + r14]
inc esi
xor al, byte [rsp + rcx + 0x50]
mov byte [rcx + r15], al
xor byte [rcx + rbx + 0x10], al
mov ecx, esi
cmp rcx, rbp
jb 0x1802797b0
lea rcx, [rbx + 0x10]
mov r8, rdi
mov rdx, rcx
call r13
jmp 0x1802797e3
mov r13, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
sub r12d, dword [rsp + 0x40]
cmp r12d, 0x10
jae 0x180279804
mov r8d, reloc.WS2_32.dll_recv
mov ecx, r12d
sub r8d, r12d
add rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call r13
mov rax, qword [rsp + 0x50]
xor qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x58]
xor qword [rbx + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rbx], al
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1803a0e80
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18027b6d0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x18027b839
mov eax, 8
call fcn.1803a1670
sub rsp, rax
xor r10d, r10d
mov r11, rcx
cmp r8, rax
jb 0x18027b80d
lea rcx, [r9 - 1]
lea rax, [rdx - 1]
add rcx, r8
add rax, r8
cmp r9, rax
ja 0x18027b711
cmp rcx, rdx
jae 0x18027b80d
lea rax, [r8 - 1]
add rax, r11
cmp r9, rax
ja 0x18027b726
cmp rcx, r11
jae 0x18027b80d
mov rcx, r11
mov qword [rsp + 0x10], rbx
sub rcx, rdx
mov qword [rsp], rdi
cmp r8, 0x40
jb 0x18027b7c7
mov rbx, r8
mov qword [rsp + 0x18], rsi
and ebx, 0x3f
mov rdi, r8
sub rdi, rbx
mov rsi, r9
lea rax, [rdx + 0x10]
sub rsi, rdx
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rsi + rax - 0x50], xmm1
xorps xmm2, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x30]
movdqu xmm1, xmmword [rax - 0x30]
movdqu xmmword [rsi + rax - 0x40], xmm2
xorps xmm1, xmm0
movdqu xmm0, xmmword [rcx + rax - 0x20]
movdqu xmm2, xmmword [rax - 0x20]
movdqu xmmword [rsi + rax - 0x30], xmm1
xorps xmm2, xmm0
movdqu xmmword [rsi + rax - 0x20], xmm2
cmp r10, rdi
jb 0x18027b760
mov rsi, qword [rsp + 0x18]
cmp rbx, 8
jb 0x18027b7ff
mov rbx, r8
and rbx, 0xfffffffffffffff8
mov rdi, r9
lea rax, [r10 + rdx]
sub rdi, rdx
nop dword [rax + rax]
movq xmm1, qword [rax + rcx]
add r10, 8
movq xmm0, qword [rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rdi + rax - 8], xmm1
cmp r10, rbx
jb 0x18027b7e0
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp r10, r8
jae 0x18027b835
sub r11, rdx
lea rax, [r10 + rdx]
sub r9, rdx
sub r8, r10
nop word [rax + rax]
movzx ecx, byte [rax + r11]
xor cl, byte [rax]
mov byte [r9 + rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x18027b820
add rsp, 8
ret
Function at 0x18027b920
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1803a1670
sub rsp, rax
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov r15, rcx
cmp rdx, rdi
ja 0x18027b960
shl rbx, 4
add rbx, qword [rcx + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rcx, qword [rcx + 0x30]
cmp rbx, rcx
jb 0x18027b9ad
sub rdx, rcx
lea r8, str.cryptomodesocb128.c
add rdx, 4
mov r9d, WSAStartup
and rdx, 0xfffffffffffffffc
add rdx, rcx
mov rcx, qword [r15 + 0x58]
mov qword [r15 + 0x30], rdx
shl rdx, 4
call fcn.18020cf30
test rax, rax
jne 0x18027b9a9
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov qword [r15 + 0x58], rax
mov qword [rsp + 0x40], rbp
mov rbp, rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r12
mov r12, rbx
shl rbp, 4
sub r12, rdi
nop dword [rax]
mov rcx, qword [r15 + 0x58]
mov edx, 1
add rcx, rbp
movzx edi, byte [rcx]
lea rsi, [rcx + 0x10]
shr dil, 7
mov r8, rsi
neg dil
and dil, 0x87
call fcn.18027b500
xor byte [rsi + 0xf], dil
add rbp, 0x10
sub r12, 1
jne 0x18027b9d0
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov qword [r15 + 0x28], rbx
shl rbx, 4
add rbx, qword [r15 + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x18029f230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor r10d, r10d
movsxd rbx, r8d
mov r11, rdx
mov rdi, rcx
test r8d, r8d
jle 0x18029f26f
mov r9, rdx
mov rdx, rcx
sub rdx, r9
movzx eax, byte [r9]
cmp byte [rdx + r9], al
jne 0x18029f26f
inc r9
inc r10d
mov rax, r9
sub rax, r11
cmp rax, rbx
jl 0x18029f254
lea edx, [r8 - 1]
movsxd rax, edx
test edx, edx
js 0x18029f29a
mov r8, rdi
lea rcx, [rax + r11]
sub r8, r11
cmp byte [rcx + r8], 0
jne 0x18029f29a
cmp byte [rcx], 0xff
jne 0x18029f29a
dec edx
dec rcx
cmp rcx, r11
jns 0x18029f284
cmp r10d, edx
jl case.0x18029f2f3.2
jle 0x18029f2b8
lea eax, [r10*8]
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
movsxd rax, r10d
movzx r8d, byte [rax + r11]
movzx r9d, byte [rax + rdi]
movzx edx, r8b
xor dl, r9b
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x18029f2f3.2
lea r11, [0x180000000]
cdqe
movzx eax, byte [r11 + rax + 0x29f368]
mov ecx, dword [r11 + rax*4 + 0x29f348]
add rcx, r11
jmp rcx
mov eax, 7
jmp 0x18029f324
mov eax, 6
jmp 0x18029f324
mov eax, 5
jmp 0x18029f324
mov eax, 4
jmp 0x18029f324
mov eax, 3
jmp 0x18029f324
mov eax, 2
jmp 0x18029f324
mov eax, 1
test dl, r9b
jne case.0x18029f2f3.2
and r8b, dl
lea eax, [rax + r10*8]
cmp r8b, dl
je 0x18029f33a
mov eax, 0xffffffff
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x1802a0220
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1803a1670
sub rsp, rax
mov rbx, rcx
test r9, r9
jne 0x1802a026e
call fcn.180237410
lea r8, str.c2i_ibuf
mov edx, 0xa0
lea rcx, str.crypto_asn1_a_int.c
call fcn.180237530
xor r8d, r8d
mov edx, 0xde
mov ecx, reloc.WS2_32.dll_listen
call fcn.180237690
xor eax, eax
add rsp, 0x20
pop rbx
ret
movzx r10d, byte [r8]
and r10d, 0x80
test rdx, rdx
je 0x1802a0281
mov dword [rdx], r10d
cmp r9, 1
jne 0x1802a02a4
test rbx, rbx
je 0x1802a0299
movzx eax, byte [r8]
test r10d, r10d
je 0x1802a0297
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x20
pop rbx
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x1802a02b6
mov eax, 1
jmp 0x1802a036a
xor eax, eax
cmp cl, 0xff
jne 0x1802a03b1
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x1802a035f
cmp rcx, 8
jb 0x1802a0350
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop word [rax + rax]
movd xmm1, dword [r8 + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1802a02f0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x1802a035f
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
inc rax
or edx, ecx
cmp rax, r9
jb 0x1802a0350
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x1802a03b1
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r10d, ecx
jne 0x1802a03b1
call fcn.180237410
lea r8, str.c2i_ibuf
mov edx, 0xc1
lea rcx, str.crypto_asn1_a_int.c
call fcn.180237530
xor r8d, r8d
mov edx, 0xdd
mov ecx, reloc.WS2_32.dll_listen
call fcn.180237690
xor eax, eax
add rsp, 0x20
pop rbx
ret
sub r9, rax
test rbx, rbx
je 0x1802a03fe
add rax, r8
mov rdx, r9
neg r10d
sbb r11d, r11d
movzx r11d, r11b
mov ecx, r11d
and ecx, 1
test r9, r9
je 0x1802a03fe
mov r10, r9
lea r8, [rax + r9]
sub r10, r9
add r10, rbx
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
dec rdx
xor eax, r11d
add ecx, eax
mov byte [r10 + rdx], cl
shr ecx, 8
test rdx, rdx
jne 0x1802a03e1
mov rax, r9
add rsp, 0x20
pop rbx
ret
Function at 0x1802a0410
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov r10, rdx
xor r11b, r11b
xor edx, edx
mov rdi, r9
mov rbx, rcx
test rcx, rcx
je 0x1802a0511
test r10, r10
je 0x1802a0511
movzx eax, byte [rcx]
test r8d, r8d
jne 0x1802a0459
cmp al, 0x7f
jbe 0x1802a050a
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1802a0519
mov r11b, 0xff
cmp al, 0x80
jbe 0x1802a046f
mov edx, 1
mov eax, edx
add rax, r10
jmp 0x1802a0519
jne 0x1802a050a
mov eax, 1
lea rcx, [r10 - 1]
cmp r10, rax
jbe 0x1802a04ff
cmp rcx, 8
jb 0x1802a04f1
and ecx, 7
mov rdx, r10
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
movd xmm1, dword [rbx + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [rbx + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x1802a04a0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r10
jae 0x1802a04ff
movzx ecx, byte [rbx + rax]
inc rax
or edx, ecx
cmp rax, r10
jb 0x1802a04f1
neg edx
sbb r11b, r11b
mov edx, r11d
and edx, 1
mov eax, edx
add rax, r10
jmp 0x1802a0519
mov eax, 1
mov r10, rdx
test rdi, rdi
je 0x1802a0575
mov rcx, qword [r9]
test rcx, rcx
je 0x1802a0575
mov edx, edx
mov r8d, r11d
add rdx, rcx
mov byte [rcx], r11b
and r8d, 1
test r10, r10
je 0x1802a0572
lea r9, [r10 + rbx]
mov rbx, r10
sub rbx, r10
add rbx, rdx
nop word [rax + rax]
movzx edx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r10
movzx ecx, r11b
xor edx, ecx
add r8d, edx
mov byte [rbx + r10], r8b
shr r8d, 8
test r10, r10
jne 0x1802a0550
add qword [rdi], rax
mov rbx, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x1802a0780
Capabilities:
Encode data using xor

Disassembly:
mov eax, Ordinal_41
call fcn.1803a1670
sub rsp, rax
mov r8d, dword [rcx + 4]
mov r9, rdx
movsxd rdx, dword [rcx]
and r8d, 0x100
mov rcx, qword [rcx + 8]
add rsp, 0x28
jmp fcn.1802a0410
Function at 0x1802a3b60
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, gethostbyaddr
call fcn.1803a1670
sub rsp, rax
mov edx, 1
mov rbx, rcx
call fcn.1802a3730
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call fcn.1802a3610
xor edi, edi
mov r14, rax
test rax, rax
je 0x1802a3c0b
mov r9d, 1
mov dword [rsp + 0x20], 0xf0000040
xor r8d, r8d
lea rcx, [rsp + 0x58]
xor edx, edx
mov esi, edi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1802a3be7
mov rcx, qword [rsp + 0x58]
mov r8, r14
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rsi, rbp
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rsi*8]
mov rdx, rsi
mov rcx, rbx
call fcn.1802a36c0
mov rcx, rbx
call fcn.1802a3880
test rax, rax
jne 0x1802a3c9f
mov edx, 1
mov rcx, rbx
call fcn.1802a3730
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.1802a3610
mov rbp, rax
test rax, rax
je 0x1802a3c97
mov r9d, reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x20], 0xf0000040
lea r8, str.Intel_Hardware_Cryptographic_Service_Provider
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1802a3c77
mov rcx, qword [rsp + 0x58]
mov r8, rbp
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x58]
test eax, eax
cmovne rdi, rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r8, [rdi*8]
mov rdx, rdi
mov rcx, rbx
call fcn.1802a36c0
mov rcx, rbx
call fcn.1802a3880
test rax, rax
jne 0x1802a3c9f
mov rcx, rbx
call fcn.1802a3880
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1802ad8b0
Capabilities:
Query environment variable

Disassembly:
mov eax, Ordinal_41
call fcn.1803a1670
sub rsp, rax
cmp dword [0x180497c10], 0
jne 0x1802ada31
mov qword [rsp + 0x30], rbx
lea rcx, str.OPENSSL_ia32cap
mov qword [rsp + 0x40], rsi
lea rbx, [0x180497bb0]
mov qword [rsp + 0x38], rbp
mov rdx, rbx
mov qword [rsp + 0x48], rdi
mov r8d, gethostbyaddr
mov qword [rsp + 0x20], r14
mov dword [0x180497c10], 1
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x2e
ja 0x1802ad9f3
movzx edi, word [rbx]
xor ebp, ebp
cmp di, 0x7e
mov ecx, ebp
mov r14d, 2
cmove ecx, r14d
add rcx, rbx
call fcn.1802ada40
mov rsi, rax
cmp di, 0x7e
jne 0x1802ad96f
lea rcx, [0x180499ab0]
mov rdi, rax
call fcn.180001030
not rsi
movabs rcx, 0xedfff7fdffffffff
and rax, rsi
and edi, 0x1000000
mov rsi, rax
and rsi, rcx
test rdi, rdi
cmove rsi, rax
jmp 0x1802ad984
cmp word [rbx], 0x3a
jne 0x1802ad984
lea rcx, [0x180499ab0]
call fcn.180001030
mov rsi, rax
movzx eax, word [rbx]
test ax, ax
je 0x1802ad9a1
nop dword [rax]
cmp ax, 0x3a
je 0x1802ad9aa
add rbx, r14
movzx eax, word [rbx]
test ax, ax
jne 0x1802ad990
mov qword [0x180499ab8], rbp
jmp 0x1802ada02
test rbx, rbx
je 0x1802ad9a1
add rbx, r14
movzx edi, word [rbx]
cmp di, 0x7e
cmove rbp, r14
lea rcx, [rbx + rbp]
call fcn.1802ada40
mov rcx, rax
shr rcx, 0x20
cmp di, 0x7e
jne 0x1802ad9e5
not eax
not ecx
and dword [0x180499ab8], eax
and dword [0x180499abc], ecx
jmp 0x1802ada02
mov dword [0x180499ab8], eax
mov dword [0x180499abc], ecx
jmp 0x1802ada02
lea rcx, [0x180499ab0]
call fcn.180001030
mov rsi, rax
mov r14, qword [rsp + 0x20]
mov eax, esi
mov rdi, qword [rsp + 0x48]
bts eax, 0xa
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
shr rsi, 0x20
mov dword [0x180499ab4], esi
mov rsi, qword [rsp + 0x40]
mov dword [0x180499ab0], eax
add rsp, 0x28
ret
Function at 0x1802adb30
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
mov eax, gethostbyaddr
call fcn.1803a1670
sub rsp, rax
movsxd rbx, ecx
mov edi, r8d
mov dword [rsp + 0x40], 1
mov rbp, rdx
cmp ebx, 0xffffffff
jne 0x1802adb9f
call fcn.180237410
lea r8, str.BIO_connect
mov edx, 0x56
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.180237530
xor r8d, r8d
mov edx, 0x87
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.180237690
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov edx, edi
mov qword [rsp + 0x48], rsi
shr edx, 3
mov ecx, ebx
and edx, 1
call fcn.180274190
test eax, eax
je 0x1802adc52
mov rsi, rbx
test dil, 4
je 0x1802adc69
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 8
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1802adc69
call fcn.180237410
lea r8, str.BIO_connect
mov edx, 0x60
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.180237530
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.180237690
call fcn.180237410
lea r8, str.BIO_connect
mov edx, 0x62
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.180237530
xor r8d, r8d
mov edx, 0x89
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.180237690
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
test dil, 0x10
je 0x1802adcf8
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x1802adcf8
call fcn.180237410
lea r8, str.BIO_connect
mov edx, 0x6a
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.180237530
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_setsockopt__
mov ecx, 2
mov edx, eax
call fcn.180237690
call fcn.180237410
lea r8, str.BIO_connect
mov edx, WSAGetLastError
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.180237530
xor r8d, r8d
mov edx, 0x8a
jmp 0x1802adc48
mov rcx, rbp
call fcn.18025aa40
mov rcx, rbp
mov ebx, eax
call fcn.18025aa30
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1802add8d
mov ecx, eax
call fcn.180234be0
test eax, eax
jne 0x1802adc52
call fcn.180237410
lea r8, str.BIO_connect
mov edx, 0xb2
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.180237530
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.calling_connect__
mov ecx, 2
mov edx, eax
call fcn.180237690
call fcn.180237410
lea r8, str.BIO_connect
mov edx, 0xb4
lea rcx, str.crypto_bio_bio_sock2.c
call fcn.180237530
xor r8d, r8d
mov edx, 0x67
jmp 0x1802adc48
mov eax, 1
jmp 0x1802adc54