Function at 0x100594b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084e40
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100a2078]
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 [0x10098f00]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x5120316
mov word [ebp - 0x44], 0x59
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x14
jb 0x100594f7
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 0x10059524
xor ecx, ecx
jmp 0x10059539
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10059530
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002710
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x10098980]
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 0x10059560
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 0x1005958d
xor ecx, ecx
jmp 0x1005959c
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10059593
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002710
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.100806f0
movss xmm1, dword [edi + 0x1b8]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
divss xmm1, dword [0x10098878]
comiss xmm1, dword [0x1009882c]
jbe 0x100595f2
push 0
push 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.10021730
add esp, 8
jmp 0x10059680
mov ebx, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x1005961d
push 4
push ebx
call esi
test eax, eax
jne 0x1005961d
push 4
add ebx, 0xfc
push ebx
call esi
test eax, eax
jne 0x1005961d
mov al, byte [ebx]
test al, al
jne 0x10059680
mov ecx, edi
call fcn.100596e0
mov ecx, edi
call fcn.1005a190
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x10059645
push 4
push ebx
call esi
test eax, eax
jne 0x10059645
push 1
mov ecx, ebx
call dword [0x100981e8]
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x10059668
push 4
push ebx
call esi
test eax, eax
jne 0x10059668
mov ecx, 0xbe20a0
call fcn.10017d30
cmp ebx, eax
sete al
test al, al
jne 0x10059680
mov edi, dword [edi + 0x24]
test edi, edi
je 0x10059680
push 4
push edi
call esi
test eax, eax
jne 0x10059680
mov ecx, edi
call dword [0x1009820c]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10059695
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100025f0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x100596bc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100025f0
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.10066135
mov esp, ebp
pop ebp
ret