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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, ecx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x84]
lea ebx, [eax + 0x5c]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x8c]
mov dword [ebp - 4], eax
call fcn.0060617c
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and esi, 1
add esi, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, edi
and ecx, 1
or esi, ecx
shl esi, 8
cmp byte [eax + 0x88], 2
je 0x62ff94
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x759794]
movss dword [esp + 4], xmm0
movss dword [ebp - 0x14], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x759794]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
mov eax, dword [ebp - 4]
add esp, 0x10
movss xmm1, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x18]
movss dword [ebp + 0xc], xmm1
cmp byte [eax + 0x88], 1
movss dword [ebp + 8], xmm2
jne 0x62ff1d
movss xmm0, dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.005f3b08
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x7b179c]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x7b179c]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x62ff30
movss xmm0, dword [ebx]
movss dword [ebp - 4], xmm0
movss xmm0, dword [ebx + 0xc]
movss dword [ebp - 8], xmm0
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x630025
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.0062f861
movss xmm1, dword [ebp + 0xc]
add eax, esi
movss xmm0, dword [ebp - 4]
xor esi, 0x100
movss xmm2, dword [ebp + 8]
addss xmm0, xmm1
addss xmm2, dword [ebp - 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
movaps xmm1, xmm0
movss dword [ebp + 0xc], xmm0
movss dword [ebp + 8], xmm2
mov eax, dword [ecx + eax*4]
mov dword [ebx], eax
add ebx, 4
dec edi
test edi, edi
jg 0x62ff3e
jmp 0x630025
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x630025
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0xc], eax
addss xmm0, dword [0x759794]
movss dword [ebp + 8], xmm0
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x759794]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x1c]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp], xmm0
call fcn.0062f861
movss xmm0, dword [ebp + 8]
add eax, esi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor esi, 0x100
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
add ecx, 4
inc edi
mov dword [ebp + 0xc], ecx
cmp edi, dword [ebp + 0x14]
jl 0x62ffbf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x639ce1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
jne 0x639d1a
call fcn.005d678c
pop ecx
cmp eax, 0xffffffff
jne 0x639cfc
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
call fcn.005d6193
add esp, 0xc
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
pop ebp
ret
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.005d5caf
add esp, 0x10
pop ebp
ret

Function at 0x639d8d
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
call fcn.005e28dc
mov esi, eax
pop ecx
cmp esi, 0xffffffff
jne 0x639da7
xor eax, eax
jmp 0x639e07
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x639da3
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00639d6b
pop ecx
pop ecx
test al, al
jne 0x639da3
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x639dfa
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x639dfa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x639dfc
mov edi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x64717e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov ecx, dword [eax + 0x28]
imul ecx, dword [ebp + 0xc]
movsx esi, word [ebx]
push edi
mov dword [ebp + 0xc], esi
add ecx, dword [eax + 8]
mov eax, dword [ebp + 8]
lea edi, [ecx + eax*4]
test esi, esi
jle 0x647245
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x647226
cmp eax, 0xff
jne 0x6471cc
push esi
push 0xff000000
push edi
call fcn.00613990
add esp, 0xc
jmp 0x647226
mov ecx, eax
mov dword [ebp - 4], esi
shl ecx, 0x18
mov dword [ebp - 8], ecx
mov ecx, 0x100
sub ecx, eax
mov eax, 0xff00ff
mov dword [ebp + 8], ecx
mov ebx, ecx
dec esi
mov ecx, dword [edi + esi*4]
mov edx, ecx
and edx, eax
mov eax, ecx
imul edx, ebx
shr eax, 8
and eax, 0xffff00ff
shr ecx, 8
imul eax, ebx
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
imul ecx, ebx
xor edx, ecx
add edx, dword [ebp - 8]
mov dword [edi + esi*4], edx
test esi, esi
jg 0x6471e8
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
lea ebx, [ebx + esi*2]
add eax, esi
mov dword [ebp + 0x14], ebx
lea edi, [edi + esi*4]
mov dword [ebp + 0x10], eax
movsx esi, word [ebx]
mov dword [ebp + 0xc], esi
test esi, esi
jg 0x6471ad
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x647a56
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov dl, byte [ebp + 0x14]
push esi
mov esi, ecx
test dl, dl
je 0x647b24
cmp dword [esi + 0x20], 0
je 0x647b24
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, dword [esi + 0xc]
mov ebx, 0xff
mov esi, dword [esi + 0x14]
mov ecx, dword [edi + 0x28]
imul ecx, dword [ebp + 0xc]
add ecx, dword [edi + 8]
lea ecx, [ecx + eax*4]
mov dword [ebp + 0x14], ecx
cmp dl, bl
je 0x647aca
mov ecx, esi
movzx edx, dl
mov eax, esi
and ecx, 0xff00ff
inc edx
shr eax, 8
imul ecx, edx
and eax, 0xffff00ff
imul eax, edx
shr esi, 8
shr ecx, 8
xor ecx, eax
mov eax, 0xff00ff
and esi, eax
and ecx, eax
imul esi, edx
xor esi, ecx
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 0x18
sub ebx, eax
mov eax, dword [edi + 0x28]
mov edi, dword [ebp + 0x10]
sub edi, 1
mov dword [ebp + 0xc], eax
js 0x647b22
mov eax, 0xff00ff
mov ecx, dword [ecx]
mov edx, ecx
and edx, eax
mov eax, ecx
imul edx, ebx
shr eax, 8
and eax, 0xffff00ff
shr ecx, 8
imul eax, ebx
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
imul ecx, ebx
xor edx, ecx
mov ecx, dword [ebp + 0x14]
add edx, esi
mov dword [ecx], edx
add ecx, dword [ebp + 0xc]
sub edi, 1
mov dword [ebp + 0x14], ecx
jns 0x647ae4
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x648298
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
sar ebx, 3
sub eax, edi
mov dword [ebp + 8], eax
movzx ecx, word [eax + edi]
movzx eax, word [edi]
mov esi, ecx
mov edx, eax
and esi, 0x7e0
shl esi, 0x10
and edx, 0x7e0
or esi, ecx
shl edx, 0x10
or edx, eax
and esi, 0xfffff81f
and edx, 0xfffff81f
sub esi, edx
imul esi, ebx
shr esi, 5
add esi, edx
mov eax, esi
shr eax, 0x10
xor eax, esi
and eax, 0x7e0
xor eax, esi
mov word [edi], ax
lea edi, [edi + 2]
mov eax, dword [ebp + 0x14]
dec eax
mov dword [ebp + 0x14], eax
test eax, eax
mov eax, dword [ebp + 8]
jg 0x6482af
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x648b59
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, ecx
and edx, 0xffffff00
movzx eax, cl
shl edx, 0xe
or edx, eax
mov eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
shr eax, 3
mov esi, 0x100
shr ecx, 0x18
and eax, 0x1fe000
shl edx, 2
sub esi, ecx
push edi
mov edi, dword [ebp + 0xc]
or edx, eax
shr esi, 3
movzx eax, word [edi]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, esi
add ecx, edx
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [edi], ax
lea edi, [edi + 2]
sub ebx, 1
jne 0x648b94
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x648d35
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ecx + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
imul edx, dword [ebp + 0xc]
add edx, dword [eax + 8]
mov eax, dword [ebp + 8]
lea esi, [edx + eax*2]
mov eax, dword [ecx + 0x14]
movsx edx, word [edi]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp + 0xc], eax
test edx, edx
jle 0x648deb
push ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, byte [ebx]
lea edi, [edi + edx*2]
add ebx, edx
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x10], ebx
lea eax, [edx + edx]
test ecx, ecx
je 0x648de1
lea eax, [ecx + 1]
imul eax, dword [ebp + 0xc]
push 0x20
shr eax, 0xb
mov ecx, eax
imul ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 4]
pop ecx
sub ecx, eax
mov dword [ebp - 8], ecx
mov edi, ecx
movzx eax, word [esi]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, edi
add ecx, ebx
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [esi], ax
add esi, 2
sub edx, 1
jne 0x648da2
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
jmp 0x648de3
add esi, eax
movsx edx, word [edi]
test edx, edx
jg 0x648d6d
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x648df3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ecx + 0xc]
push ebx
push esi
push edi
mov edx, dword [eax + 0x28]
imul edx, dword [ebp + 0xc]
movzx edi, word [ecx + 0x1e]
mov dword [ebp - 8], edi
add edx, dword [eax + 8]
mov eax, dword [ebp + 8]
lea ebx, [edx + eax*2]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xc], edx
mov dl, byte [ecx + 0x22]
movzx ecx, word [ecx + 0x20]
mov byte [ebp + 0xb], dl
xor edx, edx
cmp byte [ebp + 0xb], dl
mov dword [ebp - 4], ecx
setne dl
xor eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
test edx, eax
je 0x648e49
movzx eax, cx
movzx ecx, di
mov edi, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov edx, dword [ebp + 0x14]
jmp 0x648f08
mov eax, dword [ebp + 0x10]
lea edx, [edx + esi*2]
add dword [ebp + 0x10], esi
mov dword [ebp + 0x14], edx
movzx eax, byte [eax]
test eax, eax
je 0x648e8c
cmp eax, 0xff
jne 0x648ea7
cmp byte [ebp + 0xb], 0
push esi
je 0x648e7f
push ecx
push edi
push ebx
call fcn.00649a58
add esp, 0x10
jmp 0x648e89
push edi
push ebx
call fcn.006138b1
add esp, 0xc
mov edx, dword [ebp + 0x14]
lea ebx, [ebx + esi*2]
test dword [ebp - 0x18], esi
je 0x648f05
mov eax, dword [ebp - 4]
movzx eax, ax
movzx ecx, di
mov edi, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
jmp 0x648f08
inc eax
mov edi, esi
shr eax, 3
mov ecx, eax
imul ecx, dword [ebp - 0xc]
push 0x20
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
pop ecx
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov esi, ecx
movzx eax, word [ebx]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, esi
add ecx, edx
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [ebx], ax
add ebx, 2
sub edi, 1
jne 0x648ec3
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
jmp 0x648e8f
mov ecx, dword [ebp - 4]
movsx esi, word [edx]
mov dword [ebp + 0xc], esi
test esi, esi
jg 0x648e51
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x649486
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x18], 0
jne 0x6494ba
movzx eax, word [edi + 0x1c]
push eax
mov eax, 0x100
sub eax, dword [edi + 0x18]
push eax
push dword [ebp + 0xc]
push ecx
push dword [edi + 0xc]
call fcn.006486bb
add esp, 0x14
jmp 0x64957f
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [edi + 0xc]
mov ecx, dword [edx]
mov eax, dword [esi + 0x28]
imul eax, dword [edx + 4]
lea eax, [eax + ecx*2]
add eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp + 0xc], ebx
mov ebx, dword [edx + 4]
sub ebx, dword [eax + 8]
imul ebx, dword [ebp + 0xc]
sub ebx, dword [eax + 4]
add ebx, dword [eax]
mov eax, dword [edx + 8]
add ebx, ecx
sub eax, ecx
mov ecx, dword [edx + 0xc]
sub ecx, dword [edx + 4]
mov edx, dword [edi + 0x18]
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x28]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 4], eax
add eax, eax
sub ecx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
sub dword [ebp + 0xc], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x10], ecx
mov edi, eax
movzx ecx, byte [ebx]
inc ebx
movzx eax, word [esi]
inc ecx
imul ecx, edx
mov edx, eax
and edx, 0x7e0
shl edx, 0x10
or edx, eax
and edx, 0xfffff81f
shr ecx, 0xb
push 0x20
pop eax
sub eax, ecx
imul ecx, dword [ebp - 0x10]
imul edx, eax
add edx, ecx
shr edx, 5
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, 0x7e0
xor eax, edx
mov edx, dword [ebp - 8]
mov word [esi], ax
add esi, 2
sub edi, 1
jne 0x649520
add esi, dword [ebp - 0x14]
add ebx, dword [ebp + 0xc]
sub dword [ebp + 8], 1
mov eax, dword [ebp - 4]
jne 0x64951e
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x649586
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp dword [edx + 0x18], 0
jne 0x6495b1
movzx eax, word [ecx + 0x1c]
push eax
push dword [ebp + 0xc]
push edx
push dword [ecx + 0xc]
call fcn.0064889c
add esp, 0x10
jmp 0x649665
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ecx + 0xc]
mov ecx, dword [edx]
push edi
mov eax, dword [esi + 0x28]
imul eax, dword [edx + 4]
lea ebx, [eax + ecx*2]
mov eax, dword [ebp + 8]
add ebx, dword [esi + 8]
mov edi, dword [eax + 0x14]
mov dword [ebp + 0xc], edi
mov edi, dword [edx + 4]
sub edi, dword [eax + 8]
imul edi, dword [ebp + 0xc]
sub edi, dword [eax + 4]
add edi, dword [eax]
mov eax, dword [edx + 8]
add edi, ecx
sub eax, ecx
mov ecx, dword [edx + 0xc]
sub ecx, dword [edx + 4]
mov dword [ebp - 4], eax
add eax, eax
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x28]
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
sub dword [ebp + 0xc], ecx
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
mov esi, ecx
movzx eax, word [ebx]
movzx edx, byte [edi]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
mov eax, dword [ebp - 8]
and ecx, 0xfffff81f
inc edx
sub eax, ecx
shr edx, 3
imul edx, eax
shr edx, 5
add edx, ecx
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, 0x7e0
xor eax, edx
inc edi
mov word [ebx], ax
add ebx, 2
sub esi, 1
jne 0x64960f
add ebx, dword [ebp - 0xc]
add edi, dword [ebp + 0xc]
sub dword [ebp + 8], 1
mov ecx, dword [ebp - 4]
jne 0x64960d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x6496b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ecx + 0xc]
push ebx
movzx ebx, word [ecx + 0x1c]
push esi
mov eax, dword [edx + 0x28]
imul eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
add eax, dword [edx + 8]
cmp byte [ecx + 0x22], 0
lea edi, [eax + esi*2]
mov eax, dword [edx + 0x28]
mov dword [ebp - 8], eax
je 0x649720
movzx ecx, word [ecx + 0x20]
mov eax, esi
xor eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test al, 1
je 0x6496f5
movzx eax, cx
mov ecx, ebx
mov dword [ebp - 4], ecx
mov ebx, eax
mov esi, dword [ebp + 0x14]
jmp 0x649719
push dword [ebp + 0x10]
push ecx
push ebx
push edi
call fcn.00649a58
mov eax, dword [ebp - 4]
add esp, 0x10
add edi, dword [ebp - 8]
movzx ecx, bx
movzx eax, ax
mov dword [ebp - 4], ecx
mov ebx, eax
sub esi, 1
jns 0x6496fa
jmp 0x64973a
mov esi, dword [ebp + 0x14]
jmp 0x649735
push dword [ebp + 0x10]
push ebx
push edi
call fcn.006138b1
add esp, 0xc
add edi, dword [ebp - 8]
sub esi, 1
jns 0x649725
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x64991f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 0xc]
push edi
mov edi, dword [ecx + 0x14]
push 0x20
mov edx, dword [esi + 0x28]
imul edx, dword [ebp + 0xc]
pop ebx
add edx, dword [esi + 8]
lea edx, [edx + eax*2]
mov eax, dword [esi + 0x28]
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
movzx eax, byte [ebp + 0x14]
inc eax
imul eax, dword [ecx + 0x18]
shr eax, 0xb
imul edi, eax
sub ebx, eax
movzx eax, word [edx]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, ebx
add ecx, edi
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [edx], ax
add edx, dword [ebp + 0xc]
sub esi, 1
jne 0x649958
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x649996
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 0xc]
push edi
mov edi, dword [ecx + 0x14]
push 0x20
mov edx, dword [esi + 0x28]
imul edx, dword [ebp + 0xc]
pop ebx
add edx, dword [esi + 8]
lea edx, [edx + eax*2]
mov eax, dword [esi + 0x28]
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
movzx eax, byte [ebp + 0x14]
inc eax
shr eax, 3
imul edi, eax
sub ebx, eax
movzx eax, word [edx]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, ebx
add ecx, edi
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [edx], ax
add edx, dword [ebp + 0xc]
sub esi, 1
jne 0x6499cb
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x6668ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.0066688b
movss xmm0, dword [ebp + 0x14]
xor ecx, ecx
movss xmm1, dword [0x759798]
addss xmm0, xmm0
mov al, byte [ebp + 0x18]
movaps xmm3, xmm1
mov byte [esi + 0x164], al
xorps xmm2, xmm2
mov eax, dword [esi + 0xfc]
mov dword [esi], vtable.GrConvolutionEffect.0
mulss xmm0, dword [ebp + 0x14]
mov dword [ebp + 0x14], ecx
lea edi, [eax*2 + 1]
movss dword [ebp + 0x18], xmm2
divss xmm3, xmm0
movss dword [ebp + 8], xmm3
test edi, edi
jle 0x6669c9
lea eax, [esi + 0x100]
mov dword [ebp + 0x10], eax
mov eax, ecx
sub eax, dword [esi + 0xfc]
push ecx
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm0
mulss xmm0, xmm3
xorps xmm0, xmmword [0x7597b0]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00731f00
mov eax, dword [ebp + 0x10]
movss xmm2, dword [ebp + 0x18]
movss xmm3, dword [ebp + 8]
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
addss xmm2, xmm0
inc ecx
movss dword [eax], xmm0
add eax, 4
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
movss dword [ebp + 0x18], xmm2
cmp ecx, edi
jl 0x66695e
movss xmm1, dword [0x759798]
divss xmm1, xmm2
test edi, edi
jle 0x6669eb
lea eax, [esi + 0x100]
movss xmm0, dword [eax]
mulss xmm0, xmm1
movss dword [eax], xmm0
lea eax, [eax + 4]
sub edi, 1
jne 0x6669d7
push 8
push dword [ebp + 0x1c]
lea eax, [esi + 0x168]
push eax
call fcn.005c1780
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x667e2e
Capabilities:
Encode data using xor

