joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499530
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, ecx
lea ecx, [esp + 0x28]
push dword [ebp + 8]
call fcn.0048b210
add esp, 4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, edx
neg ecx
mov ecx, dword [esp + 0x30]
jo 0x49958f
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
push 1
call fcn.0048c420
add esp, 4
mov ebx, dword [esp + 0x18]
mov eax, ebx
neg eax
jno 0x4995a3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push dword [ebp + 0x10]
call fcn.0048b210
add esp, 4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, edx
neg ecx
mov ecx, dword [esp + 0x30]
jo 0x499603
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
push 1
call fcn.0048c420
add esp, 4
mov edi, dword [esp + 0x18]
mov eax, edi
neg eax
jno 0x499627
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi], 1
test ebx, ebx
je 0x49959b
push edi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x49959b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x4996d0
mov dword [esp + 0x34], eax
push eax
push dword [esp + 0x18]
call dword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
je 0x499698
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test edi, edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi], 0
je 0x499686
push dword [esp + 0x24]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp + 4]
test ebx, ebx
je 0x49959b
push eax
jmp 0x499614
call dword [sym.imp.kernel32.dll_GetLastError]
test edi, edi
mov edi, dword [esp + 4]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 1
je 0x49960f
push dword [esp + 0x24]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x49960f
Function at 0x499780
Capabilities:
Connect socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
movzx eax, byte [edx]
mov esi, ecx
cmp al, 4
jne 0x4997de
mov ebp, dword [edx + 4]
mov eax, dword [0x6019c0]
cmp eax, 3
jne 0x499886
mov edx, dword [ebp]
lea ecx, [esp + 8]
call fcn.0048f930
movzx eax, byte [esp + 8]
cmp al, 4
jne 0x4997f2
mov ebx, dword [esp + 0xc]
test byte [ebp], 1
je 0x499814
mov ecx, dword [ebp + 0x18]
movups xmm0, xmmword [ebp + 4]
lea eax, [ebp + 0x14]
mov edi, 0x1c
mov edx, 0x1c
mov dword [esp + 4], ecx
mov cx, 0x17
jmp 0x49982e
movzx ecx, byte [edx + 3]
mov byte [esi + 3], cl
movzx ecx, word [edx + 1]
mov word [esi + 1], cx
mov ecx, dword [edx + 4]
jmp 0x499807
movzx ecx, byte [esp + 0xb]
mov byte [esi + 3], cl
movzx ecx, word [esp + 9]
mov word [esi + 1], cx
mov ecx, dword [esp + 0xc]
mov byte [esi], al
mov dword [esi + 4], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], ebx
lea eax, [ebp + 2]
xorps xmm0, xmm0
mov edx, 0x10
mov cx, 2
mov edi, 6
mov ebx, dword [esp]
movzx edi, word [ebp + edi]
mov eax, dword [eax]
mov word [esp + 8], cx
rol di, 8
mov word [esp + 0xa], di
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], eax
push edx
lea eax, [esp + 0xc]
push eax
push ebx
call dword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x49986e
mov dword [esi + 4], ebx
mov byte [esi], 4
jmp 0x49980c
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
push ebx
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x49980c
call fcn.004ff520
jmp 0x4997a1
Function at 0x4b8830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, dword [ebp + 0xc]
call fcn.004b8847
Function at 0x4c2670
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4c26c0
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [sym.imp.ws2_32.dll_send]
mov ebp, dword [eax]
nop
cmp edi, 0x7fffffff
mov eax, 0x7fffffff
cmovb eax, edi
push 0
push eax
push ebx
push ebp
call esi
cmp eax, 0xffffffff
je 0x4c26c9
test eax, eax
mov byte [esp], 4
mov dword [esp + 4], eax
je 0x4c26e7
cmp edi, eax
jb 0x4c2700
add ebx, eax
sub edi, eax
jne 0x4c2690
mov eax, dword [esp + 0x1c]
mov byte [eax], 4
jmp 0x4c26f8
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov byte [esp + 3], 0
mov word [esp + 1], 0
mov byte [esp], 0
mov dword [esp + 4], eax
mov eax, esp
jmp 0x4c26ec
mov eax, 0x5df160
movsd xmm0, qword [eax]
mov eax, dword [esp + 0x1c]
movsd qword [eax], xmm0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
Function at 0x4c2e10
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov ebp, dword [esp + 0x38]
xorps xmm0, xmm0
mov esi, ecx
lea edi, [esp + 4]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 4], xmm0
push 0
push 0x20
push edi
push dword [edx]
call dword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4c2e72
mov ebx, eax
cmp eax, 0x20
mov dword [esp], esi
ja 0x4c2eba
mov eax, dword [ebp]
mov esi, ebp
mov ebp, dword [ebp + 8]
sub eax, ebp
cmp eax, ebx
jae 0x4c2e89
mov ecx, esi
mov edx, ebp
push 1
push 1
push ebx
call fcn.00500270
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ebp, dword [eax + 8]
jmp 0x4c2e89
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x274a
jne 0x4c2eaf
mov dword [esp], esi
mov esi, ebp
mov ebp, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi + 4]
add eax, ebp
push ebx
push edi
push eax
call fcn.004ef180
add esp, 0xc
mov eax, dword [esp]
add ebp, ebx
mov dword [esi + 8], ebp
mov dword [eax + 4], ebx
mov byte [eax], 4
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi], 0
mov dword [esi + 4], eax
jmp 0x4c2ea7
ud2
Function at 0x4c4e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x94
mov edi, dword [esp + 0xa8]
call fcn.004c4e56

