joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492395
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4923c3
cmp eax, edi
jge 0x4923b7
push esi
call fcn.0048efe0
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4923e6
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4923cc
mov dword [esi + 8], edx
jmp 0x4923fb
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4923f1
xor dl, dl
jmp 0x4923f6
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4923e6
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x492434
mov dword [0x6f5858], str.zlib_corrupt
xor eax, eax
jmp 0x492476
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x492449
mov dword [0x6f5858], str.read_past_buffer
jmp 0x492430
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x492460
push edi
push esi
call fcn.00494bef
pop ecx
pop ecx
test eax, eax
je 0x492430
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004a1e00
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x4deea1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dea94

Function at 0x4deeac
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dec1e

Function at 0x4ea275
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ea149

Function at 0x4ecba7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ec565

Function at 0x4f9925
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
lea ecx, [ebp + 0xc]
call fcn.004fed17
lea edx, [eax - 1]
cmp edx, 4
ja 0x4f9a51
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 1
jle 0x4f99f1
push edi
lea ecx, [ebp + 0xc]
call fcn.004fbd32
push eax
push ebx
call fcn.004f9af7
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.004fed43
push eax
push ebx
call fcn.004f9af7
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.004fa113
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.004f8ea2
test al, al
je 0x4f99e5
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x14]
call fcn.004fbd1f
push eax
push ebx
call fcn.004f9af7
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.004fed30
push eax
push ebx
call fcn.004f9af7
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov esi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
call fcn.004f8ea2
test al, al
jne 0x4f99a3
push edi
push 0
push ebx
call fcn.004f9af7
add esp, 0xc
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4f9a39
mov esi, dword [esi + 0x10]
jmp 0x4f9a32
lea ecx, [ebp - 4]
call fcn.004fed17
push edi
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
call fcn.004aed1f
mov ecx, dword [ebp - 0xc]
add esp, 0x10
push edi
push esi
push ebx
call fcn.004f9925
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.004fbdd7
mov esi, dword [eax]
mov dword [ebp - 4], esi
test esi, esi
jne 0x4f99fd
push edi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.004aed1f
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4f9a55
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x63cbff
call fcn.0049fb2f
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push 0xa
sub esp, 0xc
mov dword [esp + 8], 0x40100000
mov dword [esp + 4], 0x3e800000
mov dword [esp], 0x3f400000
push 0x11
call fcn.004f8a8c
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [edi]
mov ecx, edi
call fcn.004f9685
lea eax, [ebp - 0x50]
push eax
call fcn.004f97cd
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
push esi
inc ebx
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x6c6d7873
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
call fcn.004aed1f
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.004f9b6a
add esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, edi
push esi
push dword [edi]
push eax
call fcn.004f9925
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.004f950d
call fcn.0049fad9
ret 4

Function at 0x4f9af7
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x63cc26
call fcn.0049fafb
mov edi, dword [ebp + 8]
push dword [edi + 4]
call fcn.004fb337
and dword [ebp + 8], 0
mov ebx, eax
pop ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00402d30
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0
je 0x4f9b39
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004f935b
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push ebx
push 1
push eax
call fcn.004aed1f
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [esi - 0xc]
cmp ecx, dword [section..data]
je 0x4f9b5f
call fcn.00403370
call fcn.0049fac4
ret

Function at 0x4f9b6a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.004f92bd
mov edi, eax
test edi, edi
je 0x4f9ba7
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.004f9190
push dword [esi]
mov edi, eax
call fcn.004bd15f
push dword [ebp + 8]
inc eax
push eax
push 2
push dword [esi]
call fcn.004aed1f
add esp, 0x14
test edi, edi
jne 0x4f9b7d
pop esi
pop edi
pop ebp
ret
Function at 0x4fbc02
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x4fbc25
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x4fbcc2
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.004fb156
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4fbc48
push ebx
call fcn.004af315
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x4fbc9e
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x6e5180]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x4fbc73
call fcn.004af315
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x4fbc9e
push esi
push 1
push eax
call fcn.004aef85
push ebx
mov esi, eax
call fcn.004af315
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x4fbca7
push dword [ebp - 4]
call dword [0x6e5184]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x4fbcc1
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004fbb7a
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x502b03
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
shr eax, 0x10
xor eax, dword [ebp + 8]
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret

