Function at 0x1004b2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101ae960]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push esi
mov esi, ecx
mov dword [ebp - 0x30], ebx
push edi
mov ecx, 0x28
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x1004b2e3
mov eax, dword [0x101b36d8]
inc eax
mov dword [0x101b36d8], eax
and eax, 0xfff
mov ecx, dword [esi + 0xa8]
shl ecx, 0xc
or ecx, eax
mov eax, dword [esi]
mov dword [ebp - 0x34], ecx
mov ecx, esi
call dword [eax + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x70]
cmp dword [eax + 0xa4], 0
jne 0x1004b32d
cmp dword [eax + 0xa8], 0
jne 0x1004b32d
xor eax, eax
jmp 0x1004b333
mov eax, dword [eax + 0xb0]
test dword [0x101b3164], 0x20000
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
je 0x1004b39e
test byte [0x101b31ac], 1
je 0x1004b39e
test byte [0x101b321c], 0x40
je 0x1004b39e
cmp dword [0x101b0db4], 0
jne 0x1004b39e
mov edx, dword [esi + 0xdc]
test edx, edx
je 0x1004b380
mov eax, ecx
sub eax, dword [esi + 0x78]
mov dword [edx + 4], eax
mov dword [ecx], 0xffff0001
mov dword [ecx + 4], 0
add dword [esi + 0xcc], 8
add dword [esi + 0x24], 8
mov dword [esi + 0xdc], ecx
test dword [0x101b31e8], 0x8000
mov ecx, esi
mov edi, dword [esi + 0x24]
push edi
push ebx
jne 0x1004b498
call fcn.1004a850
push 0x240
lea eax, [edi + 0x78]
mov ecx, esi
push eax
push ebx
call fcn.1004ab60
movdqu xmm0, xmmword [0x10092868]
mov eax, dword [0x10092878]
mov ecx, esi
mov dword [ebp - 0x24], 0x3c8
movdqu xmmword [edi + 0xa8], xmm0
mov dword [edi + 0xb8], eax
or dword [edi + 0xac], 0xc000
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x78]
add eax, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.100475f0
add dword [esi + 0x24], 0x14
mov ecx, esi
add dword [esi + 0xcc], 0x14
movq xmm0, qword [0x1009285c]
mov eax, dword [ebp - 0x34]
movq qword [edi + 0xbc], xmm0
mov dword [edi + 0xc4], eax
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x78]
add eax, 4
mov dword [ebp - 0x24], 0x140
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
mov dword [ebp - 0x18], 0
call fcn.100475f0
add dword [esi + 0xcc], 0xc
lea eax, [edi + 0xc8]
add dword [esi + 0x24], 0xc
mov ecx, esi
push 0
push eax
push ebx
call fcn.1004ac90
push 0
lea eax, [edi + 0xd4]
mov ecx, esi
push eax
push ebx
call fcn.1004ad90
lea eax, [edi + 0xe0]
jmp 0x1004b6db
mov dword [ebp - 0x40], edi
call fcn.1004a850
push 0x240
lea eax, [edi + 0x78]
mov ecx, esi
push eax
push ebx
call fcn.1004ab60
movdqu xmm0, xmmword [0x10092868]
mov eax, dword [0x10092878]
mov ecx, esi
mov dword [ebp - 0x24], 0x3c8
movdqu xmmword [edi + 0xa8], xmm0
mov dword [edi + 0xb8], eax
or dword [edi + 0xac], 0xc000
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x78]
add eax, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.100475f0
movdqu xmm0, xmmword [0x1019ecf0]
add dword [esi + 0x24], 0x14
mov ecx, esi
add dword [esi + 0xcc], 0x14
mov eax, dword [ebp - 0x34]
movdqu xmmword [edi + 0xbc], xmm0
mov dword [edi + 0xc8], eax
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x78]
add eax, 8
mov dword [ebp - 0x24], 0x140
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
mov dword [ebp - 0x18], 0
call fcn.100475f0
add dword [esi + 0x24], 0x10
mov ecx, esi
add dword [esi + 0xcc], 0x10
movq xmm0, qword [0x1019ed00]
mov eax, dword [0x1019ed08]
movq qword [edi + 0xcc], xmm0
mov dword [edi + 0xd4], eax
mov eax, dword [edi + 0xd0]
and eax, 0xfc00235b
mov dword [ebp - 0x24], 0x144
or eax, 0x2358
mov dword [ebp - 0x18], 0
mov dword [edi + 0xd0], eax
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x78]
add eax, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.100475f0
add dword [esi + 0xcc], 0xc
add dword [esi + 0x24], 0xc
movq xmm0, qword [0x1019eacc]
mov eax, dword [0x1019ead4]
movq qword [edi + 0xd8], xmm0
mov dword [edi + 0xe0], eax
mov eax, dword [edi + 0xdc]
and eax, 3
mov dword [edi + 0xe0], 3
or eax, 0x23b0
mov dword [edi + 0xdc], eax
add edi, 0xe8
add dword [esi + 0xcc], 0xc
add dword [esi + 0x24], 0xc
xor ebx, ebx
nop
movq xmm0, qword [0x1019ed00]
mov eax, dword [0x1019ed08]
mov ecx, dword [ebx + 0x1019ead8]
movq qword [edi - 4], xmm0
mov dword [edi + 4], eax
mov eax, dword [edi]
xor eax, ecx
mov dword [ebp - 0x18], 0
and eax, 0x3fffffc
xor dword [edi], eax
lea eax, [ecx - 0x26b4]
mov dword [ebp - 0x24], eax
mov ecx, esi
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x78]
add eax, 8
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
call fcn.100475f0
add dword [esi + 0xcc], 0xc
lea edi, [edi + 0xc]
add dword [esi + 0x24], 0xc
add ebx, 4
cmp ebx, 0xc0
jb 0x1004b600
mov edi, dword [ebp - 0x40]
mov ecx, esi
movq xmm0, qword [0x1019eacc]
mov eax, dword [0x1019ead4]
mov ebx, dword [ebp - 0x30]
movq qword [edi + 0x324], xmm0
mov dword [edi + 0x32c], eax
mov eax, dword [edi + 0x328]
and eax, 3
mov dword [edi + 0xe0], 2
or eax, 0x23b0
mov dword [edi + 0x328], eax
lea eax, [edi + 0x330]
add dword [esi + 0xcc], 0xc
add dword [esi + 0x24], 0xc
push 0
push eax
push ebx
call fcn.1004ac90
push 0
lea eax, [edi + 0x33c]
mov ecx, esi
push eax
push ebx
call fcn.1004ad90
lea eax, [edi + 0x348]
push eax
push ebx
mov ecx, esi
call fcn.1004aa70
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
pop edi
mov dword [0x101b36d0], eax
xor ecx, ebp
mov eax, dword [ebp - 0x38]
pop esi
mov dword [0x101b36d4], eax
mov eax, 1
pop ebx
call fcn.10072374
mov esp, ebp
pop ebp
ret 4