Function at 0x4025c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov esi, ecx
mov eax, dword [ecx + 0x20]
lea edx, [eax + eax]
mov ecx, 0x10
cmp edx, 0x11
jb 0x4025f3
mov ecx, eax
and ecx, 0xfffffffd
mov edx, eax
and edx, 2
or eax, 2
imul eax, edx
xor edx, 2
imul edx, ecx
add eax, edx
mov ecx, eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], ecx
mov edx, ecx
and edx, 0xfffffff8
mov edi, ecx
and edi, 7
mov eax, ecx
or eax, 7
imul eax, edi
xor edi, 7
imul edi, edx
add eax, edi
mov edx, 0xcccccccd
mul edx
mov ebp, edx
shr ebp, 3
mov dword [esp + 0x24], ebp
test ecx, ecx
je 0x40271a
mov eax, ecx
and eax, 4
mov edx, ecx
or ecx, 4
imul ecx, eax
xor eax, 4
and edx, 0xfffffffb
imul edx, eax
add ecx, edx
push ecx
call dword [0x45f428]
add esp, 4
mov edi, eax
mov dword [esp + 0xc], eax
lea eax, [ebp*4]
push eax
call dword [0x45f428]
add esp, 4
mov dword [esp + 4], eax
mov dword [esp + 0x14], eax
mov eax, ebp
and eax, 0xfffffffb
mov ecx, ebp
and ecx, 4
or ebp, 4
imul ebp, ecx
xor ecx, 4
imul ecx, eax
add ebp, ecx
push ebp
call dword [0x45f428]
add esp, 4
mov ebx, eax
mov dword [esp + 0x18], eax
push ebp
call dword [0x45f428]
add esp, 4
mov dword [esp], eax
mov dword [esp + 0x1c], eax
push ebp
call dword [0x45f428]
add esp, 4
mov ebp, eax
mov dword [esp + 0x10], eax
test edi, edi
je 0x4027ef
cmp dword [esp + 4], 0
je 0x4027ef
test ebx, ebx
je 0x4027ef
cmp dword [esp], 0
je 0x4027ef
test ebp, ebp
je 0x4027ef
xor eax, eax
nop word [eax + eax]
mov ecx, dword [esp + 0xc]
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esp + 0x28]
jb 0x402700
test esi, esi
je 0x4028a5
mov ebx, dword [esi]
mov dword [esp + 8], ebx
cmp dword [esi + 0x18], 0
je 0x40277f
xor ebp, ebp
nop dword [eax + eax]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + ebp*4]
mov edi, dword [ecx + ebp*4]
lea ecx, [esp + 8]
push edi
call fcn.00402380
add esp, 4
test eax, eax
jne 0x40281f
mov dword [edi], ebx
inc ebp
mov eax, dword [esi + 0x18]
cmp ebp, eax
jb 0x402730
test eax, eax
je 0x40277f
xor ecx, ecx
nop word cs:[eax + eax]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, eax
jb 0x402770
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push dword [esi + 4]
call dword [0x45f424]
add esp, 4
push dword [esi + 0xc]
call dword [0x45f424]
add esp, 4
push dword [esi + 0x10]
call dword [0x45f424]
add esp, 4
push dword [esi + 0x14]
call dword [0x45f424]
add esp, 4
push dword [esi + 8]
call dword [0x45f424]
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esi + 0x20], eax
movups xmm0, xmmword [esp + 8]
movups xmm1, xmmword [esp + 0x18]
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi], xmm0
xor eax, eax
jmp 0x40289d
push edi
call dword [0x45f424]
add esp, 4
push dword [esp + 4]
call dword [0x45f424]
add esp, 4
push ebx
call dword [0x45f424]
add esp, 4
push dword [esp]
call dword [0x45f424]
add esp, 4
push ebp
jmp 0x40288f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40283f
xor ecx, ecx
nop dword [eax]
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, eax
jb 0x402830
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push dword [esp + 0xc]
call dword [0x45f424]
add esp, 4
push dword [esp + 0x14]
call dword [0x45f424]
add esp, 4
push dword [esp + 0x18]
call dword [0x45f424]
add esp, 4
push dword [esp + 0x1c]
call dword [0x45f424]
add esp, 4
push dword [esp + 0x10]
call dword [0x45f424]
add esp, 4
mov eax, 0xffffffff
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
jmp 0x40271c