Function at 0x10023ed0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008363d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
movzx eax, word [edi + 0x140]
xor ecx, ecx
movzx edx, word [edi + 0x13e]
movaps xmm0, xmmword [str.Tq0t]
push eax
mov word [edi + 0x14a], dx
mov word [edi + 0x14c], ax
push edx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x7d30717c
mov byte [ebp - 0x20], 0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x33]
xor al, byte [ebp - 0x34]
mov byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x13
jb 0x10023f50
sub esp, 0x1c
mov byte [ebp - 0x20], 0
mov edx, esp
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023f90
sub ecx, esi
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10003350
lea eax, [ebp - 0x5c]
push eax
call fcn.1000d820
add esp, 0x28
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [edi + 0xc]
call fcn.100141e0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.10046080
lea eax, [edi + 0x132]
mov dword [ebp - 0x3c], 3
lea esi, [edi + 0x50]
mov dword [ebp - 0x38], eax
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 8
nop
movzx ecx, word [eax - 6]
mov dword [esi - 0xc], ecx
mov ax, word [eax]
mov word [esi - 8], ax
mov eax, dword [ebp - 0x40]
push ecx
mov al, byte [eax + 0x143]
mov byte [esi - 6], al
call fcn.10010050
test eax, eax
je 0x100240e0
movzx eax, word [esi - 8]
mov dl, 0x6c
push eax
mov dword [ebp - 0x30], 0x219246c
xor ecx, ecx
mov dword [ebp - 0x2c], 0x4c414c18
mov dword [ebp - 0x28], 0x4c434c5c
mov word [ebp - 0x24], 0x849
mov byte [ebp - 0x22], 0
xor byte [ebp + ecx - 0x2f], dl
inc ecx
cmp ecx, 0xd
jae 0x1002405f
mov dl, byte [ebp - 0x30]
jmp 0x10024050
sub esp, 0x1c
mov byte [ebp - 0x22], 0
mov edx, esp
lea ecx, [ebp - 0x2f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024090
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.10003350
lea eax, [ebp - 0x5c]
push eax
call fcn.1000d820
add esp, 0x24
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [esi]
call fcn.100141e0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
jmp 0x1002419b
cmp dword [esi - 0xc], 1
jne 0x10024225
cmp byte [esi - 6], 0
je 0x10024225
movzx eax, word [esi - 8]
mov dl, 0x35
push eax
mov dword [ebp - 0x1c], 0x1a150535
xor eax, eax
mov dword [ebp - 0x18], 0x511015
nop dword [eax + eax]
xor byte [ebp + eax - 0x1b], dl
inc eax
cmp eax, 6
jae 0x1002411f
mov dl, byte [ebp - 0x1c]
jmp 0x10024110
sub esp, 0x1c
mov byte [ebp - 0x15], 0
mov edx, esp
lea ecx, [ebp - 0x1b]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024150
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.10003350
lea eax, [ebp - 0x78]
push eax
call fcn.1000d820
add esp, 0x24
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [esi]
call fcn.100141e0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], 0
push 8
push eax
call fcn.10046080
mov eax, dword [esi]
add esp, 8
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100241c3
push 4
push eax
call edi
test eax, eax
jne 0x100241c3
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
call dword [0x1009e0e8]
mov edi, dword [esi + 4]
movzx eax, word [esi - 8]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x1002421f
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002421f
push 4
lea eax, [edi + 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002421f
push 4
lea eax, [edi + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002421f
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov dword [edi + 0x140], 0
mov dword [edi + 0x13c], eax
call dword [0x1009e0d0]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [ebp - 0x38]
add esi, 0x18
add eax, 2
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], eax
jne 0x10024000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret