Function at 0x1005bb20
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f655
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x58
push esi
push edi
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
movzx ecx, word [edi + 0xfa]
movzx eax, word [edi + 0xf8]
movaps xmm0, xmmword [0x100af5d0]
push ecx
push eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x46070d
xor ecx, ecx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x12
jb 0x1005bb84
sub esp, 0x18
mov byte [ebp - 0x21], 0
mov edx, esp
lea ecx, [ebp - 0x33]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005bbb4
sub ecx, esi
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x50]
push eax
call fcn.1000ae50
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [edi + 0x50]
call fcn.100182e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005bc21
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bc17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005beee
push ecx
push edx
call fcn.1007fa46
add esp, 8
movzx eax, word [edi + 0xfc]
xorps xmm0, xmm0
mov ecx, eax
test ax, ax
jne 0x1005bd4f
mov cl, 0x59
mov byte [ebp - 0x1a], 0
mov al, 0x74
mov byte [ebp - 0x1c], cl
xor al, cl
mov byte [ebp - 0x1a], 0
lea ecx, [ebp - 0x1b]
mov byte [ebp - 0x1b], al
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005bc62
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10002540
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x54]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1005bd14
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005bd14
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
cmova ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005bcb0
sub ecx, edx
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fa59
push esi
mov edi, eax
push 0
push edi
call fcn.10081b50
cmp dword [ebp - 0x24], 0xf
lea edx, [ebp - 0x38]
push dword [ebp - 0x1c]
cmova edx, dword [ebp - 0x38]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.100815d0
mov eax, dword [ebp - 0x1c]
add esp, 0x1c
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ae5a8]
push edi
call fcn.1007fa54
mov esi, dword [ebp - 0x38]
add esp, 4
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
jbe 0x1005bdfd
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005bd48
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bef3
push ecx
push esi
jmp 0x1005bdf5
push ecx
mov ah, 0x39
mov byte [ebp - 0x14], 0
mov cl, 0x1c
mov byte [ebp - 0x18], ah
mov dl, 0x5d
mov byte [ebp - 0x14], 0
mov al, 0x1a
xor cl, ah
xor dl, ah
mov byte [ebp - 0x16], cl
xor al, ah
mov byte [ebp - 0x15], dl
sub esp, 0x18
mov byte [ebp - 0x17], al
mov edx, esp
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005bd90
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x50]
push eax
call fcn.1000ae50
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi + 0x54]
call fcn.100182e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005bdfd
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bdf3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005bef8
push ecx
push edx
call fcn.1007fa46
add esp, 8
movzx eax, word [edi + 0xf8]
mov cl, 0x48
movss xmm1, dword [0x100ae938]
mov dl, 0x54
mov byte [ebp - 0x18], 0x66
sub esp, 0x20
movd xmm0, eax
mov al, 0x43
cvtdq2ps xmm0, xmm0
mov ch, al
xor ah, ah
xor al, byte [ebp - 0x18]
mov dh, ch
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov byte [ebp - 0x11], ah
xor cl, al
divss xmm1, xmm0
xor dl, al
mov byte [ebp - 0x16], cl
xor ch, al
mov byte [ebp - 0x15], dl
xor ah, al
mov byte [ebp - 0x13], ch
xor dh, al
mov byte [ebp - 0x14], ah
mov byte [ebp - 0x12], dh
lea ecx, [ebp - 0x17]
mov edx, esp
mov byte [ebp - 0x11], 0
lea esi, [ecx + 1]
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005be78
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10002540
lea eax, [ebp - 0x68]
push eax
call fcn.1000ae50
add esp, 0x24
mov dword [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x58]
call fcn.100182e0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1005beda
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005bed0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005befd
push ecx
push edx
call fcn.1007fa46
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
call fcn.10084bdf
int3