Function at 0x1005d0c0
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 0x1009e8a5
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 [0x100af380]
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 0x1005d124
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 0x1005d154
sub ecx, esi
lea eax, [ebp - 0x33]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x50]
push eax
call fcn.1000a310
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [edi + 0x50]
call fcn.10018260
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005d1c1
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d1b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d496
push ecx
push edx
call fcn.100810d6
add esp, 8
movzx eax, word [edi + 0xfc]
xorps xmm0, xmm0
mov ecx, eax
test ax, ax
jne 0x1005d2ef
mov cl, 0x36
mov byte [ebp - 0x1a], 0
mov al, 0x1b
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 0x1005d202
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10002580
mov dword [ebp - 4], 1
mov eax, dword [edi + 0x54]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1005d2b4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d2b4
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 0x1005d250
sub ecx, edx
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100810e9
push esi
mov edi, eax
push 0
push edi
call fcn.100831e0
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.10082c60
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 [0x100ae570]
push edi
call fcn.100810e4
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 0x1005d39d
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005d2e8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d49b
push ecx
push esi
jmp 0x1005d395
push ecx
mov ah, 0x18
mov byte [ebp - 0x14], 0
mov cl, 0x3d
mov byte [ebp - 0x18], ah
mov dl, 0x7c
mov byte [ebp - 0x14], 0
mov al, 0x3b
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 0x1005d330
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x50]
push eax
call fcn.1000a310
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi + 0x54]
call fcn.10018260
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005d39d
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d393
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d4a0
push ecx
push edx
call fcn.100810d6
add esp, 8
movzx eax, word [edi + 0xf8]
mov cl, 9
movss xmm1, dword [0x100ae940]
mov dl, 0x15
mov byte [ebp - 0x18], 0x27
sub esp, 0x20
mov byte [ebp - 0x11], 0
movd xmm0, eax
mov al, 2
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, 0x41
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 0x1005d420
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.10002580
lea eax, [ebp - 0x68]
push eax
call fcn.1000a310
add esp, 0x24
mov dword [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x58]
call fcn.10018260
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1005d482
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d478
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d4a5
push ecx
push edx
call fcn.100810d6
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.1008626f
call fcn.1008626f
call fcn.1008626f
call fcn.1008626f
int3