Function at 0x1005bf50
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 0x100a30f5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x58
push esi
push edi
mov eax, dword [0x100bd080]
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 [0x100b3d40]
push ecx
push eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x34757f
xor ecx, ecx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x12
jb 0x1005bfb4
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 0x1005bfe4
sub ecx, esi
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x50]
push eax
call fcn.1000dc10
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [edi + 0x50]
call fcn.10019550
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005c051
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c047
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c326
push ecx
push edx
call fcn.1007fa16
add esp, 8
movzx eax, word [edi + 0xfc]
xorps xmm0, xmm0
mov ecx, eax
test ax, ax
jne 0x1005c17f
mov cl, 0x54
mov byte [ebp - 0x1a], 0
mov al, 0x79
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 0x1005c092
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10002570
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x54]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1005c144
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005c144
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 0x1005c0e0
sub ecx, edx
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.1007fd43
push esi
mov edi, eax
push 0
push edi
call fcn.10081a90
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.10081510
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 [0x100b2f38]
push edi
call fcn.1007fd3e
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 0x1005c22d
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005c178
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c32b
push ecx
push esi
jmp 0x1005c225
push ecx
mov ah, 0x19
mov byte [ebp - 0x14], 0
mov cl, 0x3c
mov byte [ebp - 0x18], ah
mov dl, 0x7d
mov byte [ebp - 0x14], 0
mov al, 0x3a
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 0x1005c1c0
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x50]
push eax
call fcn.1000dc10
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi + 0x54]
call fcn.10019550
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005c22d
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c223
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c330
push ecx
push edx
call fcn.1007fa16
add esp, 8
movzx eax, word [edi + 0xf8]
mov cl, 0x13
movss xmm1, dword [0x100b3550]
mov dl, 0xf
mov byte [ebp - 0x18], 0x3d
sub esp, 0x20
mov byte [ebp - 0x11], 0
movd xmm0, eax
mov al, 0x18
cvtdq2ps xmm0, xmm0
mov ch, al
mov byte [ebp - 0x11], 0
xor al, byte [ebp - 0x18]
mov dh, ch
mov byte [ebp - 0x17], al
mov ah, 0x5b
mov al, byte [ebp - 0x18]
xor cl, al
xor dl, al
divss xmm1, xmm0
xor ch, al
mov byte [ebp - 0x15], dl
xor ah, al
mov byte [ebp - 0x16], cl
xor dh, al
mov byte [ebp - 0x13], ch
mov byte [ebp - 0x12], dh
lea ecx, [ebp - 0x17]
mov edx, esp
mov byte [ebp - 0x14], ah
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
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005c2b0
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea eax, [ebp - 0x68]
push eax
call fcn.1000dc10
add esp, 0x24
mov dword [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x58]
call fcn.10019550
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1005c312
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c308
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c335
push ecx
push edx
call fcn.1007fa16
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.10084b1f
call fcn.10084b1f
call fcn.10084b1f
call fcn.10084b1f
int3