joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6860e0
Capabilities:
Encode data using base64

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x18]
mov eax, 0xaaaaaaab
lea ecx, [edi + 2]
mul ecx
mov ebx, edx
shr ebx, 1
shl ebx, 2
mov dword [esp + 0x18], ebx
cmp ebx, 0xbffffffd
ja 0x686222
cmp edi, 0xfffffffd
jae 0x686222
cmp dword [esp + 0x10], ebx
jb 0x686222
mov ecx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0x1c]
cmp edi, 3
jb 0x6861ac
mov eax, 0xaaaaaaab
mul edi
mov ebx, edx
shr ebx, 1
lea ebp, [ebx*4]
movzx eax, byte [esi]
sub edi, 3
shr eax, 2
movzx eax, byte [eax + 0x573450]
mov byte [ecx], al
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
shl edx, 4
or edx, eax
movzx eax, byte [edx + 0x573450]
mov byte [ecx + 1], al
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 2]
and edx, 0xf
shr eax, 6
shl edx, 2
or edx, eax
movzx eax, byte [edx + 0x573450]
mov byte [ecx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + 0x573450]
mov byte [ecx + 3], al
add ecx, 4
sub ebx, 1
jne 0x686141
mov ebx, dword [esp + 0x20]
test edi, edi
je 0x68620f
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x573450]
mov byte [ecx], al
cmp edi, 1
jne 0x6861d9
movzx eax, byte [esi]
mov dl, 0x3d
and eax, 3
shl eax, 4
mov al, byte [eax + 0x573450]
mov byte [ecx + 1], al
jmp 0x686202
movzx edx, byte [esi]
movzx eax, byte [esi + 1]
and edx, 3
shr eax, 4
shl edx, 4
or edx, eax
mov al, byte [edx + 0x573450]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
and eax, 0xf
mov dl, byte [eax*4 + 0x573450]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
add ecx, 4
add ebp, 4
lea eax, [ebx + 1]
cmp dword [esp + 0x18], eax
mov eax, ebp
jb 0x68621d
mov byte [ecx], 0
pop esi
pop ebp
pop edi
pop ebx
ret
pop edi
xor eax, eax
pop ebx
ret
Function at 0x6874c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x719edd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x76e964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ecx]
xor esi, esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xd], 0
jne 0x687560
mov esi, eax
nop dword [eax + eax]
cmp dword [edi + 0x14], 0x10
mov edx, edi
mov dword [ebp - 0x14], esi
jb 0x68751d
mov edx, dword [edi]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x687529
mov ecx, dword [esi + 0x10]
push dword [edi + 0x10]
push edx
push dword [esi + 0x20]
push ecx
call fcn.0059d260
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x687548
mov esi, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
jmp 0x68754f
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp - 0x10], ecx
movzx eax, al
xor eax, 1
cmp byte [esi + 0xd], 0
mov dword [ebp - 0x20], eax
je 0x687510
mov esi, eax
cmp byte [ecx + 0xd], 0
jne 0x6875b2
cmp dword [ecx + 0x24], 0x10
lea edx, [ecx + 0x10]
jb 0x687572
mov edx, dword [ecx + 0x10]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x68757c
mov eax, dword [edi]
push dword [ecx + 0x20]
push edx
push dword [edi + 0x10]
push eax
call fcn.0059d260
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x6875b2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0x4924924
je 0x68767f
mov dword [ebp - 0x24], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.006dd216
mov edx, eax
add esp, 4
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
movups xmm0, xmmword [edi]
movups xmmword [edx + 0x10], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [edx + 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov eax, dword [edi + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [edi + 0x1c]
mov dword [edx + 0x2c], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x34], ecx
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov word [edx + 0xc], 0
mov ecx, dword [ebp - 0x18]
push edx
push esi
push dword [ebp - 0x14]
call fcn.00599500
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.0059a0b0
int3
Function at 0x68e890
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push 0
push dword [esp + 0x14]
mov esi, ecx
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x68e913
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x68e8cb
mov eax, dword [esi + 0x14]
push 0
push 0
push 0x560b20
push eax
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x50]
call eax
test al, al
je 0x68e904
mov eax, dword [esi + 0x14]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jns 0x68e8f9
mov dword [esi + 0xc], 0x64
and dword [esi + 8], 0xfffffffd
mov dword [esi + 0x14], 0xffffffff
call fcn.005fd3b0
mov dword [esi + 0xc], 0x66
or eax, 0xffffffff
pop esi
ret 0xc
Function at 0x68e920
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x124
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x12c]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x10], eax
push esi
push edi
xor esi, esi
xor ebp, ebp
mov edi, dword [ebx + 0xb8]
test edi, edi
je 0x68ea8d
push 0xfc
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.006f4190
add esp, 0xc
mov dword [esp + 0x14], esi
test edi, edi
jle 0x68ea5a
mov ebp, dword [esp + 0x138]
mov eax, 2
mov dword [esp + 0x28], 0x1388
cmp edi, eax
mov dword [esp + 0x30], ebp
lea ecx, [ebp + 1]
mov dword [esp + 0x2c], 1
cmovb eax, edi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_select]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x68ea08
lea eax, [esp + 0x2c]
push eax
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x68ea39
push 0
push dword [esp + 0x144]
push dword [esp + 0x20]
push ebp
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jns 0x68ea52
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
jne 0x68ea39
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x10]
mov eax, 0xfffffffe
jmp 0x68eaaf
jne 0x68ea39
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 4
push eax
push 0x1007
push 0xffff
push ebp
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
js 0x68ea7b
mov eax, dword [esp + 0x14]
mov edi, dword [ebx + 0xb8]
add eax, 2
mov dword [esp + 0x14], eax
cmp eax, edi
jl 0x68e97d
mov ebp, dword [esp + 0x10]
test esi, esi
jg 0x68eaad
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax + 0x10]
test esi, esi
jns 0x68ea6e
mov dword [ebx + 0xc], 0x67
test ebp, ebp
jle 0x68eaa8
test esi, esi
jne 0x68eaa8
lea eax, [esi - 2]
jmp 0x68eaaf
mov eax, dword [ebx]
mov ecx, ebx
push 1
or esi, 0xffffffff
call dword [eax + 0x10]
mov ebp, dword [esp + 0x10]
jmp 0x68ea67
push 0
push dword [esp + 0x144]
push eax
push dword [esp + 0x144]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
jmp 0x68ea56
or eax, 0xffffffff
jmp 0x68eaaf
mov eax, esi
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x124
ret 0xc
Function at 0x695a30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x40]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
shl eax, 3
movzx edx, byte [ebp]
push edi
mov dword [esp + 0x10], 7
lea ecx, [edx + 3]
add edx, edx
add ecx, ecx
xor eax, dword [esi + ecx*8]
xor ebx, dword [esi + ecx*8 + 4]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
shl eax, 3
xor eax, dword [esi + edx*8 + 0x38]
xor ecx, dword [esi + edx*8 + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
nop
mov bl, byte [ebp]
movzx ecx, byte [ebp]
shr bl, 3
dec bl
shl ecx, 4
and bl, 1
shl bl, 3
movzx eax, bl
mov dword [esp + 0x24], eax
add eax, eax
lea edi, [esi + eax*8]
lea eax, [edi + 0x40]
push eax
lea eax, [esi + 0x40]
add eax, ecx
push eax
lea eax, [esi + 0x30]
add eax, ecx
push eax
call fcn.00696ba0
movzx ecx, byte [ebp]
lea eax, [edi + 0x30]
push eax
shl ecx, 4
lea eax, [esi + 0x30]
add eax, ecx
push eax
lea eax, [esi + 0x20]
add eax, ecx
push eax
call fcn.00696ba0
movzx ecx, byte [ebp]
lea eax, [edi + 0x20]
push eax
shl ecx, 4
lea eax, [esi + 0x20]
add eax, ecx
push eax
lea eax, [esi + 0x10]
add eax, ecx
push eax
call fcn.00696ba0
movzx ecx, byte [ebp]
lea eax, [edi + 0x10]
shl ecx, 4
add ecx, esi
push eax
lea eax, [ecx + 0x10]
push eax
push ecx
call fcn.00696ba0
movzx edx, byte [ebp]
mov ecx, dword [esp + 0x44]
shl edx, 4
add edx, esi
push edi
mov eax, dword [edx + 4]
xor eax, dword [esp + 0x4c]
xor ecx, dword [edx]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0xc]
xor eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
xor ecx, dword [edx + 8]
push eax
lea eax, [edx + 0x40]
mov dword [esp + 0x68], ecx
push eax
call fcn.00696ba0
add esp, 0x3c
mov byte [ebp], bl
sub dword [esp + 0x10], 1
jne 0x695a90
mov ecx, dword [esp + 0x24]
mov edx, ecx
shl edx, 4
add edx, esi
lea eax, [ecx + 2]
add eax, eax
mov ecx, dword [esi + eax*8]
xor ecx, dword [edx + 0x10]
mov eax, dword [esi + eax*8 + 4]
xor eax, dword [edx + 0x14]
xor dword [edx], ecx
xor dword [edx + 4], eax
movzx edx, byte [ebp]
shl edx, 4
add edx, esi
mov ecx, dword [edx + 0x28]
xor ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x2c]
xor eax, dword [edx + 0x1c]
xor dword [edx + 8], ecx
xor dword [edx + 0xc], eax
movzx ecx, byte [ebp]
mov edi, ecx
shl edi, 4
add edi, esi
lea eax, [ecx + 4]
add eax, eax
lea edx, [ecx + 3]
add edx, edx
mov ecx, dword [esi + eax*8]
xor ecx, dword [esi + edx*8]
mov eax, dword [esi + eax*8 + 4]
xor eax, dword [esi + edx*8 + 4]
xor dword [edi], ecx
xor dword [edi + 4], eax
movzx edx, byte [ebp]
shl edx, 4
add edx, esi
pop edi
pop esi
pop ebp
mov ecx, dword [edx + 0x48]
xor ecx, dword [edx + 0x38]
mov eax, dword [edx + 0x4c]
xor eax, dword [edx + 0x3c]
xor dword [edx + 8], ecx
mov ecx, dword [esp + 0x2c]
xor dword [edx + 0xc], eax
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x2c
ret
Function at 0x696670
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
mov bl, byte [edi]
movzx eax, byte [edi]
shr bl, 3
dec bl
and bl, 1
lea ecx, [eax + 4]
shl bl, 3
add eax, 3
movzx edx, bl
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 4]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 3]
add eax, 2
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 3]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 2]
inc eax
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 2]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
add edx, edx
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
aesenc xmm0, xmmword [esi + eax*8 + 0x10]
movups xmmword [esi + edx*8 + 0x10], xmm0
movzx ecx, byte [edi]
mov eax, ecx
add eax, eax
movups xmm1, xmmword [esi + eax*8]
mov eax, dword [esp + 0x14]
pxor xmm1, xmmword [eax]
lea eax, [ecx + 4]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
aesenc xmm0, xmm1
movups xmmword [esi + edx*8], xmm0
mov byte [edi], bl
pop edi
pop esi
pop ebx
ret
Function at 0x696830
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
lea eax, [edi + 0xf]
mov dword [esp + 0x24], 0
shr eax, 4
and edi, 0xf
mov dword [ebp + 0x10], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
test eax, eax
je 0x6969ba
xor ecx, ecx
add eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x696981
mov edi, dword [esp + 0x14]
mov ecx, edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
nop dword [eax + eax]
movups xmm1, xmmword [ecx]
mov cl, byte [edi]
movzx eax, byte [edi]
shr cl, 3
dec cl
and cl, 1
shl cl, 3
movzx edx, cl
mov byte [esp + 0xb], cl
lea ecx, [eax + 4]
add eax, 3
add ecx, ecx
add eax, eax
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 4]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 3]
add eax, 2
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 3]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
lea ecx, [eax + 2]
inc eax
add eax, eax
add ecx, ecx
movups xmm0, xmmword [esi + eax*8]
lea eax, [edx + 2]
aesenc xmm0, xmmword [esi + ecx*8]
add eax, eax
add edx, edx
movups xmmword [esi + eax*8], xmm0
movzx eax, byte [edi]
add eax, eax
movups xmm0, xmmword [esi + eax*8]
aesenc xmm0, xmmword [esi + eax*8 + 0x10]
movups xmmword [esi + edx*8 + 0x10], xmm0
movzx ecx, byte [edi]
mov eax, ecx
add eax, eax
pxor xmm1, xmmword [esi + eax*8]
lea eax, [ecx + 4]
mov ecx, dword [esp + 0xc]
add eax, eax
add ecx, 0x10
sub dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
movups xmm0, xmmword [esi + eax*8]
mov al, byte [esp + 0xb]
aesenc xmm0, xmm1
movups xmmword [esi + edx*8], xmm0
mov byte [edi], al
jne 0x6968b0
mov edi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add ecx, ecx
lea eax, [edx + ecx*8]
test edi, edi
je 0x6969a0
push edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.006f3c10
movups xmm0, xmmword [esp + 0x2c]
add esp, 0xc
jmp 0x6969a3
movups xmm0, xmmword [eax]
push dword [esp + 0x14]
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x24], xmm0
push eax
push esi
call fcn.00696670
add esp, 0xc
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.006dd760
mov esp, ebp
pop ebp
ret
Function at 0x6969d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x1c], ebx
lea eax, [ebp + 0xf]
mov dword [esp + 0x24], ecx
shr eax, 4
and ebp, 0xf
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], ebp
test eax, eax
je 0x696b8d
push esi
xor esi, esi
add eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x696b4c
mov dword [esp + 0x14], ecx
mov ebp, edi
mov dword [esp + 0x24], eax
mov esi, ebx
nop
mov al, byte [ebp]
movups xmm1, xmmword [ecx]
movzx ecx, byte [ebp]
shr al, 3
dec al
shl ecx, 4
and al, 1
shl al, 3
movzx ebx, al
shl ebx, 4
mov byte [esp + 0x13], al
add ebx, esi
movups xmmword [esp + 0x2c], xmm1
lea eax, [ebx + 0x40]
push eax
lea eax, [esi + 0x40]
add eax, ecx
push eax
lea eax, [esi + 0x30]
add eax, ecx
push eax
call fcn.00696ba0
movzx ecx, byte [ebp]
lea eax, [ebx + 0x30]
push eax
shl ecx, 4
lea eax, [esi + 0x30]
add eax, ecx
push eax
lea eax, [esi + 0x20]
add eax, ecx
push eax
call fcn.00696ba0
movzx ecx, byte [ebp]
lea eax, [ebx + 0x20]
push eax
shl ecx, 4
lea eax, [esi + 0x20]
add eax, ecx
push eax
lea eax, [esi + 0x10]
add eax, ecx
push eax
call fcn.00696ba0
movzx ecx, byte [ebp]
lea eax, [ebx + 0x10]
shl ecx, 4
add ecx, esi
push eax
lea eax, [ecx + 0x10]
push eax
push ecx
call fcn.00696ba0
movzx edi, byte [ebp]
movaps xmm0, xmm1
shl edi, 4
add edi, esi
psrldq xmm0, 4
movd eax, xmm0
movaps xmm0, xmm1
movd edx, xmm1
psrldq xmm1, 0xc
mov ecx, dword [edi + 4]
xor edx, dword [edi]
xor ecx, eax
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0xc]
movd eax, xmm1
mov dword [esp + 0x6c], edx
psrldq xmm0, 8
xor ecx, eax
movd edx, xmm0
push ebx
lea eax, [esp + 0x70]
mov dword [esp + 0x7c], ecx
xor edx, dword [edi + 8]
push eax
lea eax, [edi + 0x40]
mov dword [esp + 0x7c], edx
push eax
call fcn.00696ba0
mov ecx, dword [esp + 0x50]
add esp, 0x3c
mov al, byte [esp + 0x13]
add ecx, 0x10
sub dword [esp + 0x18], 1
mov byte [ebp], al
mov dword [esp + 0x14], ecx
jne 0x696a30
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
shl esi, 4
add esi, ecx
test ebp, ebp
je 0x696b75
push ebp
xorps xmm0, xmm0
lea eax, [esp + 0x30]
push esi
push eax
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
call fcn.006f3c10
add esp, 0xc
jmp 0x696b7d
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x2c], xmm0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
call fcn.00696730
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x48]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.006dd760
add esp, 0x40
ret
Function at 0x698400
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0x10]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
movd xmm0, ebx
pshufd xmm3, xmm0, 0
test edx, edx
je 0x6984c0
push ebp
cmp edx, 4
jb 0x69849a
lea eax, [edx - 1]
lea eax, [edi + eax*4]
lea ebp, [edx - 1]
lea ebp, [esi + ebp*4]
cmp esi, eax
ja 0x698440
cmp ebp, edi
jae 0x69849a
mov ebp, edx
mov ebx, esi
and ebp, 0xfffffffc
mov eax, edi
sub ebx, edi
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [esi + eax]
add ecx, 4
lea eax, [eax + 0x10]
movups xmm2, xmmword [eax - 0x10]
pxor xmm2, xmm0
movaps xmm1, xmm2
pand xmm1, xmm3
pxor xmm1, xmm0
movups xmmword [esi + eax - 0x10], xmm1
pxor xmm1, xmm2
movups xmmword [eax - 0x10], xmm1
cmp ecx, ebp
jb 0x698460
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
cmp ecx, edx
jae 0x6984bf
sub esi, edi
lea eax, [edi + ecx*4]
sub edx, ecx
mov ecx, dword [eax + esi]
lea eax, [eax + 4]
xor dword [eax - 4], ecx
mov ecx, dword [eax - 4]
and ecx, ebx
xor dword [eax + esi - 4], ecx
mov ecx, dword [eax + esi - 4]
xor dword [eax - 4], ecx
sub edx, 1
jne 0x6984a1
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x69b910
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, 0xaaaaaaab
mul ebp
mov ecx, ebp
shr edx, 1
push esi
lea eax, [edx + edx*2]
sub ecx, eax
lea esi, [edx*4]
mov dword [esp + 0xc], esi
sub ecx, 1
je 0x69b93f
sub ecx, 1
jne 0x69b946
inc esi
add esi, 2
mov dword [esp + 0xc], esi
cmp dword [esp + 0x18], esi
ja 0x69b955
pop esi
or eax, 0xffffffff
pop ebp
add esp, 8
ret
push ebx
xor eax, eax
xor esi, esi
push edi
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x69baa6
mov edx, dword [esp + 0x24]
nop dword [eax + eax]
movzx ecx, byte [edx]
add esi, 8
shl eax, 8
inc edx
dec ebp
mov dword [esp + 0x24], edx
add eax, ecx
cmp esi, 6
jb 0x69ba24
nop word [eax + eax]
sub esi, 6
mov edx, eax
mov ecx, esi
shr edx, cl
and edx, 0x3f
mov dword [esp + 0x28], edx
lea ecx, [edx - 0x1a]
lea ebx, [edx - 0x34]
shr ecx, 8
xor edx, 0x3e
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
neg edx
shr edx, 8
xor ecx, 0x3f
not dl
shr ebx, 8
neg ecx
and dl, 0xfb
shr ecx, 8
not cl
or dl, cl
mov ecx, dword [esp + 0x28]
and edx, 0xffffff2f
mov dword [esp + 0x20], edx
lea edx, [ecx - 0x3e]
sub cl, 4
shr edx, 8
and dl, cl
mov cl, bl
not cl
and dl, cl
mov cl, byte [esp + 0x10]
or byte [esp + 0x20], dl
not cl
mov dl, byte [esp + 0x28]
add dl, 0x47
and dl, cl
mov ecx, dword [esp + 0x20]
and dl, bl
or cl, dl
mov edx, dword [esp + 0x28]
add dl, 0x41
and dl, byte [esp + 0x10]
or cl, dl
mov byte [edi], cl
inc edi
cmp esi, 6
jae 0x69b990
mov edx, dword [esp + 0x24]
test ebp, ebp
jne 0x69b970
test esi, esi
je 0x69baa6
mov ecx, 6
sub ecx, esi
shl eax, cl
and eax, 0x3f
mov edx, eax
xor edx, 0x3e
neg edx
lea ecx, [eax - 0x1a]
shr edx, 8
shr ecx, 8
lea ebx, [eax - 0x34]
mov dword [esp + 0x20], ecx
not dl
mov ecx, eax
shr ebx, 8
xor ecx, 0x3f
and dl, 0xfb
neg ecx
shr ecx, 8
not cl
or dl, cl
lea ecx, [eax - 4]
and edx, 0xffffff2f
mov dword [esp + 0x28], edx
lea edx, [eax - 0x3e]
shr edx, 8
and dl, cl
mov cl, bl
not cl
and dl, cl
mov cl, byte [esp + 0x20]
or byte [esp + 0x28], dl
not cl
lea edx, [eax + 0x47]
add al, 0x41
and al, byte [esp + 0x20]
and dl, cl
mov ecx, dword [esp + 0x28]
and dl, bl
or cl, dl
or cl, al
mov byte [edi], cl
inc edi
mov eax, dword [esp + 0x14]
mov byte [edi], 0
pop edi
pop ebx
pop esi
pop ebp
add esp, 8
ret
Function at 0x69bbb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x814
mov eax, dword [0x76e964]
xor eax, esp
mov dword [esp + 0x810], eax
mov eax, dword [esp + 0x818]
mov edx, dword [esp + 0x81c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
test eax, eax
je 0x69bda8
test edx, edx
je 0x69bda8
push ebx
mov ebx, dword [edx + 0x14]
mov ecx, 0x100
push ebp
mov ebp, dword [edx]
mov eax, ebx
push esi
shl eax, 0xa
push edi
lea esi, [ebp - 0x400]
mov dword [esp + 0x10], eax
add esi, eax
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [edx + 0x18]
cmp edi, 1
jbe 0x69bcf4
mov eax, ebx
imul ecx, ebx, 0xfffffc00
mov ebx, dword [esp + 0x10]
lea esi, [esp + 0x430]
shl eax, 0xb
lea edx, [ebp - 8]
sub esi, eax
add edx, eax
sub esi, ebp
dec edi
mov dword [esp + 0x14], ecx
nop
lea ecx, [esp + 0x20]
xor eax, eax
cmp ecx, edx
ja 0x69bc80
lea ecx, [edx - 0x3f8]
lea ebp, [esp + 0x418]
cmp ebp, ecx
jb 0x69bc80
nop dword [eax + eax]
mov ecx, dword [edx + eax*8 - 0x3f8]
xor dword [esp + eax*8 + 0x20], ecx
mov ecx, dword [edx + eax*8 - 0x3f4]
xor dword [esp + eax*8 + 0x24], ecx
inc eax
cmp eax, 0x80
jl 0x69bc60
jmp 0x69bce5
lea ecx, [edx - 0x3d8]
nop word [eax + eax]
movups xmm0, xmmword [esp + eax*8 + 0x20]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x60]
pxor xmm1, xmm0
movups xmmword [esp + eax*8 + 0x20], xmm1
movups xmm0, xmmword [esp + eax*8 + 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [esp + eax*8 + 0x30], xmm1
add eax, 8
movups xmm1, xmmword [ecx + esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx + esi - 0x50], xmm1
movups xmm0, xmmword [ecx + esi - 0x40]
movups xmm1, xmmword [ecx - 0x30]
pxor xmm1, xmm0
movups xmmword [ecx + esi - 0x40], xmm1
cmp eax, 0x80
jl 0x69bc90
add esi, dword [esp + 0x14]
add edx, ebx
sub edi, 1
jne 0x69bc40
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x420]
push 0x400
push eax
mov ecx, 0x100
lea esi, [esp + 0x28]
push dword [ebx + 4]
lea edi, [esp + 0x42c]
push dword [ebx]
rep movsd dword es:[edi], dword [esi]
call fcn.006a0e30
mov edi, dword [0x76d360]
add esp, 0x10
test edi, edi
je 0x69bd5d
mov ecx, 0x400
lea eax, [esp + 0x20]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x69bd37
test edi, edi
je 0x69bd5d
mov ecx, 0x400
lea eax, [esp + 0x420]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x69bd52
mov edx, dword [esp + 0x1c]
mov esi, dword [edx]
mov edx, dword [edx + 0xc]
shl edx, 0xa
test edi, edi
je 0x69bd8b
test esi, esi
je 0x69bd8b
mov ecx, edx
mov eax, esi
test edx, edx
je 0x69bd8b
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x69bd80
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x69bd9b
push edx
push esi
call eax
add esp, 8
jmp 0x69bda4
push esi
call fcn.0060e50c
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.006dd760
add esp, 0x814
ret