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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp - 0x30], ecx
push ebx
mov ebx, dword [ebp + 0xc]
cmp eax, 0x7f
ja 0x584f05
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x28]
push edx
push ecx
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
xor esi, esi
add eax, 7
add esp, 0xc
cdq
and edx, 7
lea edi, [edx + eax]
sar edi, 3
cmp dword [ebp + 0x1c], esi
je 0x584e71
test edi, edi
jle 0x584eae
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x30]
sub eax, ecx
sub edx, ecx
mov esi, eax
sub ebx, ecx
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
mov byte [ebx + ecx], al
inc ecx
sub edi, 1
jne 0x584e5e
jmp 0x584eac
test edi, edi
jle 0x584eae
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov ecx, edx
sub ebx, ecx
lea edx, [ebp - 0x18]
add edx, esi
mov cl, byte [eax + edx]
mov eax, dword [ebp - 0x38]
mov byte [edx], cl
mov al, byte [eax + edx]
xor al, cl
inc esi
mov byte [ebx + edx], al
mov eax, dword [ebp - 0x34]
cmp esi, edi
jl 0x584e8f
xor esi, esi
mov eax, dword [ebp + 0x10]
mov ebx, eax
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x584ec0
dec ebx
or ebx, 0xfffffff8
inc ebx
cdq
lea edi, [ebp - 0x28]
and edx, 7
add eax, edx
sar eax, 3
add edi, eax
test ebx, ebx
jne 0x584edd
mov esi, edi
mov edi, dword [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x584f03
push 8
pop eax
sub eax, ebx
mov dword [ebp - 0x34], eax
mov dl, byte [edi + esi]
mov ecx, ebx
mov al, byte [edi + esi + 1]
shl dl, cl
mov cl, byte [ebp - 0x34]
shr al, cl
or dl, al
mov eax, dword [ebp - 0x30]
mov byte [eax + esi], dl
inc esi
cmp esi, 0x10
jl 0x584ee5
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret
Function at 0x584f12
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x38]
or eax, dword [esi + 0x3c]
je 0x584f2d
push 0xfffffffffffffffe
pop eax
jmp 0x584fec
push edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, edi
add eax, dword [esi + 0x30]
adc ecx, dword [esi + 0x34]
cmp ecx, 0x20000000
ja 0x584fe8
jb 0x584f51
test eax, eax
jne 0x584fe8
mov dword [esi + 0x34], ecx
lea ebx, [esi + 0x40]
mov ecx, dword [esi + 0x16c]
mov dword [esi + 0x30], eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x584f99
mov edx, dword [ebp + 0xc]
test edi, edi
je 0x584f7e
mov al, byte [edx]
lea ebx, [esi + 0x40]
xor byte [ebx + ecx], al
inc edx
dec edi
inc ecx
and ecx, 0xf
jne 0x584f6a
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x584fde
lea eax, [esi + 0x60]
push eax
push ebx
call fcn.005863a8
mov eax, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x584f9f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, edi
lea edx, [esi + 0x60]
and ecx, 0xfffffff0
mov dword [ebp - 0xc], ecx
je 0x584fc0
push ecx
push eax
push edx
push ebx
call fcn.0058618b
mov eax, dword [ebp - 0xc]
add esp, 0x10
add dword [ebp - 4], eax
sub edi, eax
test edi, edi
je 0x584fdb
mov esi, dword [ebp - 4]
mov ecx, edi
xor edx, edx
mov al, byte [edx + esi]
xor byte [ebx + edx], al
inc edx
cmp edx, edi
jb 0x584fcb
mov esi, dword [ebp + 8]
jmp 0x584fde
mov ecx, dword [ebp - 8]
mov dword [esi + 0x16c], ecx
xor eax, eax
jmp 0x584feb
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x585fda
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x16c], ecx
mov dword [ebx + 0x168], ecx
cmp esi, 0xc
jne 0x586024
mov esi, dword [ebp + 0xc]
mov edi, ebx
xor eax, eax
inc eax
mov dword [ebp + 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebx + 0xc], cx
mov byte [ebx + 0xe], cl
mov byte [ebx + 0xf], al
jmp 0x586119
mov dword [ebp + 0x10], esi
lea edi, [ebx + 0x40]
mov dword [edi], ecx
lea edx, [ebx + 0x60]
mov dword [edi + 4], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], ecx
mov dword [ebp - 8], edx
cmp esi, 0x10
jb 0x58607d
mov ebx, dword [ebp + 0xc]
mov eax, esi
shr eax, 4
mov dword [ebp - 4], eax
mov al, byte [ecx + ebx]
xor byte [edi + ecx], al
inc ecx
cmp ecx, 0x10
jb 0x58604b
push edx
push edi
call fcn.005863a8
mov edx, dword [ebp - 8]
add ebx, 0x10
pop ecx
pop ecx
sub esi, 0x10
sub dword [ebp - 4], 1
push 0
pop ecx
jne 0x58604b
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 8]
jmp 0x586080
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x58609d
mov al, byte [ecx + edx]
xor byte [edi + ecx], al
inc ecx
cmp ecx, esi
jb 0x586084
lea esi, [ebx + 0x60]
push esi
push edi
call fcn.005863a8
pop ecx
pop ecx
jmp 0x5860a0
lea esi, [ebx + 0x60]
mov eax, dword [ebp + 0x10]
xor edx, edx
shld edx, eax, 3
push esi
xor byte [ebx + 0x4b], dl
shl eax, 3
mov dword [ebp + 0x10], eax
mov ecx, eax
mov eax, edx
shrd ecx, eax, 0x18
push edi
xor byte [ebx + 0x4c], cl
mov ecx, dword [ebp + 0x10]
shrd ecx, eax, 0x10
xor byte [ebx + 0x4d], cl
mov ecx, dword [ebp + 0x10]
mov eax, ecx
xor byte [ebx + 0x4f], cl
shrd eax, edx, 8
xor byte [ebx + 0x4e], al
call fcn.005863a8
movzx eax, byte [ebx + 0x4d]
pop ecx
pop ecx
movzx ecx, byte [ebx + 0x4c]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x4e]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x4f]
shl ecx, 8
or ecx, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x48]
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebp + 8], ecx
xor ecx, ecx
mov dword [ebx + 0xc], eax
push dword [ebx + 0x174]
lea eax, [ebx + 0x20]
mov dword [ebx + 0x40], ecx
push eax
push ebx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], ecx
call dword [ebx + 0x170]
mov ecx, dword [ebp + 8]
add esp, 0xc
inc ecx
mov eax, ecx
mov byte [ebx + 0xf], cl
shr eax, 0x18
mov byte [ebx + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0xd], al
mov eax, ecx
pop edi
shr eax, 8
pop esi
mov byte [ebx + 0xe], al
pop ebx
leave
ret
Function at 0x586ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
lea edx, [esi + 0x10]
mov bl, byte [esi]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ecx
push edi
test bl, 0x40
jne 0x586bf2
push ecx
push edx
push esi
call eax
mov ecx, dword [ebp - 0x20]
lea edx, [esi + 0x10]
add esp, 0xc
movzx eax, bl
xor edi, edi
push 0xf
and eax, 7
pop ebx
sub ebx, eax
mov byte [esi], al
mov dword [ebp - 0x34], ebx
jmp 0x586c14
movzx eax, byte [esi + ebx]
or edi, eax
mov byte [esi + ebx], 0
shl edi, 8
inc ebx
cmp ebx, 0xf
jb 0x586c06
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or edi, eax
mov byte [esi + 0xf], 1
cmp edi, ebx
je 0x586c32
or eax, 0xffffffff
jmp 0x586d02
mov edi, ebx
shr edi, 4
test edi, edi
je 0x586c64
push edx
push esi
push ecx
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x24], edi
add dword [ebp - 0x1c], edi
sub ebx, edi
je 0x586cb7
shr edi, 4
push edi
push esi
call fcn.00587182
pop ecx
pop ecx
mov edi, dword [ebp - 0x20]
test ebx, ebx
je 0x586cba
push edi
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0xc
xor edx, edx
test ebx, ebx
je 0x586ca7
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
sub edi, eax
sub dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
add eax, edx
mov cl, byte [edi + eax]
xor cl, byte [eax]
mov byte [esi + eax], cl
mov esi, dword [ebp - 0x30]
xor byte [esi + edx + 0x10], cl
inc edx
cmp edx, ebx
jb 0x586c88
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
lea eax, [esi + 0x10]
push edi
push eax
push eax
call ebx
add esp, 0xc
jmp 0x586cbd
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
push 0x10
pop eax
cmp ecx, eax
jae 0x586cd8
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.00718210
add esp, 0xc
push edi
lea eax, [ebp - 0x14]
push eax
push esi
call ebx
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov byte [esi], al
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret
Function at 0x586f08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov bl, byte [esi]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
push edi
test bl, 0x40
jne 0x586f5f
push eax
lea eax, [esi + 0x10]
push eax
push esi
call ecx
mov edx, dword [ebp - 0x20]
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
xor ecx, ecx
push 0xf
and eax, 7
pop ebx
sub ebx, eax
mov byte [esi], al
mov dword [ebp - 0x34], ebx
mov edi, ebx
jmp 0x586f83
movzx eax, byte [esi + edi]
or ecx, eax
mov byte [esi + edi], 0
shl ecx, 8
inc edi
cmp edi, 0xf
jb 0x586f75
movzx eax, byte [esi + 0xf]
mov ebx, dword [ebp + 0x14]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x586fa1
or eax, 0xffffffff
jmp 0x58709f
lea eax, [ebx + 0xf]
or eax, 8
shr eax, 3
add dword [esi + 0x20], eax
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x586fca
ja 0x586fc2
cmp dword [esi + 0x20], 0
jbe 0x586fca
push 0xfffffffffffffffe
pop eax
jmp 0x58709f
mov edi, ebx
shr edi, 4
test edi, edi
je 0x586fff
lea eax, [esi + 0x10]
push eax
push esi
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x1c]
push edx
call dword [ebp - 0x2c]
shl edi, 4
add esp, 0x18
add dword [ebp - 0x20], edi
add dword [ebp - 0x1c], edi
sub ebx, edi
je 0x587057
shr edi, 4
push edi
push esi
call fcn.00587182
pop ecx
pop ecx
test ebx, ebx
je 0x587057
mov edi, dword [ebp - 0x20]
xor ecx, ecx
test ebx, ebx
je 0x587018
mov al, byte [edi + ecx]
xor byte [esi + ecx + 0x10], al
inc ecx
cmp ecx, ebx
jb 0x58700c
push dword [ebp - 0x24]
lea eax, [esi + 0x10]
push eax
push eax
call dword [ebp - 0x28]
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
add esp, 0x18
xor edx, edx
test ebx, ebx
je 0x587057
lea eax, [ebp - 0x14]
sub edi, eax
sub dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add ecx, edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
inc edx
mov byte [esi + ecx], al
cmp edx, ebx
jb 0x587042
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
push 0x10
pop eax
cmp ecx, eax
jae 0x587072
sub eax, ecx
push eax
lea eax, [ecx + esi]
push 0
push eax
call fcn.00718210
add esp, 0xc
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor dword [esi + 0x1c], eax
mov al, byte [ebp - 0x15]
mov byte [esi], al
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006fedff
leave
ret
Function at 0x58831e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x588347
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
sub esi, ecx
sub edi, ecx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
sub edx, 1
jne 0x588337
pop edi
pop esi
pop ebp
ret
Function at 0x589b2d
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x8d5f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
push edi
mov eax, dword [ecx]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 4]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 0x61707865
mov dword [ebp - 0x40], 0x3320646e
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x3c], 0x79622d32
mov dword [ebp - 0x38], 0x6b206574
mov dword [ebp - 8], eax
test edi, edi
je 0x589c32
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push 0x40
pop esi
lea eax, [ebp - 0x44]
cmp edi, esi
push eax
lea eax, [ebp - 0x84]
cmovb esi, edi
push eax
call fcn.00589c3f
pop ecx
xor edx, edx
pop ecx
test esi, esi
je 0x589c19
mov edi, ebx
lea eax, [ebp - 0x84]
sub edi, eax
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x88]
sub eax, ecx
mov dword [ebp - 0x8c], eax
mov ebx, eax
lea ecx, [ebp - 0x84]
add ecx, edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
inc edx
mov byte [ebx + ecx], al
cmp edx, esi
jb 0x589bfe
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
add dword [ebp - 0x88], esi
add ebx, esi
sub edi, esi
mov dword [ebp + 0xc], ebx
inc dword [ebp - 0x14]
mov dword [ebp + 0x10], edi
test edi, edi
jne 0x589bbe
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.006fedff
leave
ret
Function at 0x59658f
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
cmp dword [ebp + 0x18], esi
jne 0x596608
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x5965a8
cmp al, 0x6b
jne 0x596608
inc ecx
cmp al, 0x6b
jne 0x5965e0
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x5965c8
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x5965c8
cmp dl, 0xbb
jne 0x5965d2
inc eax
cmp eax, esi
jl 0x5965b6
sub esi, eax
test eax, eax
jne 0x5965e3
push 0x50
jmp 0x5965d4
push 0x48
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_x931.c
push 0x8a
jmp 0x596614
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x5965f7
push 0x59
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_x931.c
push 0x8b
jmp 0x596614
push esi
push ecx
push dword [ebp + 8]
call fcn.00717660
add esp, 0xc
mov eax, esi
jmp 0x596626
push 0x3d
push str.d:package_cacheopenssl1.1.1g.2crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.0053f640
add esp, 0x14
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x599228
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x1c], 2
push ebx
push edi
mov edi, dword [ebp + 0xc]
push 0x20
pop ebx
je 0x5992a9
cmp dword [ebp + 0x10], 0
je 0x599278
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push 0
push eax
push 0
call fcn.0055e49f
add esp, 0x10
cmp dword [ebp - 4], 0xffffffff
je 0x599278
push 0x3b
push str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.0053f640
add esp, 0x14
xor eax, eax
jmp 0x599454
cmp dword [ebp + 0x14], 0
je 0x5992a5
cmp edi, 0x40a
je 0x59929e
cmp edi, 0x43f
je 0x59929e
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x5992a0
mov eax, ebx
cmp dword [ebp + 0x18], eax
je 0x5992a9
push 0x41
jmp 0x59925b
push esi
push 0x46
mov esi, str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push esi
push 0x40
call fcn.00540836
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x5992dc
push 0x48
push esi
push 0x41
push 0x10a
push 0x10
call fcn.0053f640
add esp, 0x14
jmp 0x5993a3
cmp dword [ebp + 0x1c], 0
jne 0x5992f6
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
call fcn.00717660
add esp, 0xc
jmp 0x599441
cmp edi, 0x40a
je 0x599316
cmp edi, 0x43f
je 0x599316
xor eax, eax
cmp edi, 0x40b
setne al
add eax, 0x38
jmp 0x599318
mov eax, ebx
push 0x50
push esi
push eax
call fcn.00540890
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], esi
test esi, esi
jne 0x59934e
push 0x52
mov edi, str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push edi
push 0x41
push 0x10a
push 0x10
call fcn.0053f640
mov eax, dword [ebp - 4]
add esp, 0x14
jmp 0x599397
cmp dword [ebp + 0x1c], 2
jne 0x5993d2
cmp edi, 0x40a
je 0x599372
cmp edi, 0x43f
je 0x599372
xor ebx, ebx
cmp edi, 0x40b
setne bl
add ebx, 0x38
push ebx
push esi
call fcn.005412ea
pop ecx
pop ecx
test eax, eax
jg 0x5993aa
push 0x57
mov edi, str.d:package_cacheopenssl1.1.1g.2cryptoececx_meth.c
push edi
push esi
call fcn.0054088b
mov eax, dword [ebp - 4]
add esp, 0xc
and dword [eax + 0x3c], 0
push 0x79
push edi
push eax
call fcn.005406d7
add esp, 0xc
xor eax, eax
jmp 0x599453
cmp edi, 0x40a
jne 0x5993c1
mov al, byte [esi + 0x1f]
and byte [esi], 0xf8
and al, 0x3f
or al, 0x40
mov byte [esi + 0x1f], al
jmp 0x5993fd
cmp edi, 0x40b
jne 0x5993fd
and byte [esi], 0xfc
or byte [esi + 0x37], 0x80
jmp 0x5993fd
cmp edi, 0x40a
je 0x5993f0
cmp edi, 0x43f
je 0x5993f0
xor ebx, ebx
cmp edi, 0x40b
setne bl
add ebx, 0x38
push ebx
push dword [ebp + 0x14]
push esi
call fcn.00717660
add esp, 0xc
mov eax, edi
sub eax, 0x40a
je 0x599436
sub eax, 1
je 0x59942b
sub eax, 0x34
je 0x599420
sub eax, 1
jne 0x599441
push esi
push dword [ebp - 4]
call fcn.005e4364
jmp 0x59943f
push esi
push dword [ebp - 4]
call fcn.005db2ba
jmp 0x59943f
push esi
push dword [ebp - 4]
call fcn.005e2ad8
jmp 0x59943f
push esi
push dword [ebp - 4]
call fcn.005db653
pop ecx
pop ecx
push dword [ebp - 4]
push edi
push dword [ebp + 8]
call fcn.00533949
xor eax, eax
add esp, 0xc
inc eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x59b38e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00531d8c
pop ecx
cmp eax, 0x72
jne 0x59b47b
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, eax
push esi
push edi
push dword [ebp + 0x18]
shr ecx, 1
and eax, 1
push dword [ebp + 0x14]
add eax, ecx
mov dword [ebp - 8], ecx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.00547665
push eax
call fcn.0059b191
add esp, 0x1c
test eax, eax
je 0x59b40f
push 0x104
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push esi
call fcn.005406a5
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x59b416
push 0x105
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push 0x41
push 0x6f
push 0x34
call fcn.0053f640
add esp, 0x14
xor eax, eax
jmp 0x59b4a3
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0xc]
push esi
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 4]
push eax
call fcn.0053391f
push eax
call fcn.0059b191
add esp, 0x1c
test eax, eax
jne 0x59b450
push 0x10a
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push esi
push ebx
call fcn.0054074e
add esp, 0x10
jmp 0x59b40f
test esi, esi
je 0x59b465
mov ecx, ebx
mov edx, esi
sub ecx, edi
mov al, byte [ecx + edi]
xor byte [edi], al
inc edi
sub edx, 1
jne 0x59b45a
push 0x10f
push str.d:package_cacheopenssl1.1.1g.2cryptokdf_tls1_prf.c
push esi
push ebx
call fcn.0054074e
add esp, 0x10
jmp 0x59b4a0
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0059b191
add esp, 0x1c
test eax, eax
je 0x59b40f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a5999
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
push esi
push edi
test eax, eax
je 0x5a59b6
test byte [eax + 0x5c], 2
mov edi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz._
jne 0x5a59bb
mov edi, 0x81d358
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
test esi, esi
jle 0x5a5a7e
push ebx
mov ebx, dword [ebp + 0x10]
inc ebx
movzx ecx, byte [ebx - 1]
cmp esi, 3
jl 0x5a5a19
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
mov al, byte [eax + edi]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + edi]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
and ecx, 0x3f
mov al, byte [eax + edi]
mov byte [edx + 2], al
lea eax, [edx + 3]
mov cl, byte [ecx + edi]
jmp 0x5a5a61
shl ecx, 0x10
cmp esi, 2
jne 0x5a5a29
movzx eax, byte [ebx]
shl eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
mov al, byte [eax + edi]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
inc edx
and eax, 0x3f
mov dword [ebp + 0xc], edx
mov al, byte [eax + edi]
mov byte [edx], al
cmp esi, 1
jne 0x5a5a4d
mov al, 0x3d
jmp 0x5a5a56
shr ecx, 6
and ecx, 0x3f
mov al, byte [ecx + edi]
mov byte [edx + 1], al
mov cl, 0x3d
mov eax, dword [ebp + 0xc]
add eax, 2
mov byte [eax], cl
lea edx, [eax + 1]
mov ecx, dword [ebp - 4]
sub esi, 3
add ecx, 4
add ebx, 3
mov dword [ebp - 4], ecx
test esi, esi
jg 0x5a59ce
pop ebx
pop edi
mov byte [edx], 0
mov eax, ecx
pop esi
leave
ret
Function at 0x5aad71
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1048
push 0x81de78
push edi
call fcn.00717660
mov ebx, dword [ebp + 0x10]
add esp, 0xc
push 0x48
pop edx
cmp dword [ebp + 0xc], edx
cmovle edx, dword [ebp + 0xc]
add edx, ebx
xor esi, esi
movzx ecx, byte [ebx]
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
shl ecx, 8
movzx eax, byte [ebx]
or ecx, eax
inc ebx
cmp ebx, edx
cmovae ebx, dword [ebp + 0x10]
xor dword [edi + esi*4], ecx
inc esi
cmp esi, 0x12
jl 0x5aada0
xor esi, esi
mov dword [ebp - 8], esi
mov ebx, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 8]
push edi
push eax
call fcn.005ab796
mov eax, dword [ebp - 8]
mov dword [edi + ebx*4], eax
mov eax, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
pop ecx
pop ecx
cmp ebx, 0x12
jl 0x5aadea
lea eax, [ebp - 8]
push edi
push eax
call fcn.005ab796
mov eax, dword [ebp - 8]
mov dword [edi + esi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [edi + esi*4 + 0x4c], eax
add esi, 2
pop ecx
pop ecx
cmp esi, 0x400
jl 0x5aae0b
pop edi
pop esi
pop ebx
leave
ret