Function at 0x1005a420
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bb60
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100bd078]
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 [0x100b15f0]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x15021306
mov word [ebp - 0x44], 0x49
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x14
jb 0x1005a467
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 0x1005a494
xor ecx, ecx
jmp 0x1005a4a9
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a4a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002880
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100b11f0]
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 0x1005a4d0
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 0x1005a4fd
xor ecx, ecx
jmp 0x1005a50c
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005a503
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002880
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.10097b20
movss xmm1, dword [edi + 0x1ac]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
divss xmm1, dword [0x100b11d8]
comiss xmm1, dword [0x100b116c]
jbe 0x1005a562
push 0
push 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.10020af0
add esp, 8
jmp 0x1005a5f0
mov ebx, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x1005a58d
push 4
push ebx
call esi
test eax, eax
jne 0x1005a58d
push 4
add ebx, 0xfc
push ebx
call esi
test eax, eax
jne 0x1005a58d
mov al, byte [ebx]
test al, al
jne 0x1005a5f0
mov ecx, edi
call fcn.1005a650
mov ecx, edi
call fcn.1005b100
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x1005a5b5
push 4
push ebx
call esi
test eax, eax
jne 0x1005a5b5
push 1
mov ecx, ebx
call dword [0x100b0d90]
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x1005a5d8
push 4
push ebx
call esi
test eax, eax
jne 0x1005a5d8
mov ecx, 0xbe20a0
call fcn.100173f0
cmp ebx, eax
sete al
test al, al
jne 0x1005a5f0
mov edi, dword [edi + 0x24]
test edi, edi
je 0x1005a5f0
push 4
push edi
call esi
test eax, eax
jne 0x1005a5f0
mov ecx, edi
call dword [0x100b0db4]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1005a605
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002760
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1005a62c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10002760
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.10067c75
mov esp, ebp
pop ebp
ret