Function at 0x4c5c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, 2
test edx, edx
je 0x4c5caa
cmp edx, 1
jne 0x4c5caf
xor esi, esi
nop word cs:[eax + eax]
cmp edx, esi
je 0x4c5d30
movzx ebx, byte [ecx + esi]
inc esi
add bl, 0xd0
cmp bl, 0xa
jb 0x4c5c90
jmp 0x4c5d40
jmp 0x4c5d71
cmp word [ecx], 0x7830
je 0x4c5cf3
cmp word [ecx], 0x5830
je 0x4c5cf3
cmp byte [ecx], 0x30
jne 0x4c5c84
cmp byte [ecx + 1], 0xbf
jle 0x4c5d78
inc ecx
dec edx
mov esi, edx
mov edi, ecx
nop word cs:[eax + eax]
nop dword [eax]
test esi, esi
je 0x4c5d4f
movzx ebx, byte [edi]
inc edi
dec esi
and bl, 0xf8
cmp bl, 0x30
je 0x4c5ce0
jmp 0x4c5d40
cmp edx, 3
jb 0x4c5d3b
cmp byte [ecx + 2], 0xbf
jle 0x4c5d78
add ecx, 2
add edx, 0xfffffffe
mov esi, edx
mov edi, ecx
nop dword [eax + eax]
test esi, esi
je 0x4c5d44
movzx ebx, byte [edi]
inc edi
dec esi
mov bh, bl
add bh, 0xd0
cmp bh, 0xa
jb 0x4c5d10
and bl, 0xdf
add bl, 0xbf
cmp bl, 6
jb 0x4c5d10
jmp 0x4c5d40
mov eax, ecx
mov esi, edx
mov edi, 0xa
jmp 0x4c5d58
mov eax, 1
xor edx, edx
jmp 0x4c5d71
mov eax, ecx
mov esi, edx
mov edi, 0x10
jmp 0x4c5d58
mov eax, ecx
mov esi, edx
mov edi, 8
mov edx, eax
mov ecx, esp
push edi
push esi
call fcn.00417670
add esp, 8
movzx eax, byte [esp]
mov edx, dword [esp + 4]
xor eax, 1
add esp, 8
pop esi
pop edi
pop ebx
ret
ud2
Function at 0x4d5240
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, ecx
lea esi, [esp + 8]
mov dword [esp + 8], 0
push esi
push 0x5f7524
push 1
push 0
push 0x5f7540
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4d527a
mov ebp, dword [esp + 8]
test ebp, ebp
jne 0x4d52b9
xor esi, esi
jmp 0x4d52ab
mov edi, eax
mov eax, esp
mov dword [esp], 0
push eax
push 0
call dword [sym.imp.oleaut32.dll_GetErrorInfo]
mov ebp, dword [esp]
test edi, edi
je 0x4d52b9
xor esi, esi
cmp edi, 0x535f4f4b
cmovne esi, edi
test ebp, ebp
je 0x4d52ab
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
mov dword [ebx], 0x80000000
mov dword [ebx + 4], esi
jmp 0x4d53c1
mov ecx, 0x5f7534
mov edx, 0xa
mov dword [esp + 4], ebx
call fcn.004d4e60
mov dword [esp + 8], 0
mov edi, eax
mov eax, dword [ebp]
push esi
push 0
push 0
push 0x80
push 0
push 0
push 0
push edi
push ebp
call dword [eax + 0xc]
test eax, eax
js 0x4d5330
mov esi, dword [esp + 8]
mov ebx, dword [esp + 4]
test esi, esi
je 0x4d5372
test edi, edi
je 0x4d5309
push edi
call dword [sym.imp.oleaut32.dll_SysFreeString]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push esi
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4d538a
mov dword [ebx + 4], esi
mov dword [ebx], 0x80000011
jmp 0x4d53ba
mov ebx, eax
mov eax, esp
mov dword [esp], 0
push eax
push 0
call dword [sym.imp.oleaut32.dll_GetErrorInfo]
mov esi, dword [esp]
test ebx, ebx
je 0x4d53c9
xor eax, eax
cmp ebx, 0x535f4f4b
cmovne eax, ebx
test esi, esi
mov dword [esp + 0xc], eax
je 0x4d5364
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0xc]
test edi, edi
jne 0x4d5378
jmp 0x4d537f
xor esi, esi
test edi, edi
je 0x4d537f
push edi
call dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [ebx], 0x80000000
mov dword [ebx + 4], esi
jmp 0x4d53ba
mov edi, eax
mov eax, esp
mov dword [esp], 0
push eax
push 0
call dword [sym.imp.oleaut32.dll_GetErrorInfo]
mov eax, dword [esp]
test eax, eax
je 0x4d53ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx], 0x80000000
mov dword [ebx + 4], edi
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esp + 4]
test edi, edi
jne 0x4d5302
jmp 0x4d5309

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

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
movups xmm2, xmmword [eax]
mov ecx, dword [edx + 0xf0]
mov eax, dword [esp + 8]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
lea edx, [edx + 0x20]
xorps xmm2, xmm0
aesenc xmm2, xmm1
dec ecx
movups xmm1, xmmword [edx]
lea edx, [edx + 0x10]
jne 0x4db0a2
aesenclast xmm2, xmm1
pxor xmm0, xmm0
pxor xmm1, xmm1
movups xmmword [eax], xmm2
pxor xmm2, xmm2
ret
Function at 0x4dcf70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x30]
push edi
movups xmm0, xmmword [eax]
movups xmmword [esp + 8], xmm0
movups xmm0, xmmword [eax + 0x10]
lea eax, [esp + 8]
push eax
movups xmmword [esp + 0x1c], xmm0
call fcn.004ddb50
xor edi, edi
add esp, 4
mov dword [esp + 0x34], edi
cmp dword [esp + 0x30], edi
jbe 0x4dd154
mov eax, dword [esp + 0x2c]
push ebx
add eax, 8
push ebp
mov dword [esp + 0xc], eax
push esi
mov ecx, dword [esp + edi*4 + 0x2c]
mov eax, dword [esp + edi*4 + 0x24]
movzx eax, al
mov ebx, dword [esp + edi*4 + 0x1c]
movzx edx, cl
shl edx, 8
or edx, eax
mov esi, dword [esp + edi*4 + 0x24]
shl edx, 8
movzx eax, bl
or edx, eax
mov eax, dword [esp + edi*4 + 0x14]
movzx eax, al
shl edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov ebp, eax
shl ebp, 6
xor ebp, eax
mov eax, dword [esp + edi*4 + 0x2c]
shr eax, 8
xor ebp, edx
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov eax, dword [esp + edi*4 + 0x14]
shr eax, 8
movzx eax, al
shl edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
mov ecx, dword [esp + 0x40]
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov edi, eax
shl edi, 6
xor edi, eax
mov eax, dword [esp + ecx*4 + 0x2c]
shr eax, 0x10
xor edi, edx
movzx edx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
mov eax, ebx
shr eax, 0x10
shl edx, 8
movzx eax, al
or edx, eax
mov eax, dword [esp + ecx*4 + 0x14]
shl edx, 8
shr eax, 0x10
and ebx, 0xff00ffff
movzx eax, al
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
mov ecx, dword [esp + 0x40]
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov esi, eax
shl esi, 6
xor esi, eax
mov eax, dword [esp + ecx*4 + 0x24]
xor esi, edx
and eax, 0xff0000ff
mov edx, dword [esp + ecx*4 + 0x14]
shr edx, 8
or edx, ebx
shr edx, 8
or edx, eax
mov eax, dword [esp + ecx*4 + 0x2c]
and eax, 0xff000000
shr edx, 8
or edx, eax
mov ecx, edx
shr ecx, 0xc
xor ecx, edx
and ecx, 0xf0f0
mov eax, ecx
shl eax, 0xc
xor eax, ecx
xor edx, eax
mov eax, edx
shr eax, 6
xor eax, edx
and eax, 0xcc00cc
mov ecx, eax
shl ecx, 6
xor ecx, eax
mov eax, dword [esp + 0x10]
xor ecx, edx
mov dword [eax - 8], ebp
mov dword [eax - 4], edi
mov edi, dword [esp + 0x40]
mov dword [eax], esi
inc edi
mov dword [eax + 4], ecx
add eax, 0x10
mov dword [esp + 0x40], edi
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0x3c]
jb 0x4dcfb4
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x24
ret
Function at 0x4dd3c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x601040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
lea eax, [esp + 0x3c]
push edi
mov edi, dword [esp + 0x58]
push esi
push eax
mov dword [edi + 0xf0], 0xe
call fcn.004dcaf0
movups xmm0, xmmword [esp + 0x48]
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
movups xmmword [edi], xmm0
call fcn.004dcaf0
movups xmm2, xmmword [esp + 0x40]
add esp, 0x10
lea ebp, [edi + 0x20]
mov ebx, 2
movups xmmword [edi + 0x10], xmm2
nop dword [eax]
xorps xmm0, xmm0
lea eax, [esp + 0x10]
movups xmmword [esp + 0x10], xmm0
push eax
movups xmmword [esp + 0x24], xmm0
movaps xmm0, xmm2
movd dword [esp + 0x14], xmm2
psrldq xmm0, 4
movd dword [esp + 0x1c], xmm0
movaps xmm0, xmm2
psrldq xmm0, 8
movd dword [esp + 0x24], xmm0
movaps xmm0, xmm2
psrldq xmm0, 0xc
movd dword [esp + 0x2c], xmm0
call fcn.004ddb50
lea eax, [esp + 0x14]
push eax
call fcn.004dd5d0
lea eax, [esp + 0x18]
push eax
call fcn.004ddb50
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, ebx
shr eax, 1
mov cl, byte [eax + 0x5f84f7]
xor eax, eax
movzx edi, cl
nop dword [eax]
mov edx, dword [esp + eax*4 + 0x30]
mov cl, al
add cl, cl
mov esi, edi
shr esi, cl
mov ecx, edx
and ecx, 0x3000000
shr edx, 8
or ecx, edx
and esi, 3
shr ecx, 0x12
xor esi, ecx
xor esi, dword [esp + eax*4 + 0x40]
mov ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
mov dword [esp + eax*4 + 0x40], ecx
inc eax
cmp eax, 4
jb 0x4dd4b0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [ebp], xmm0
cmp ebx, 0xe
je 0x4dd5ae
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
call fcn.004ddb50
lea eax, [esp + 0x14]
push eax
call fcn.004dd5d0
lea eax, [esp + 0x18]
push eax
call fcn.004ddb50
mov eax, dword [esp + 0x1c]
add ebx, 2
mov dword [esp + 0x3c], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
movups xmm1, xmmword [esp + 0x30]
psrld xmm1, 0x18
xorps xmm1, xmm2
movaps xmm2, xmm1
movaps xmm0, xmm1
pslld xmm2, 8
pslld xmm0, 0x10
xorps xmm2, xmm1
pslld xmm1, 0x18
xorps xmm2, xmm0
xorps xmm2, xmm1
movups xmmword [ebp + 0x10], xmm2
add ebp, 0x20
cmp ebx, 0xe
jbe 0x4dd420
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ee6f5
add esp, 0x44
ret
Function at 0x4ddbd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x254
mov eax, dword [0x601040]
xor eax, esp
mov dword [esp + 0x250], eax
cmp dword [esp + 0x260], 0
mov eax, dword [esp + 0x258]
mov dword [esp], eax
mov eax, dword [esp + 0x25c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x264]
push esi
mov esi, dword [esp + 0x26c]
mov dword [esp + 0xc], eax
je 0x4ddd45
push ebp
push edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004dce80
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x224]
add esp, 8
lea edi, [esp + 0x23c]
movups xmmword [ecx], xmm0
mov eax, dword [ecx]
sub edi, esi
mov dword [ecx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0x1c], eax
mov ebp, dword [esp + 0x228]
bswap ebp
push ebx
nop word [eax + eax]
xor ecx, ecx
lea edx, [esp + 0x22c]
nop dword [eax]
lea eax, [ecx + ebp]
inc ecx
lea edx, [edx + 0x10]
bswap eax
mov dword [edx - 0x10], eax
cmp ecx, 2
jb 0x4ddc80
mov ebx, dword [esp + 0x270]
mov eax, 2
cmp ebx, 2
cmovae ebx, eax
lea eax, [esp + 0x220]
push ebx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ebx
push eax
call fcn.004dd8c0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
push dword [eax + 0xf0]
lea eax, [esp + 0x54]
push eax
call fcn.004dcc90
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x25c]
push ebx
push eax
call fcn.004dcf70
add esp, 0x24
test ebx, ebx
je 0x4ddd22
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub esi, eax
nop word [eax + eax]
mov edx, 4
mov ecx, dword [eax]
xor ecx, dword [eax + edi]
mov dword [esi + eax], ecx
add eax, 4
sub edx, 1
jne 0x4ddd05
sub ebx, 1
jne 0x4ddd00
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
sub dword [esp + 0x270], ebx
je 0x4ddd42
add dword [esp + 0x14], 0x20
add esi, 0x20
sub edi, 0x20
mov dword [esp + 0x10], esi
add ebp, 2
jmp 0x4ddc70
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x254]
pop esi
xor ecx, esp
call fcn.004ee6f5
add esp, 0x254
ret
Function at 0x4dddf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x44
mov eax, dword [0x601040]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x54]
cmp eax, 0x80
je 0x4dde4a
cmp eax, 0x100
je 0x4dde2e
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004ee6f5
add esp, 0x44
ret
push ecx
push ebx
call fcn.004dd3c0
add esp, 8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004ee6f5
add esp, 0x44
ret
push ebp
push esi
push edi
push ecx
lea eax, [esp + 0x44]
mov dword [ebx + 0xf0], 0xa
push eax
call fcn.004dcaf0
movups xmm0, xmmword [esp + 0x48]
add esp, 8
mov edi, 1
movups xmmword [ebx], xmm0
add ebx, 0x10
nop word [eax + eax]
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
push eax
call fcn.004ddb50
lea eax, [esp + 0x24]
push eax
call fcn.004dd5d0
lea eax, [esp + 0x28]
push eax
call fcn.004ddb50
mov eax, dword [esp + 0x2c]
add esp, 0xc
movzx ebp, byte [edi + 0x5f84f7]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
xor eax, eax
mov edx, dword [esp + eax*4 + 0x10]
mov cl, al
add cl, cl
mov esi, ebp
shr esi, cl
mov ecx, edx
and ecx, 0x3000000
shr edx, 8
or ecx, edx
and esi, 3
shr ecx, 0x12
xor esi, ecx
xor esi, dword [esp + eax*4 + 0x40]
mov ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
shl ecx, 8
xor ecx, esi
mov dword [esp + eax*4 + 0x40], ecx
inc eax
cmp eax, 4
jb 0x4ddef7
movups xmm0, xmmword [esp + 0x40]
inc edi
movups xmmword [ebx], xmm0
add ebx, 0x10
cmp edi, 0xa
jbe 0x4dde80
mov ecx, dword [esp + 0x50]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ee6f5
add esp, 0x44
ret
Function at 0x4e1790
Capabilities:
Encrypt data using curve25519

