joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003eac0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1003eade
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x1003eb20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1003eb42
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x1003eba0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1003ebc2
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x1003ec20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1003ec4a
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret
Function at 0x1003ecb0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1003ecda
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x1003ed40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x1003ed9f

Function at 0x1003edae
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1003ed90
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x1003ee20
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x1003ee7f

Function at 0x1003ee8e
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x1003ee70
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
ret
Function at 0x10041500
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x10041a20
test edx, edx
je 0x10041a20
call fcn.10041517
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x10041a60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.10041500
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x10041ad1
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x10041a96
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x100423e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push esi
push edi
sub esp, 0x10
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
cmp ebp, 0x80
je 0x10042464
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
cmp ebp, 0xc0
je 0x1004243c
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
jmp 0x10042444
mov ecx, eax
mov edx, ebx
not ecx
not edx
bswap eax
bswap ebx
bswap ecx
bswap edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
nop
call fcn.10042469

Function at 0x1004c4e0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x30
mov eax, dword [0x10183eb8]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x40]
sub eax, 2
je 0x1004c54a
sub eax, 0x15
je 0x1004c517
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1010c03e
add esp, 0x30
ret
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x14], xmm0
mov eax, 0x17
movq qword [esp + 0x24], xmm0
movups xmm0, xmmword [ecx]
mov word [esp + 0x14], ax
mov ecx, 0x1c
lea eax, [esp + 0x14]
movups xmmword [esp + 0x1c], xmm0
jmp 0x1004c56b
xorps xmm0, xmm0
mov eax, 2
movups xmmword [esp + 4], xmm0
mov word [esp + 4], ax
mov eax, dword [ecx]
mov ecx, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 4]
push 2
push 0
push 0
push dword [esp + 0x50]
push esi
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1010c03e
add esp, 0x30
ret
Function at 0x1004fae0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x324
mov eax, dword [0x10183eb8]
xor eax, esp
mov dword [esp + 0x320], eax
mov ecx, dword [esp + 0x330]
xorps xmm1, xmm1
push ebp
push esi
mov esi, dword [esp + 0x330]
xor ebp, ebp
movsd xmm0, qword [ecx]
push edi
xor edi, edi
ucomisd xmm0, xmm1
mov dword [esp + 0xc], edi
lahf
test ah, 0x44
jp 0x1004fb39
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.1010c03e
add esp, 0x324
ret
push ebx
mov ebx, dword [esp + 0x33c]
test bl, 1
je 0x1004fb61
mov eax, dword [esi]
lea edi, [esp + 0x128]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x128], 1
test bl, 2
je 0x1004fb81
mov eax, dword [esi]
lea ebp, [esp + 0x22c]
mov dword [esp + 0x230], eax
mov dword [esp + 0x22c], 1
test bl, 6
je 0x1004fb9c
mov eax, dword [esi]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 1
mov dword [esp + 0x10], eax
push ecx
call fcn.1004f700
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
xorps xmm0, xmm0
add esp, 4
comisd xmm1, xmm0
jb 0x1004fbe2
cvttsd2si eax, xmm1
mov dword [esp + 0x14], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
mulsd xmm1, qword [0x1012c5d0]
cvttsd2si eax, xmm1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
jmp 0x1004fbe4
xor eax, eax
push eax
push dword [esp + 0x14]
push ebp
push edi
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x1004fc00
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1004fc25
test eax, eax
jne 0x1004fc09
or eax, 0xffffffff
jmp 0x1004fc25
cmp ebx, 6
jne 0x1004fc23
lea eax, [esp + 0x24]
push eax
push dword [esi]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1004fc23
lea eax, [ebx - 8]
jmp 0x1004fc25
xor eax, eax
mov ecx, dword [esp + 0x330]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1010c03e
add esp, 0x324
ret
Function at 0x10061470
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push dword [esp + 0x14]
call fcn.1008d110
push 0x62
push esi
mov edi, eax
mov ebx, 1
call fcn.1010e030
add esp, 0x10
mov ecx, 0x11
test eax, eax
cmove ebx, ecx
test edi, edi
jne 0x10061527
push 0x4a
push str.crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.1005d320
push 0x1013f310
push esi
push 0x1013f314
push dword [esp + 0x30]
push str.fopen_
push 5
call fcn.1005ca90
add esp, 0x2c
call fcn.10110e49
cmp dword [eax], 2
je 0x10061509
call fcn.10110e49
cmp dword [eax], 6
je 0x10061509
push 0x53
push str.crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.1005d320
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x51
push str.crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.1005d320
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x1013f2c0
call fcn.10050d50
mov esi, eax
add esp, 4
test esi, esi
jne 0x10061549
push edi
call fcn.1010fe59
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0
push esi
call fcn.10050960
push edi
push ebx
push 0x6a
push esi
call fcn.10050990
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
ret
Function at 0x100752f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
mov ecx, ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ebp
push edi
sub ecx, 4
jb 0x10075321
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10075328
add edx, 4
add esi, 4
sub ecx, 4
jae 0x10075310
xor edi, edi
cmp ecx, 0xfffffffc
je 0x10075363
movzx edi, byte [edx]
movzx eax, byte [esi]
sub edi, eax
jne 0x10075363
cmp ecx, 0xfffffffd
je 0x10075363
movzx edi, byte [edx + 1]
movzx eax, byte [esi + 1]
sub edi, eax
jne 0x10075363
cmp ecx, 0xfffffffe
je 0x10075363
movzx edi, byte [edx + 2]
movzx eax, byte [esi + 2]
sub edi, eax
jne 0x10075363
cmp ecx, 0xffffffff
je 0x10075363
movzx edi, byte [edx + 3]
movzx eax, byte [esi + 3]
sub edi, eax
test edi, edi
jle 0x1007537e
push 0x157
push str.cryptox509v3_v3_addr.c
push str.assertion_failed:_memcmp_min__max__length____0
call fcn.10062e80
add esp, 0xc
mov edi, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
jle 0x1007539d
mov esi, edi
mov edx, ebp
sub esi, ebp
nop
mov al, byte [esi + edx]
cmp al, byte [edx]
jne 0x1007539d
inc ecx
inc edx
cmp ecx, ebx
jl 0x10075390
lea edx, [ebx - 1]
test edx, edx
js 0x100753c1
mov esi, edi
lea eax, [edx + ebp]
sub esi, ebp
nop dword [eax + eax]
cmp byte [eax + esi], 0
jne 0x100753c1
cmp byte [eax], 0xff
jne 0x100753c1
dec eax
sub edx, 1
jns 0x100753b0
cmp ecx, edx
jl case.0x100753ed.2
jle 0x100753d3
pop edi
pop esi
pop ebp
lea eax, [ecx*8]
pop ebx
ret
mov bl, byte [ecx + ebp]
mov dh, byte [ecx + edi]
mov dl, bl
xor dl, dh
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x100753ed.2
movzx eax, byte [eax + 0x10075460]
jmp dword [eax*4 + 0x10075440]
mov eax, 7
jmp 0x10075423
mov eax, 6
jmp 0x10075423
mov eax, 5
jmp 0x10075423
mov eax, 4
jmp 0x10075423
mov eax, 3
jmp 0x10075423
mov eax, 2
jmp 0x10075423
mov eax, 1
test dl, dh
jne case.0x100753ed.2
and bl, dl
cmp bl, dl
jne case.0x100753ed.2
pop edi
pop esi
pop ebp
lea eax, [eax + ecx*8]
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x1008ae20
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov edi, dword [esp + 0xc]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [edi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.10050960
add esp, 8
test esi, esi
jg 0x1008ae77
je 0x1008ae59
cmp esi, 0xffffffff
jne 0x1008ae77
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.1008b0a0
add esp, 4
test eax, eax
je 0x1008ae77
push 0xa
push edi
call fcn.10051070
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x10091af0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
cmp ebx, 2
je 0x10091b4c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10091b3d
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0
call fcn.10077b70
add esp, 0x10
cmp dword [esp + 0x1c], 0xffffffff
je 0x10091b3d
push 0x2f
push str.cryptoececx_meth.c
push 0x66
push 0x10a
push 0x10
call fcn.1005d320
add esp, 0x14
xor eax, eax
pop edi
pop ebx
ret
test edi, edi
je 0x10091b48
cmp dword [esp + 0x18], 0x20
je 0x10091b4c
push 0x35
jmp 0x10091b22
push esi
push 0x3a
push str.cryptoececx_meth.c
push 0x24
call fcn.10050870
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10091b82
push 0x3c
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.1005d320
add esp, 0x14
xor eax, eax
pop esi
pop edi
pop ebx
ret
test ebx, ebx
jne 0x10091b99
push dword [esp + 0x1c]
push edi
push esi
call fcn.1010dab0
add esp, 0xc
jmp 0x10091c45
push 0x43
push str.cryptoececx_meth.c
push 0x20
call fcn.10060380
add esp, 0xc
mov dword [esi + 0x20], eax
test eax, eax
jne 0x10091bdc
push 0x45
push str.cryptoececx_meth.c
push 0x41
push 0x10a
push 0x10
call fcn.1005d320
push 0x46
push str.cryptoececx_meth.c
push esi
call fcn.10050630
add esp, 0x20
xor eax, eax
pop esi
pop edi
pop ebx
ret
cmp ebx, 2
jne 0x10091c2b
push 0x20
push eax
call fcn.10082cd0
add esp, 8
test eax, eax
jg 0x10091c15
push 0x4b
push str.cryptoececx_meth.c
push dword [esi + 0x20]
call fcn.10060370
push 0x4c
push str.cryptoececx_meth.c
push esi
call fcn.10050630
add esp, 0x18
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x20]
and byte [eax], 0xf8
mov eax, dword [esi + 0x20]
and byte [eax + 0x1f], 0x7f
mov eax, dword [esi + 0x20]
or byte [eax + 0x1f], 0x40
jmp 0x10091c39
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
push dword [esi + 0x20]
push esi
call fcn.100b04b0
add esp, 8
push esi
push 0x40a
push dword [esp + 0x18]
call fcn.10056360
add esp, 0xc
mov eax, 1
pop esi
pop edi
pop ebx
ret
Function at 0x1009b070
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x1009b15c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
cmp esi, 3
jl 0x1009b0ed
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
jmp 0x1009b141
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x1009b101
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x1009b12b
lea eax, [esi + 0x3c]
jmp 0x1009b138
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
sub esi, 3
add ebx, 4
add edi, 3
inc edx
test esi, esi
jg 0x1009b090
pop edi
pop esi
mov eax, ebx
mov byte [edx], 0
pop ebx
ret
mov eax, dword [esp + 0xc]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
ret
Function at 0x100b04b0
Capabilities:
Encrypt data using curve25519

