Function at 0x1004b2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006483c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10077604]
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 - 0x34], ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov byte [ebp - 0x29], 0
cmp esi, edi
je 0x1004b62b
nop dword [eax]
mov ebx, dword [esi]
test ebx, ebx
je 0x1004b61d
push ebx
call fcn.10007f40
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1004b4cf
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
movzx eax, byte [eax + 4]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.10007f80
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1004b3a3
cmp dword [eax + 0x48], 0
je 0x1004b3a3
push ebx
push eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.100095f0
add esp, 0x10
mov ebx, eax
jmp 0x1004b3b7
push ebx
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x68]
push eax
call fcn.100095f0
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x1004b3f0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1004b3d5
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003770
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x1004b40b
push 1
inc eax
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x34]
movzx ebx, byte [ebp - 0x29]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x1004b4ab
lea ecx, [ebp - 0x28]
add eax, 4
push ecx
push eax
call fcn.1000d880
mov ecx, dword [ebp - 0x34]
add esp, 8
mov edx, dword [ebp - 0x30]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x50], edx
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x38]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x54], edx
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x58], 0
mov eax, edx
mov edx, dword [ebp - 0x30]
test eax, eax
je 0x1004b473
movsx eax, word [eax + 0x56]
mov dword [ebp - 0x38], eax
movsx eax, word [edx + 0x66]
mov edx, dword [ebp - 0x38]
add edx, eax
jmp 0x1004b477
movsx edx, word [edx + 0x66]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x5c], edx
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebx*4]
mov eax, dword [eax]
test eax, eax
je 0x1004b4ab
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.10013250
mov eax, dword [ebp - 0x34]
push 1
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ebx*4]
push dword [eax]
call fcn.10012be0
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1004b61a
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
jmp 0x1004b61a
mov ebx, dword [ebp - 0x34]
movzx ecx, byte [ebp - 0x29]
shl ecx, 2
mov dword [ebp - 0x30], ecx
mov eax, dword [ebx + 0xc]
cmp dword [ecx + eax], 0
je 0x1004b61a
movaps xmm0, xmmword [0x1006ca50]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x39637265
mov dword [ebp - 0x3c], 0x636f73
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x16
jb 0x1004b504
cmp byte [ebp - 0x4f], 0
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
jne 0x1004b531
xor ecx, ecx
jmp 0x1004b540
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b537
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x68]
call fcn.10002800
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx + 0xc]
mov byte [ebp - 4], 4
mov eax, dword [ecx + eax]
add eax, 4
push eax
call fcn.1000d880
mov eax, dword [ebp - 0x54]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1004b585
inc eax
push 1
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + eax]
cmp dword [eax], 0
je 0x1004b61a
movaps xmm0, xmmword [str._vBWb]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x257f6e79
mov dword [ebp - 0x3c], 0x7f736f
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x16
jb 0x1004b5b2
lea eax, [ebp - 0x4f]
mov byte [ebp - 0x39], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.100017e0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx + 0xc]
mov byte [ebp - 4], 5
mov eax, dword [ecx + eax]
push dword [eax]
call fcn.10013250
mov eax, dword [ebp - 0x54]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1004b605
push 1
inc eax
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x30]
push 0
mov eax, dword [ecx + eax]
push dword [eax]
call fcn.10012be0
add esp, 8
inc byte [ebp - 0x29]
add esi, 4
cmp esi, edi
jne 0x1004b340
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.10012820
add esp, 4
test al, al
jne 0x1004b66c
mov eax, dword [0x10077f30]
mov eax, dword [eax + 0x88]
test eax, eax
je 0x1004b660
push dword [eax]
call fcn.100125e0
push edx
add eax, 0x12c
push eax
push dword [ebx]
call fcn.10012ab0
add esp, 0x10
push 1
push dword [ebx]
call fcn.10012be0
add esp, 8
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1004b687
mov eax, dword [ebp + 0x10]
sub eax, ecx
push 4
sar eax, 2
push eax
push ecx
call fcn.10002610
add esp, 0xc
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.1005f6be
mov esp, ebp
pop ebp
ret 0xc