Function at 0x502b2b
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
shr edx, 2
xor esi, esi
test edx, edx
je 0x502b66
push edi
mov edi, dword [ebp + 8]
imul eax, dword [edi + esi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
imul ecx, eax, 5
sub ecx, 0x19ab949c
inc esi
cmp esi, edx
jb 0x502b42
pop edi
xor ecx, dword [ebp + 0xc]
push ecx
call fcn.00502b03
pop ecx
pop esi
pop ebp
ret

Function at 0x51e9fa
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jle 0x51ea6e
cmp dword [ebp + 0x14], 0
je 0x51ea1c
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051eaf2
jmp 0x51ea6e
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 0x14], eax
movzx esi, byte [eax + edi + 3]
mov ecx, dword [edi]
inc esi
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [edi], edx
lea edi, [edi + 4]
sub ebx, 1
jne 0x51ea29
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x51ea73
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x51eaed
cmp dword [ebp + 0x14], 0
je 0x51ea95
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0051eaf2
jmp 0x51eaed
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
sub eax, ebx
push esi
mov dword [ebp + 0x14], eax
movzx eax, byte [eax + ebx + 3]
mov esi, 0x100
mov ecx, dword [ebx]
sub esi, eax
mov edx, ecx
mov eax, ecx
and edx, 0xff00ff
shr eax, 8
imul edx, esi
and eax, 0xffff00ff
imul eax, esi
shr ecx, 8
shr edx, 8
xor edx, eax
mov eax, 0xff00ff
and ecx, eax
and edx, eax
mov eax, dword [ebp + 0x14]
imul ecx, esi
xor edx, ecx
mov dword [ebx], edx
lea ebx, [ebx + 4]
sub edi, 1
jne 0x51eaa2
pop esi
pop ebx
pop edi
pop ebp
ret 0x10