Disassembly:
mov eax, 0x11c
call fcn.1010c7b0
mov eax, dword [0x10183eb8]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x124]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movd eax, xmm0
movups xmmword [esp + 0xdc], xmm1
and al, 0xf8
psrldq xmm1, 0xc
movups xmmword [esp + 0xcc], xmm0
mov byte [esp + 0xcc], al
movd eax, xmm1
shr eax, 0x18
and al, 0x3f
or al, 0x40
mov byte [esp + 0xeb], al
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100b2f80
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x84]
lea eax, [ecx + edx]
sub edx, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xfc], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0xd4], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xd8], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x104], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xdc], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0xe0], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0xe4], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xe8], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xec], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x118], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xf0], eax
lea eax, [edx + ecx]
sub edx, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xf4], eax
lea eax, [edx + ecx]
sub edx, ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0x120], edx
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.100b0c50
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xe0]
push eax
push eax
call fcn.100b0ed0
lea eax, [esp + 0xe8]
push eax
push esi
call fcn.100b2730
mov ecx, dword [esp + 0x140]
add esp, 0x24
pop esi
xor ecx, esp
call fcn.1010c03e
add esp, 0x11c
ret
Function at 0x100b9110
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.1010c7b0
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.100e6750
add esp, 4
cmp eax, 0x72
jne 0x100b926d
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ebp
push edi
mov edi, dword [esp + 0x2c]
mov ebp, eax
push edi
push esi
push dword [esp + 0x2c]
and eax, 1
shr ebp, 1
push dword [esp + 0x2c]
add eax, ebp
push eax
push dword [esp + 0x2c]
mov dword [esp + 0x24], eax
call fcn.100796e0
push eax
call fcn.100b8ea0
add esp, 0x1c
test eax, eax
jne 0x100b9172
pop edi
pop ebp
pop esi
pop ecx
ret
push ebx
push 0xf8
push str.cryptokdf_tls1_prf.c
push edi
call fcn.10050600
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x100b91c7
mov eax, dword [esp + 0x1c]
push edi
push ebx
push dword [esp + 0x30]
add eax, ebp
push dword [esp + 0x30]
push dword [esp + 0x20]
push eax
call fcn.10056310
push eax
call fcn.100b8ea0
add esp, 0x1c
test eax, eax
jne 0x100b91cf
push 0xfd
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.10050700
add esp, 0x10
pop ebx
pop edi
pop ebp
xor eax, eax
pop esi
pop ecx
ret
xor edx, edx
test edi, edi
je 0x100b924e
cmp edi, 0x20
jb 0x100b922b
lea eax, [edi - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, edi
cmp esi, eax
ja 0x100b91ec
cmp ecx, ebx
jae 0x100b922b
mov ecx, edi
mov ebp, ebx
and ecx, 0xffffffe0
mov eax, esi
sub ebp, esi
nop word [eax + eax]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [ebx + edx + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x100b9200
cmp edx, edi
jae 0x100b924e
mov ebp, ebx
lea ecx, [edx + esi]
sub ebp, esi
mov esi, edi
sub esi, edx
nop word [eax + eax]
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub esi, 1
jne 0x100b9240
push 0x102
push str.cryptokdf_tls1_prf.c
push edi
push ebx
call fcn.10050700
add esp, 0x10
mov eax, 1
pop ebx
pop edi
pop ebp
pop esi
pop ecx
ret
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push esi
call fcn.100b8ea0
add esp, 0x1c
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret