Function at 0x1005abd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089c90
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100a7078]
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 edi, ecx
movaps xmm0, xmmword [0x1009e6c0]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x42554451
mov word [ebp - 0x44], 0x1e
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x14
jb 0x1005ac17
cmp byte [ebp - 0x57], 0
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x1005ac44
xor ecx, ecx
jmp 0x1005ac59
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005ac50
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002770
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [str.__v4___v]
movups xmmword [ebp - 0x68], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0xe
jb 0x1005ac80
cmp byte [ebp - 0x67], 0
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x1005acad
xor ecx, ecx
jmp 0x1005acbc
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005acb3
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002770
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10085440
movss xmm1, dword [edi + 0x1b8]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
divss xmm1, dword [0x1009d9e8]
comiss xmm1, dword [0x1009d99c]
jbe 0x1005ad12
push 0
push 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.10022e30
add esp, 8
jmp 0x1005ada0
mov ebx, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x1005ad3d
push 4
push ebx
call esi
test eax, eax
jne 0x1005ad3d
push 4
add ebx, 0xfc
push ebx
call esi
test eax, eax
jne 0x1005ad3d
mov al, byte [ebx]
test al, al
jne 0x1005ada0
mov ecx, edi
call fcn.1005ae00
mov ecx, edi
call fcn.1005b8b0
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x1005ad65
push 4
push ebx
call esi
test eax, eax
jne 0x1005ad65
push 1
mov ecx, ebx
call dword [0x1009d358]
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x1005ad88
push 4
push ebx
call esi
test eax, eax
jne 0x1005ad88
mov ecx, 0xbe20a0
call fcn.10019420
cmp ebx, eax
sete al
test al, al
jne 0x1005ada0
mov edi, dword [edi + 0x24]
test edi, edi
je 0x1005ada0
push 4
push edi
call esi
test eax, eax
jne 0x1005ada0
mov ecx, edi
call dword [0x1009d37c]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1005adb5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002650
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1005addc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10002650
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.10067955
mov esp, ebp
pop ebp
ret