Function at 0x10025760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008eded
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
xor eax, eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x74]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0x55c
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x1c], xmm0
sub ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
sar eax, 2
xor edx, edx
mov dword [ebp - 0x70], 0
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x10025836
push eax
lea ecx, [ebp - 0x1c]
call fcn.1001cb40
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x74]
push eax
push edi
mov dword [ebp - 0x38], edi
call fcn.1006b7f0
mov eax, dword [ebp - 0x3c]
mov edx, edi
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x40], edi
lea ecx, [edi + eax*4]
mov eax, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], eax
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, esp
sub ecx, edx
mov dword [ebp - 0x3c], ecx
sar ecx, 2
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x100258a5
push ecx
mov ecx, eax
call fcn.1001cb40
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov edi, dword [eax]
push edi
call fcn.1006b7f0
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
call fcn.100165b0
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x1002598b
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
push 4
push ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10025988
mov edi, dword [ebp - 0x20]
xor ecx, ecx
movaps xmm0, xmmword [0x100a5430]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x4258744e
mov dword [edi + 4], eax
mov dword [ebp - 0x58], 0x5f4a5e5f
mov dword [ebp - 0x54], 0x454442
nop
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x1a
jb 0x10025900
sub esp, 0x18
mov byte [ebp - 0x51], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025933
sub ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.100051e0
mov ecx, dword [edi]
call fcn.10016190
mov ecx, dword [ebp - 0x38]
add esp, 0x18
mov dword [edi + 4], eax
test ecx, ecx
je 0x100259c4
sub esi, ecx
mov eax, ecx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x1002597c
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100259e1
push esi
push ecx
call fcn.10069bf1
add esp, 8
jmp 0x100259c4
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x28], 0
mov dword [eax], 0
je 0x100259c1
sub esi, dword [ebp - 0x38]
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x100259b7
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100259e1
mov edi, ecx
push esi
push edi
call fcn.10069bf1
add esp, 8
mov edi, dword [ebp - 0x20]
mov eax, edi
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.10069b90
mov esp, ebp
pop ebp
ret
call fcn.1006f2c1
int3