Function at 0x1004b680
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 0x100ab46d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor al, al
mov byte [ebp - 0x15], al
movaps xmm1, xmmword [str.B_n7_6bobgbmbg]
mov ecx, 0x100c9bdc
movzx esi, al
mov dword [ebp - 0x38], esi
lea eax, [esi + esi*2]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + eax*8 + 0x44]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.1000e980
mov edx, dword [ebp - 0x7c]
cmp byte [edx + 0xd], 0
jne 0x1004b705
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x10]
jae 0x1004b70b
mov edx, dword [0x100c9bdc]
xor ecx, ecx
lea eax, [edx + 0x14]
cmp edx, dword [0x100c9bdc]
cmovne ecx, eax
test ecx, ecx
je 0x1004b7ab
lea eax, [esi + 3]
lea eax, [eax + eax*2]
movzx ecx, word [edi + eax*8]
lea eax, [edi + eax*8]
mov dword [ebp - 0x24], eax
movzx eax, word [edi + esi*2 + 0x130]
push ecx
push eax
movups xmmword [ebp - 0x48], xmm1
xor ecx, ecx
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0xe
jb 0x1004b741
sub esp, 0x18
mov byte [ebp - 0x39], 0
mov edx, esp
lea ecx, [ebp - 0x47]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b774
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x47]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x78]
push eax
call fcn.10005dd0
add esp, 0x24
lea ecx, [esi + esi*2]
mov dword [ebp - 4], 0
mov ecx, dword [edi + ecx*8 + 0x50]
mov edx, eax
jmp 0x1004b877
cmp dword [ebp - 0x24], 1
jne 0x1004b902
lea eax, [esi + esi*2]
cmp byte [edi + eax*8 + 0x4a], 0
je 0x1004b902
lea eax, [esi + 3]
mov byte [ebp - 0x30], 0x5a
lea eax, [eax + eax*2]
mov byte [ebp - 0x28], 0
movzx ecx, word [edi + eax*8]
lea eax, [edi + eax*8]
mov dword [ebp - 0x24], eax
mov dl, 0x7a
movzx eax, word [edi + esi*2 + 0x130]
xorps xmm0, xmm0
push ecx
push eax
mov al, 0x7f
mov byte [ebp - 0x28], 0
mov dh, al
mov cl, 0x3e
xor al, byte [ebp - 0x30]
mov ch, dl
mov byte [ebp - 0x2f], al
mov ah, 0x75
mov al, byte [ebp - 0x30]
xor dl, al
mov byte [ebp - 0x1d], cl
xor cl, al
mov byte [ebp - 0x2d], dl
xor ch, al
mov byte [ebp - 0x2e], cl
xor dh, al
mov byte [ebp - 0x2b], ch
xor ah, al
mov byte [ebp - 0x2a], dh
mov al, byte [ebp - 0x1d]
lea ecx, [ebp - 0x2f]
xor al, byte [ebp - 0x30]
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0x2c], ah
mov byte [ebp - 0x29], al
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b845
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2f]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x78]
push eax
call fcn.10005dd0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 1
lea eax, [esi + esi*2]
mov ecx, dword [edi + eax*8 + 0x50]
call fcn.1001c9d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x1004b8b7
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b8ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ba19
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [ebp - 0x34]
movzx esi, word [edi + esi*2 + 0x130]
mov eax, dword [edi + eax*8 + 0x54]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004b8fa
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b8fa
mov ecx, dword [ebp - 0x14]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100bd64c]
mov esi, dword [ebp - 0x38]
jmp 0x1004b9c0
lea eax, [esi + 3]
mov word [ebp - 0x1c], 2
lea eax, [eax + eax*2]
mov byte [ebp - 0x1b], 0
lea eax, [edi + eax*8]
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1b]
movzx eax, word [eax]
push eax
sub esp, 0x18
lea eax, [ecx + 1]
mov edx, esp
mov dword [ebp - 0x14], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b940
sub ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x60]
push eax
call fcn.10005dd0
add esp, 0x20
mov edx, eax
mov dword [ebp - 4], 2
lea eax, [esi + esi*2]
mov ecx, dword [edi + eax*8 + 0x50]
call fcn.1001c9d0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1004b9ae
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004b9a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ba19
push ecx
push edx
call fcn.100859f6
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
mov ecx, dword [ebp - 0x24]
mov ax, word [edi + esi*2 + 0x130]
cmp ax, word [ecx]
jb 0x1004b9f5
lea eax, [esi + esi*2]
mov esi, dword [edi + eax*8 + 0x50]
test esi, esi
je 0x1004b9f5
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004b9f5
push 0xff80ff00
mov ecx, esi
call dword [0x100bd668]
mov al, byte [ebp - 0x15]
inc al
mov byte [ebp - 0x15], al
cmp al, 3
jb 0x1004b6c2
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
call fcn.1008ac0f
int3