Function at 0x1005d1e0
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 0x1009ed55
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x58
push esi
push edi
mov eax, dword [0x100b7080]
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 [0x100aedb0]
push ecx
push eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0xa4b41
xor ecx, ecx
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x12
jb 0x1005d244
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 0x1005d274
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.1000a3e0
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [edi + 0x50]
call fcn.10018340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005d2e1
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d2d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5b6
push ecx
push edx
call fcn.100812a6
add esp, 8
movzx eax, word [edi + 0xfc]
xorps xmm0, xmm0
mov ecx, eax
test ax, ax
jne 0x1005d40f
mov cl, 0x77
mov byte [ebp - 0x1a], 0
mov al, 0x5a
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 0x1005d322
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 0x1005d3d4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005d3d4
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 0x1005d370
sub ecx, edx
mov dword [ebp - 0x1c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100812b9
push esi
mov edi, eax
push 0
push edi
call fcn.100833b0
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.10082e30
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 [0x100ae5c0]
push edi
call fcn.100812b4
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 0x1005d4bd
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005d408
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5bb
push ecx
push esi
jmp 0x1005d4b5
push ecx
mov ah, 0x30
mov byte [ebp - 0x14], 0
mov cl, 0x15
mov byte [ebp - 0x18], ah
mov dl, 0x54
mov byte [ebp - 0x14], 0
mov al, 0x13
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 0x1005d450
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.1000a3e0
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi + 0x54]
call fcn.10018340
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1005d4bd
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d4b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5c0
push ecx
push edx
call fcn.100812a6
add esp, 8
movzx eax, word [edi + 0xf8]
mov cl, 0x3e
movss xmm1, dword [0x100ae990]
mov dl, 0x22
mov byte [ebp - 0x18], 0x10
sub esp, 0x20
mov byte [ebp - 0x11], 0
movd xmm0, eax
mov al, 0x35
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, 0x76
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 0x1005d540
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.1000a3e0
add esp, 0x24
mov dword [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x58]
call fcn.10018340
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1005d5a2
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d598
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d5c5
push ecx
push edx
call fcn.100812a6
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.1008643f
call fcn.1008643f
call fcn.1008643f
call fcn.1008643f
int3