Disassembly:
push 0xa8
mov eax, 0x752d28
call fcn.005f004f
movss xmm0, dword [ebp + 0x28]
xorps xmm2, xmm2
movss xmm1, dword [0x759798]
mulss xmm0, xmm0
movaps xmm3, xmm1
mov eax, dword [ebp + 8]
movaps xmm4, xmm1
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0xc]
addss xmm0, xmm0
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
movss dword [ebp - 0x7c], xmm2
mov ecx, dword [eax]
mov edi, dword [eax + 4]
mov eax, ecx
divss xmm3, xmm0
cdq
sub eax, edx
mov dword [ebp - 0x94], ecx
mov esi, eax
mov eax, edi
cdq
sub eax, edx
sar esi, 1
mov edx, eax
mov dword [ebp - 0xa8], edi
sar edx, 1
mov dword [ebp - 0x98], edx
movss xmm0, dword [ebp + 0x2c]
mulss xmm0, xmm0
movss dword [ebp - 0xa4], xmm3
addss xmm0, xmm0
divss xmm4, xmm0
movss dword [ebp - 0x84], xmm4
test ecx, ecx
jle 0x667fdb
neg esi
mov dword [ebp - 0x90], ecx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], eax
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm1
mulss xmm1, xmm3
movss dword [ebp - 0xa0], xmm1
test edi, edi
jle 0x667fae
mov ecx, edx
mov dword [ebp - 0x80], edi
neg ecx
mov esi, eax
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x78]
shl ecx, 2
mov dword [ebp - 0x9c], ecx
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push ecx
push ecx
mulss xmm0, xmm0
mulss xmm0, xmm4
addss xmm0, xmm1
xorps xmm0, xmmword [0x7597b0]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.00731f00
movss xmm2, dword [ebp - 0x7c]
inc edi
movss xmm1, dword [ebp - 0xa0]
movss xmm4, dword [ebp - 0x84]
fstp dword [ebp - 0x78]
movss xmm0, dword [ebp - 0x78]
addss xmm2, xmm0
movss dword [esi], xmm0
add esi, dword [ebp - 0x9c]
sub dword [ebp - 0x80], 1
pop ecx
pop ecx
movss dword [ebp - 0x7c], xmm2
jne 0x667f25
movss xmm3, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x98]
inc esi
add eax, 4
sub ecx, 1
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
jne 0x667ee8
movss xmm1, dword [0x759798]
mov ecx, dword [ebp - 0x94]
imul edi, ecx
xor esi, esi
divss xmm1, xmm2
mov eax, esi
test edi, edi
jle 0x667fff
movss xmm0, dword [ebp + eax*4 - 0x74]
mulss xmm0, xmm1
movss dword [ebp + eax*4 - 0x74], xmm0
inc eax
cmp eax, edi
jl 0x667fea
push 0x1a0
call fcn.0062a78e
pop ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x668056
push dword [ebp + 0x24]
movss xmm0, dword [ebp + 0x18]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
push ecx
movss dword [esp + 4], xmm0
lea ecx, [ebp - 0x74]
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
push ecx
push dword [ebp - 0xac]
mov ecx, eax
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
call fcn.00667c6d
mov esi, eax
mov eax, esi
call fcn.005f000a
ret