Function at 0x10025970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a0770
mov eax, dword fs:[0]
push eax
sub esp, 0xea0
mov eax, dword [0x1032e6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xea4], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0xe80], esi
mov dword [ebp - 0xe8c], eax
mov dword [ebp - 0xea0], edi
call fcn.10011350
add esp, 4
cmp eax, 5
jne 0x10025e3f
push esi
call fcn.10008620
add esp, 4
test eax, eax
je 0x10025e3f
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100259f5
cmp eax, 2
jne 0x10025e3f
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0xe78]
push esi
mov dword [ebp - 0xe70], 0
call fcn.100258f0
push esi
lea ecx, [ebp - 0xe78]
call fcn.100258f0
movsd xmm0, qword [edi + 0x1d0]
xorps xmm1, xmm1
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0xe6c]
mov esi, dword [ebp - 0xe64]
mov edx, dword [ebp + 0x18]
ucomisd xmm0, xmm1
mov dword [ebp - 0xe5c], 0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xe78], eax
mov dword [ebp - 0xe9c], ecx
mov dword [ebp - 0xe94], esi
mov dword [ebp - 0xe70], edx
mov dword [ebp - 0xe60], 0
lahf
test ah, 0x44
jp 0x10025b45
movsd xmm0, qword [edi + 0x1c8]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x10025b45
movsd xmm0, qword [edi + 0x1c0]
ucomisd xmm0, qword [edi + 0x28]
lahf
test ah, 0x44
jp 0x10025b45
movsd xmm1, qword [edi + 0x40]
movsd xmm0, qword [edi + 0x1d8]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x10025b45
cvtpd2ps xmm0, xmm1
xor ecx, ecx
mov dword [ebp - 0xe7c], 0
movss dword [ebp - 0xe74], xmm0
test edx, edx
jle 0x10025c2e
mov edx, dword [ebp - 0xe8c]
mov edi, dword [ebp - 0xe68]
add edx, 8
movss xmm1, dword [0x102a4f60]
mov ax, word [edx - 8]
lea edx, [edx + 0x18]
mov esi, dword [ebp - 0xe9c]
lea edi, [edi + 4]
mov word [esi + ecx*2], ax
movsd xmm0, qword [edx - 0x10]
mov esi, dword [ebp - 0xe94]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmm1
movss dword [esi + ecx*8 + 4], xmm0
movsd xmm0, qword [edx - 0x18]
cvtpd2ps xmm0, xmm0
movss dword [esi + ecx*8], xmm0
inc ecx
mov dword [edi - 4], 0
cmp ecx, dword [ebp + 0x18]
jl 0x10025af3
mov edi, dword [ebp - 0xea0]
jmp 0x10025c2e
xor esi, esi
mov dword [ebp - 0xe7c], 1
test edx, edx
jle 0x10025c24
mov eax, dword [ebp - 0xe68]
lea edx, [edi + 0x1f0]
mov edi, dword [ebp - 0xe8c]
mov dword [ebp - 0xe88], edx
add edi, 0x10
mov dword [ebp - 0xe98], eax
nop word [eax + eax]
mov ax, word [edi - 0x10]
mov word [ecx + esi*2], ax
lea eax, [ebp - 0xe90]
movsd xmm0, qword [edi - 8]
addsd xmm0, qword [0x102a4f20]
push eax
lea eax, [ebp - 0xeac]
push eax
push edx
movsd qword [ebp - 0xeac], xmm0
movsd xmm0, qword [edi]
movsd qword [ebp - 0xe90], xmm0
call fcn.10013500
movsd xmm0, qword [ebp - 0xe90]
add esp, 0xc
mov eax, dword [ebp - 0xe94]
add edi, 0x18
cvtpd2ps xmm0, xmm0
mov ecx, dword [ebp - 0xe9c]
mov edx, dword [ebp - 0xe88]
xorps xmm0, xmmword [0x102a4f60]
movss dword [eax + esi*8 + 4], xmm0
movsd xmm0, qword [ebp - 0xeac]
cvtpd2ps xmm0, xmm0
movss dword [eax + esi*8], xmm0
inc esi
mov eax, dword [ebp - 0xe98]
mov dword [eax], 0
add eax, 4
mov dword [ebp - 0xe98], eax
cmp esi, dword [ebp + 0x18]
jl 0x10025b80
mov edi, dword [ebp - 0xea0]
mov dword [ebp - 0xe74], 0x3f800000
movsd xmm0, qword [edi + 0x1c0]
cvtpd2ps xmm0, xmm0
mov ecx, dword [ebp - 0xe80]
movzx esi, byte [ecx + 0x95]
movzx eax, byte [ecx + 0x93]
movss dword [ebp - 0x38], xmm0
movsd xmm0, qword [edi + 0x1c8]
cvtpd2ps xmm0, xmm0
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 0x91]
xor ecx, ecx
shl esi, 8
or esi, eax
mov dword [ebp - 0xe84], ecx
cmp dword [ebp - 0xe7c], ecx
lea eax, [ebp - 0x38]
movss dword [ebp - 0x34], xmm0
cmove eax, ecx
movsd xmm0, qword [edi + 0x1d0]
cvtpd2ps xmm0, xmm0
mov dword [ebp - 0xe7c], eax
lea eax, [ebp - 0xe88]
push eax
movss dword [ebp - 0x30], xmm0
movsd xmm0, qword [edi + 0x1d8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
movsd xmm0, qword [edi + 0x1e0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
movsd xmm0, qword [edi + 0x1e8]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.10023b00
add esp, 4
mov ecx, dword [eax]
mov eax, dword [ebp - 0xe84]
mov dword [ebp - 0xe80], ecx
test eax, eax
je 0x10025d00
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xe80]
mov eax, dword [ecx]
lea edx, [ebp - 0xe84]
push edx
sub esp, 8
lea edx, [ebp - 0xe78]
mov dword [esp + 4], 0
mov dword [esp], 0
push dword [edi + 0x228]
push 1
push dword [ebp - 0xe7c]
push ecx
mov dword [esp], 0x3f800000
push edx
push ecx
call dword [eax + 0x5c]
mov dword [ebp - 0xe80], eax
mov ecx, dword [ebp - 0xe88]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x10025d5f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [ebp - 0xe80]
mov dword [ebp - 4], 0xffffffff
test eax, eax
js 0x10025def
mov eax, dword [ebp - 0xe84]
lea edx, [ebp - 0x48]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
js 0x10025def
push 1
push 1
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [ebp - 0xea4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx + 0x134]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x138]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea eax, [ebp - 0x58]
push eax
push edi
push esi
lea eax, [ebp - 0xe78]
push eax
push dword [ebp - 0xe7c]
push dword [ebp - 0xea4]
call fcn.10025690
add esp, 0x18
mov esi, eax
jmp 0x10025df4
mov esi, 0x64
mov eax, dword [ebp - 0xe84]
mov dword [ebp - 4], 3
test eax, eax
je 0x10025e0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0xe70], 0x100
jbe 0x10025e3b
push dword [ebp - 0xe6c]
call fcn.1006ab20
push dword [ebp - 0xe68]
call fcn.1006ab20
push dword [ebp - 0xe64]
call fcn.1006ab20
add esp, 0xc
mov eax, esi
jmp 0x10025e44
mov eax, 0x64
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1026465b
mov esp, ebp
pop ebp
ret