Function at 0x10056d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067e10
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10078014]
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 [0x1006f5f0]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x6110015
mov word [ebp - 0x44], 0x5a
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x14
jb 0x10056d97
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 0x10056dc4
xor ecx, ecx
jmp 0x10056dd9
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056dd0
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x40]
call fcn.100028c0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x1006f120]
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 0x10056e00
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 0x10056e2d
xor ecx, ecx
jmp 0x10056e3c
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056e33
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x28]
call fcn.100028c0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.100643e0
movss xmm1, dword [edi + 0x1ac]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
divss xmm1, dword [0x1006f0d4]
comiss xmm1, dword [0x1006f080]
jbe 0x10056e92
push 0
push 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.1001ea30
add esp, 8
jmp 0x10056f20
mov ebx, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x10056ebd
push 4
push ebx
call esi
test eax, eax
jne 0x10056ebd
push 4
add ebx, 0xfc
push ebx
call esi
test eax, eax
jne 0x10056ebd
mov al, byte [ebx]
test al, al
jne 0x10056f20
mov ecx, edi
call fcn.10056f80
mov ecx, edi
call fcn.10057a40
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x10056ee5
push 4
push ebx
call esi
test eax, eax
jne 0x10056ee5
push 1
mov ecx, ebx
call dword [0x1006ebec]
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x10056f08
push 4
push ebx
call esi
test eax, eax
jne 0x10056f08
mov ecx, 0xbe20a0
call fcn.10015280
cmp ebx, eax
sete al
test al, al
jne 0x10056f20
mov edi, dword [edi + 0x24]
test edi, edi
je 0x10056f20
push 4
push edi
call esi
test eax, eax
jne 0x10056f20
mov ecx, edi
call dword [0x1006ec14]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10056f36
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10056f5e
mov ecx, dword [ebp - 0x40]
inc edx
push 1
call fcn.10002790
add esp, 4
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.10063065
mov esp, ebp
pop ebp
ret