Function at 0x521188
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6e47f0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.0052120b
push 1
call fcn.004af1d4
push eax
call fcn.004ae3d1
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 0x800
push eax
call fcn.00521229
add esp, 0x20
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f7c1
leave
ret
Function at 0x541edd
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0x14
push esi
lea eax, [edi + 4]
push eax
call fcn.004a1e00
add esp, 0xc
xor edx, edx
push 5
pop ecx
add edx, dword [esi]
lea esi, [esi + 4]
imul edx, edx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
sub ecx, 1
jne 0x541efb
imul ecx, edx, 9
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
mov dword [edi], eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x54492d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0x5c]
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 8], eax
call fcn.00514c0c
movd xmm2, dword [ebp + 8]
lea ebx, [edi + 0x5c]
mov esi, dword [ebp + 8]
movd xmm0, dword [ebp + 0xc]
xor esi, dword [ebp + 0xc]
cvtdq2ps xmm2, xmm2
and esi, 1
mov dword [ebp - 0xc], eax
shl esi, 8
cmp byte [edi + 0x88], 2
cvtdq2ps xmm0, xmm0
movss dword [ebp + 8], xmm2
movss dword [ebp - 0x10], xmm0
je 0x544a4f
addss xmm0, dword [0x6567d8]
addss xmm2, dword [0x6567d8]
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push ebx
call dword [ebp - 4]
movss xmm0, dword [ebp - 0x1c]
add esp, 0x10
cmp byte [edi + 0x88], 1
movss xmm1, dword [0x678628]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp + 0xc], eax
jne 0x5449f7
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp + 8]
push 0
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.00522a0b
mov edi, dword [ebp + 8]
jmp 0x544a03
movss xmm0, dword [ebx]
mulss xmm0, xmm1
cvttss2si edi, xmm0
mov eax, edi
mov ecx, 0x544c9f
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jge 0x544a1b
mov ecx, 0x544cdb
jmp 0x544a37
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x58], 0
jne 0x544a2b
mov ecx, 0x544ac1
jmp 0x544a37
cmp dword [eax + 0x58], 2
mov edx, 0x544c5e
cmove ecx, edx
push dword [ebp + 0x14]
push esi
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push dword [ebp - 8]
call ecx
add esp, 0x1c
jmp 0x544aba
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push ebx
call dword [ebp - 4]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x678628]
cvttss2si eax, xmm0
push eax
call dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add esp, 0x14
movss xmm2, dword [ebp + 8]
addss xmm2, dword [0x65f160]
movss xmm0, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm2
mov ax, word [ecx + eax*2]
mov word [edi], ax
add edi, 2
sub dword [ebp + 0xc], 1
jne 0x544a58
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x544d14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x84]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0x5c]
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 8], eax
call fcn.00514c2a
mov esi, dword [ebp + 0xc]
lea edi, [ebx + 0x5c]
movd xmm2, dword [ebp + 8]
and esi, 1
mov ecx, dword [ebp + 8]
add esi, esi
movd xmm0, dword [ebp + 0xc]
and ecx, 1
cvtdq2ps xmm2, xmm2
or esi, ecx
mov dword [ebp - 0xc], eax
shl esi, 8
cmp byte [ebx + 0x88], 2
cvtdq2ps xmm0, xmm0
movss dword [ebp + 8], xmm2
movss dword [ebp - 0x10], xmm0
je 0x544e35
addss xmm0, dword [0x6567d8]
addss xmm2, dword [0x6567d8]
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push edi
call dword [ebp - 4]
movss xmm0, dword [ebp - 0x1c]
add esp, 0x10
cmp byte [ebx + 0x88], 1
movss xmm1, dword [0x678628]
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp + 0xc], eax
jne 0x544de5
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp + 8]
push 0
push eax
push ecx
mov ecx, edi
movss dword [esp], xmm0
call fcn.00522a0b
mov ecx, dword [ebp + 8]
jmp 0x544df1
movss xmm0, dword [edi]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
mov eax, 0x545064
test ecx, ecx
jne 0x544e01
mov eax, 0x54509e
jmp 0x544e1d
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x58], 0
jne 0x544e11
mov eax, 0x544ea5
jmp 0x544e1d
cmp dword [edx + 0x58], 2
mov edi, 0x545028
cmove eax, edi
push dword [ebp + 0x14]
push esi
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push dword [ebp - 8]
call eax
add esp, 0x1c
jmp 0x544e9e
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push edi
call dword [ebp - 4]
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x678628]
cvttss2si eax, xmm0
push eax
call dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add esp, 0x14
movss xmm2, dword [ebp + 8]
addss xmm2, dword [0x65f160]
movss xmm0, dword [ebp - 0x10]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm2
mov eax, dword [ecx + eax*4]
mov dword [ebx], eax
add ebx, 4
sub dword [ebp + 0xc], 1
jne 0x544e3e
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x545993
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x84]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ecx
mov eax, dword [eax + 0x5c]
mov ecx, dword [edi + 0x8c]
mov dword [ebp - 0x14], eax
call fcn.00514c0c
movd xmm2, dword [ebp + 8]
lea ebx, [edi + 0x5c]
mov esi, dword [ebp + 8]
movd xmm0, dword [ebp + 0xc]
xor esi, dword [ebp + 0xc]
cvtdq2ps xmm2, xmm2
and esi, 1
mov dword [ebp - 4], eax
shl esi, 8
cmp byte [edi + 0x88], 2
cvtdq2ps xmm0, xmm0
movss dword [ebp + 8], xmm2
movss dword [ebp - 0xc], xmm0
je 0x545ac5
addss xmm0, dword [0x6567d8]
addss xmm2, dword [0x6567d8]
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push ebx
call dword [ebp - 8]
movss xmm1, dword [ebx]
add esp, 0x10
cmp byte [edi + 0x88], 1
movss xmm2, dword [edi + 0x68]
jne 0x545a6b
movss xmm0, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, ebx
movss dword [esp], xmm0
call fcn.00522a0b
movd xmm1, dword [ebp - 0x18]
movd xmm2, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x6785ec]
mulss xmm2, dword [0x6785ec]
mov ecx, dword [ebp - 0x10]
mov eax, 0x545d3e
cmp dword [ecx + 0x58], 0
jne 0x545a80
mov eax, 0x545b5d
jmp 0x545a8c
cmp dword [ecx + 0x58], 2
mov edx, 0x545ca7
cmove eax, edx
push dword [ebp + 0x14]
mov edi, dword [ebp - 4]
movss xmm0, dword [ebp - 0x1c]
push esi
push edi
push dword [ebp + 0x10]
sub esp, 0x10
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call eax
add esp, 0x20
jmp 0x545b56
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x1c]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
call fcn.0053186b
fstp dword [ebp + 0x14]
movss xmm0, dword [ebp + 0x14]
mulss xmm0, dword [0x678628]
cvttss2si eax, xmm0
push eax
call dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
movss xmm2, dword [ebp + 8]
addss xmm2, dword [0x65f160]
movss xmm0, dword [ebp - 0xc]
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm2
mov ax, word [edi + eax*2]
mov word [ecx], ax
add ecx, 2
sub dword [ebp + 0xc], 1
mov dword [ebp + 0x10], ecx
jne 0x545ace
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x549078
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 8], eax
lea eax, [ebx + 0x5c]
mov dword [ebp - 4], eax
call fcn.00514c0c
mov edi, dword [ebp + 8]
mov esi, edi
xor esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 0x10], eax
shl esi, 8
cmp byte [ebx + 0x88], 2
je 0x5491dc
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x6567d8]
movss dword [esp + 4], xmm0
movss dword [ebp - 4], xmm0
movd xmm0, edi
lea edi, [ebx + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x6567d8]
movss dword [esp], xmm0
push edi
call dword [ebp - 8]
movss xmm1, dword [ebp - 0x18]
add esp, 0x10
cmp byte [ebx + 0x88], 1
movss xmm2, dword [ebp - 0x14]
movss dword [ebp + 0xc], xmm1
movss dword [ebp + 8], xmm2
jne 0x549167
movss xmm0, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, edi
movss dword [esp], xmm0
call fcn.00522a0b
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x6785ec]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x6785ec]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x54917a
movss xmm0, dword [edi]
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 8], xmm0
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x549272
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00548cc2
movss xmm0, dword [ebp - 4]
add eax, esi
movss xmm2, dword [ebp + 8]
xor esi, 0x100
addss xmm0, dword [ebp + 0xc]
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 ax, word [ecx + eax*2]
mov word [ebx], ax
add ebx, 2
dec edi
test edi, edi
jg 0x549188
jmp 0x549272
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x549272
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0xc], eax
addss xmm0, dword [0x6567d8]
movss dword [ebp + 8], xmm0
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x6567d8]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.00548cc2
movss xmm0, dword [ebp + 8]
add eax, esi
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor esi, 0x100
mov ax, word [ecx + eax*2]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
add ecx, 2
inc edi
mov dword [ebp + 0xc], ecx
cmp edi, dword [ebp + 0x14]
jl 0x54920a
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x549279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 8], eax
lea eax, [ebx + 0x5c]
mov dword [ebp - 4], eax
call fcn.00514c2a
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and esi, 1
add esi, esi
mov dword [ebp - 0x10], eax
mov ecx, edi
and ecx, 1
or esi, ecx
shl esi, 8
cmp byte [ebx + 0x88], 2
je 0x5493e2
movd xmm0, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
push ecx
push ecx
addss xmm0, dword [0x6567d8]
movss dword [esp + 4], xmm0
movss dword [ebp - 4], xmm0
movd xmm0, edi
lea edi, [ebx + 0x5c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x6567d8]
movss dword [esp], xmm0
push edi
call dword [ebp - 8]
movss xmm1, dword [ebp - 0x18]
add esp, 0x10
cmp byte [ebx + 0x88], 1
movss xmm2, dword [ebp - 0x14]
movss dword [ebp + 0xc], xmm1
movss dword [ebp + 8], xmm2
jne 0x54936f
movss xmm0, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
mov ecx, edi
movss dword [esp], xmm0
call fcn.00522a0b
movd xmm1, dword [ebp - 0xc]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [ebp + 8]
mulss xmm1, dword [0x6785ec]
movss dword [ebp - 4], xmm1
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x6785ec]
movss dword [ebp - 8], xmm1
movss xmm1, dword [ebp + 0xc]
jmp 0x549382
movss xmm0, dword [edi]
movss dword [ebp - 4], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 8], xmm0
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x549476
mov ebx, dword [ebp + 0x10]
push ecx
push ecx
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.00548cc2
movss xmm0, dword [ebp - 4]
add eax, esi
movss xmm2, dword [ebp + 8]
xor esi, 0x100
addss xmm0, dword [ebp + 0xc]
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 0x549390
jmp 0x549476
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp + 0x14], eax
cmp edi, eax
jge 0x549476
movd xmm0, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 4]
cvtdq2ps xmm0, xmm0
mov dword [ebp + 0xc], eax
addss xmm0, dword [0x6567d8]
movss dword [ebp + 8], xmm0
lea eax, [ebp - 0x18]
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x6567d8]
movss dword [esp], xmm0
push ebx
call dword [ebp - 8]
movss xmm0, dword [ebp - 0x18]
pop ecx
pop ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp], xmm0
call fcn.00548cc2
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 0x549410
pop edi
pop esi
pop ebx
leave
ret 0x10