Disassembly:
mov ecx, dword [esp + 4]
mov al, byte [ecx + 0x1f]
and byte [ecx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ecx + 0x1f], al
ret
Function at 0x4e8790
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
xor ecx, ecx
push ebx
xor bl, bl
push ebp
mov ebp, dword [esp + 0x10]
test edx, edx
je 0x4e8847
mov eax, dword [esp + 0xc]
push esi
mov esi, ebp
sub esi, eax
cmp edx, 0x20
jb 0x4e8826
push edi
mov edi, edx
xorps xmm3, xmm3
and edi, 0xffffffe0
xorps xmm2, xmm2
add eax, 0x10
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + ebp]
add ecx, 0x20
xorps xmm1, xmm0
orps xmm3, xmm1
movups xmm1, xmmword [esi + eax - 0x20]
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
orps xmm2, xmm1
cmp ecx, edi
jb 0x4e87c3
orps xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd ebx, xmm2
pop edi
cmp ecx, edx
jae 0x4e8840
mov eax, dword [esp + 0x10]
add eax, ecx
sub edx, ecx
nop word [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or bl, cl
sub edx, 1
jne 0x4e8830
pop esi
pop ebp
movzx eax, bl
pop ebx
ret
pop ebp
movzx eax, bl
pop ebx
ret
Function at 0x4ea770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0x14]
push edi
push 0x60
push 0
push ebp
call fcn.004f0d80
xor edi, edi
add esp, 0xc
cmp dword [esp + 0x10], edi
jbe 0x4ea7cf
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x18]
dec ecx
push esi
mov dword [esp + 0x20], ecx
nop word [eax + eax]
push ebp
mov esi, ecx
push ebx
xor esi, edi
push esi
push ebp
call fcn.004e8a40
lea ecx, [ebp + 0x20]
push ecx
lea eax, [ebx + 0x20]
push eax
push esi
push ecx
call fcn.004e8a40
mov ecx, dword [esp + 0x40]
inc edi
add esp, 0x20
add ebx, 0x40
cmp edi, dword [esp + 0x18]
jb 0x4ea7a0
pop esi
pop ebx
lea eax, [ebp + 0x40]
push 0x5f8d68
push eax
push dword [esp + 0x14]
push eax
call fcn.004e8a40
add esp, 0x10
pop edi
pop ebp
ret