Function at 0x10023690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078c08
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1009f084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x48], ebx
mov esi, dword [0x100a8910]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp esi, 0x1388
ja 0x10023736
mov ebx, dword [ebx + 0x34]
test ebx, ebx
je 0x10023706
push 4
push ebx
call edi
test eax, eax
jne 0x10023700
mov ebx, dword [ebx + 0x124]
test ebx, ebx
je 0x10023700
push 4
push ebx
call edi
test eax, eax
jne 0x10023700
push esi
mov ecx, ebx
call dword [0x1009249c]
mov esi, dword [0x100a8910]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
mov dword ds:[0xbc675c], eax
fild dword ds:[0xbc6758]
mov edx, dword ds:[0xbc675c]
push edx
mov ecx, 0xc20ec0
fstp dword ds:[0xbc7c00]
call dword [0x1008ef58]
mov ebx, dword [ebp - 0x48]
mov esi, dword [0x100a892c]
cmp esi, 0x17
ja 0x100238b8
mov ebx, dword [ebx + 0x38]
test ebx, ebx
je 0x10023777
push 4
push ebx
call edi
test eax, eax
jne 0x10023771
mov ebx, dword [ebx + 0x124]
test ebx, ebx
je 0x10023771
push 4
push ebx
call edi
test eax, eax
jne 0x10023771
push esi
mov ecx, ebx
call dword [0x1009249c]
mov esi, dword [0x100a892c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push esi
cmp esi, 0xa
jge 0x100237ff
movaps xmm0, xmmword [0x10094430]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x1010b55
mov byte [ebp - 0x30], cl
nop dword [eax]
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x13
jb 0x100237b0
sub esp, 0x18
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.100029b0
lea eax, [ebp - 0x60]
push eax
call fcn.10005a00
add esp, 0x20
lea ecx, [ebp - 0x2c]
push eax
call fcn.100074c0
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x1002386c
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002790
jmp 0x1002386c
movaps xmm0, xmmword [0x10093eb0]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x74747e
mov al, byte [ebp - 0x44]
xor byte [ebp + ecx - 0x43], al
inc ecx
cmp ecx, 0x12
jb 0x10023811
sub esp, 0x18
mov byte [ebp - 0x31], 0
lea eax, [ebp - 0x43]
mov ecx, esp
push eax
call fcn.100029b0
lea eax, [ebp - 0x60]
push eax
call fcn.10005a00
add esp, 0x20
lea ecx, [ebp - 0x2c]
push eax
call fcn.100074c0
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x1002385a
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.10002790
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov ebx, dword [ebp - 0x48]
lea edx, [ebp - 0x2c]
mov ecx, dword [ebx + 0x3c]
call fcn.10015710
mov eax, dword [0x100a892c]
test eax, eax
jle 0x1002388a
push ecx
push eax
call fcn.10023640
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100238a6
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.10002790
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov eax, dword [0x100a8930]
mov dword [ebp - 0x14], eax
dec eax
cmp eax, 9
ja 0x10023961
mov esi, dword [ebx + 0x40]
test esi, esi
je 0x100238f8
push 4
push esi
call edi
test eax, eax
jne 0x100238f8
mov esi, dword [esi + 0x124]
test esi, esi
je 0x100238f8
push 4
push esi
call edi
test eax, eax
jne 0x100238f8
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x1009249c]
mov esi, dword [ebx + 0x44]
mov eax, dword [0x100a8930]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1002391b
push 4
push esi
call edi
test eax, eax
jne 0x1002391b
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x100924a4]
movd xmm0, dword [0x100a8930]
mov ecx, 0xd78d28
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10093bd4]
movss dword [ebp - 0x14], xmm0
movss dword [0x1009fba8], xmm0
call fcn.10015880
test eax, eax
je 0x10023961
lea esi, [eax + 0x1b8]
push 4
push esi
call edi
test eax, eax
jne 0x10023961
movss xmm0, dword [ebp - 0x14]
movss dword [esi], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003bc25
mov esp, ebp
pop ebp
ret