Function at 0x1006d5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081f35
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10091040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movaps xmm0, xmmword [0x1008a040]
xor ecx, ecx
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x6c7b6a7f
mov word [ebp - 0x48], 0x30
mov al, byte [ebp - 0x5c]
xor byte [ebp + ecx - 0x5b], al
inc ecx
cmp ecx, 0x14
jb 0x1006d616
xorps xmm0, xmm0
mov byte [ebp - 0x47], 0
lea ecx, [ebp - 0x5b]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d642
sub ecx, edx
lea eax, [ebp - 0x5b]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.100024a0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [str._xG_MZ]
movups xmmword [ebp - 0x58], xmm0
nop dword [eax]
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0xe
jb 0x1006d670
xorps xmm0, xmm0
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x57]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d6a0
sub ecx, edx
lea eax, [ebp - 0x57]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100024a0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.1007e290
movss xmm1, dword [edi + 0x1ac]
subss xmm1, xmm0
divss xmm1, dword [0x10088f64]
comiss xmm1, dword [0x10088f08]
jbe 0x1006d6fb
push 0
push 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.10020e90
add esp, 8
jmp 0x1006d797
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1006d731
push 4
push eax
call esi
test eax, eax
jne 0x1006d731
mov eax, dword [ebp - 0x44]
add eax, 0xfc
push 4
push eax
mov dword [ebp - 0x44], eax
call esi
test eax, eax
jne 0x1006d731
mov eax, dword [ebp - 0x44]
mov al, byte [eax]
test al, al
jne 0x1006d797
mov ecx, edi
call fcn.1006d820
mov ecx, edi
call fcn.1006ed60
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1006d75d
push 4
push eax
call esi
test eax, eax
jne 0x1006d75d
mov ecx, dword [ebp - 0x44]
push 1
call dword [0x10088b1c]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x1006d77f
push 4
push eax
call esi
test eax, eax
jne 0x1006d77f
mov ecx, 0xbe20a0
call fcn.10014f70
cmp dword [ebp - 0x44], eax
je 0x1006d797
mov edi, dword [edi + 0x24]
test edi, edi
je 0x1006d797
push 4
push edi
call esi
test eax, eax
jne 0x1006d797
mov ecx, edi
call dword [0x10088b40]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1006d7c7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d7bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d7ed
push ecx
push edx
call fcn.1007d105
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1006d7fd
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d7f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006d7f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007d0a4
mov esp, ebp
pop ebp
ret