Function at 0x100243b0
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 0x100891f3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x220
mov eax, dword [0x100fa00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov esi, dword [0x10103fe8]
test esi, esi
je 0x10024404
inc dword [esi + 0xb0]
push 0x5c10
call fcn.100756b7
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x39]
add esp, 4
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10024433
push 0
mov ecx, eax
call fcn.100263e0
jmp 0x10024435
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10103fe8], eax
call fcn.1002a3f0
mov eax, dword [0x10103fe8]
test esi, esi
cmovne eax, esi
mov dword [ebp - 0x40], eax
mov dword [0x10103fe8], eax
mov ecx, dword [eax + 0x48]
call fcn.10048990
push 0x78
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.1006a800
mov eax, 0xffff
mov dword [ebp - 0x1a4], 3
mov word [ebp - 0x170], ax
lea esi, [ebp - 0x1b8]
mov ecx, 0x1e
mov dword [ebp - 0x1a0], 1
lea edi, [ebp - 0xc8]
mov dword [ebp - 0x180], 0x7f7fffff
mov dword [ebp - 0x174], 0x3f800000
lea eax, [ebp - 0xc8]
mov byte [ebp - 0x1b0], 0
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x40]
push eax
mov dword [ebp - 0xc8], 0x10093bc8
mov dword [ebp - 0xc4], 0x26a20
mov ecx, dword [ecx + 0x48]
mov dword [ebp - 0xb8], 0x41900000
call fcn.10048de0
push 0x78
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.1006a800
add esp, 0xc
mov dword [ebp - 0x12c], 3
mov eax, 0xffff
mov dword [ebp - 0x128], 1
mov word [ebp - 0xf8], ax
lea esi, [ebp - 0x140]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x108], 0x7f7fffff
push eax
mov eax, dword [ebp - 0x40]
lea edi, [ebp - 0xc8]
mov ecx, 0x1e
mov dword [ebp - 0xfc], 0x3f800000
mov byte [ebp - 0x104], 1
mov byte [ebp - 0x124], 1
mov byte [ebp - 0x138], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc8], 0x100ba5e8
mov dword [ebp - 0xc4], 0x317f8
mov dword [ebp - 0xb8], 0x41900000
mov dword [ebp - 0x98], 0x100f0578
call fcn.10048de0
push 0x78
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.1006a800
mov eax, 0xffff
mov dword [ebp - 0x21c], 3
mov ecx, 0x1e
mov dword [ebp - 0x218], 1
lea esi, [ebp - 0x230]
mov dword [ebp - 0x1f8], 0x7f7fffff
lea edi, [ebp - 0xc8]
mov dword [ebp - 0x1ec], 0x3f800000
mov word [ebp - 0x1e8], ax
add esp, 0xc
mov byte [ebp - 0x228], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc8], 0x10093bc8
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc4], 0x26a20
push eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xb8], 0x41c00000
mov ecx, dword [eax + 0x48]
call fcn.10048de0
mov dword [0x100fff90], eax
lea esi, [ebp - 0x140]
lea eax, [ebp - 0xc8]
mov ecx, 0x1e
push eax
mov eax, dword [ebp - 0x40]
lea edi, [ebp - 0xc8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0xc8], 0x100ba5e8
mov dword [ebp - 0xc4], 0x317f8
mov dword [ebp - 0xb8], 0x41900000
mov dword [ebp - 0x98], 0x100f0578
call fcn.10048de0
movaps xmm0, xmmword [0x100f2300]
xor ecx, ecx
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0xf
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x10024690
lea eax, [ebp - 0x27]
mov byte [ebp - 0x17], 0
push eax
push 0
call dword [0x1008a180]
mov ecx, eax
call fcn.1004dd10
mov esi, dword [0x10103fe8]
test esi, esi
je 0x100246c4
inc dword [esi + 0xb0]
push 0x18
call fcn.100756b7
mov edx, eax
add esp, 4
mov dword [ebp - 0x44], edx
test edx, edx
je 0x100246f2
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0x1388
mov dword [edx + 0x14], 0x2710
jmp 0x100246f4
xor edx, edx
movaps xmm0, xmmword [0x100f21c0]
xor ecx, ecx
mov dword [esi + 0x78], edx
movups xmmword [ebp - 0x38], xmm0
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x10024704
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x37]
or dword [esi + 0xc], 8
mov dword [esi + 0x70], eax
mov dword [edx], ecx
mov eax, dword [ecx]
push ecx
mov byte [ebp - 0x29], 0
call dword [eax + 4]
mov eax, dword [0x10103fe8]
test eax, eax
je 0x10024744
mov eax, dword [eax + 0x78]
test eax, eax
je 0x10024744
cmp dword [eax], 0
je 0x10024744
call fcn.1004daf0
call fcn.10009f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10068c51
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret