Function at 0x1005c340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f100
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10084014]
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 [0x1007b2d0]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x687f6e7b
mov word [ebp - 0x44], 0x34
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x14
jb 0x1005c387
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 0x1005c3b4
xor ecx, ecx
jmp 0x1005c3c9
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005c3c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x40]
call fcn.100027b0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [str.vIQCT_vsV]
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 0x1005c3f0
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 0x1005c41d
xor ecx, ecx
jmp 0x1005c42c
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005c423
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x28]
call fcn.100027b0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.1006b000
movss xmm1, dword [edi + 0x1ac]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
divss xmm1, dword [0x10079e94]
comiss xmm1, dword [0x10079e2c]
jbe 0x1005c482
push 0
push 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.100285d0
add esp, 8
jmp 0x1005c513
mov ebx, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x1005c4b0
push 4
push ebx
call esi
test eax, eax
jne 0x1005c4b0
push 4
add ebx, 0xfc
push ebx
call esi
test eax, eax
jne 0x1005c4b0
cmp byte [ebx], al
setne al
test al, al
jne 0x1005c513
mov ecx, edi
call fcn.1005c570
mov ecx, edi
call fcn.1005cff0
mov ebx, dword [edi + 0x18]
test ebx, ebx
je 0x1005c4d8
push 4
push ebx
call esi
test eax, eax
jne 0x1005c4d8
push 1
mov ecx, ebx
call dword [0x100785d0]
mov ebx, dword [edi + 0x24]
test ebx, ebx
je 0x1005c4fb
push 4
push ebx
call esi
test eax, eax
jne 0x1005c4fb
mov ecx, 0xbe20a0
call fcn.10018d90
cmp ebx, eax
sete al
test al, al
jne 0x1005c513
mov edi, dword [edi + 0x24]
test edi, edi
je 0x1005c513
push 4
push edi
call esi
test eax, eax
jne 0x1005c513
mov ecx, edi
call dword [0x100785f8]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1005c525
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x1005c549
inc eax
push eax
push dword [ebp - 0x40]
call fcn.100026b0
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.10067dd5
mov esp, ebp
pop ebp
ret