Function at 0x10058eb0
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 0x102198b5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x102e2740]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x7c], edi
cmp dword [eax + 4], 0
je 0x10059163
xorps xmm0, xmm0
mov dword [ebp - 0x4c], eax
movlpd qword [ebp - 0x1c], xmm0
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edx
test eax, eax
je 0x10058f6d
mov eax, closesocket
cdq
idiv dword [ebp - 0x54]
cmp eax, 1
jl 0x10059183
mov eax, dword [ebp - 0x54]
test eax, eax
jle 0x10058f5e
mov ecx, eax
call fcn.100710f0
mov esi, eax
mov eax, dword [ebp - 0x54]
jmp 0x10058f60
xor esi, esi
mov ecx, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov edx, eax
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x54], eax
test edx, edx
jle 0x10059025
movsd xmm4, qword [0x102d3680]
mov edi, dword [ebx + 8]
mov edx, dword [edi + 4]
mov ecx, edx
imul ecx, eax
mov eax, dword [edi]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x24], edx
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x2c]
push eax
call fcn.1009a020
mov edx, dword [edi + 4]
add esp, 4
mov eax, dword [edi]
mov ecx, edx
imul ecx, dword [ebp - 0x54]
movaps xmm3, xmm0
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x30], edx
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.1009a230
mov eax, dword [ebp - 0x54]
addsd xmm0, xmm3
add esp, 4
mulsd xmm0, xmm4
movsd qword [esi + eax*8], xmm0
inc eax
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x58]
jl 0x10058f85
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0
lea edx, [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x20], 0
cmp eax, dword [edx]
jne 0x1005904f
xorps xmm0, xmm0
movq qword [edi], xmm0
jmp 0x1005905c
mov dword [edi], 0
mov dword [edi + 4], 0
movss xmm1, dword [0x102d3880]
xor eax, eax
mov dword [edi + 8], 0
cmp ecx, 4
jl 0x100590d3
lea edx, [ecx - 3]
nop word [eax + eax]
movsd xmm0, qword [esi + eax*8]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmm1
movss dword [edi + eax*4], xmm0
movsd xmm0, qword [esi + eax*8 + 8]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmm1
movss dword [edi + eax*4 + 4], xmm0
movsd xmm0, qword [esi + eax*8 + 0x10]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmm1
movss dword [edi + eax*4 + 8], xmm0
movsd xmm0, qword [esi + eax*8 + 0x18]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmm1
movss dword [edi + eax*4 + 0xc], xmm0
add eax, 4
cmp eax, edx
jl 0x10059080
jmp 0x100590f2
test ecx, ecx
jle 0x100590f6
nop word [eax + eax]
movsd xmm0, qword [esi + eax*8]
cvtpd2ps xmm0, xmm0
xorps xmm0, xmm1
movss dword [edi + eax*4], xmm0
inc eax
cmp eax, ecx
jl 0x100590e0
movq xmm0, qword [ebp - 0x44]
lea ecx, [ebp - 0xac]
mov eax, dword [ebp - 0x3c]
movq qword [ebp - 0x74], xmm0
movq xmm0, qword [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x48]
movq qword [ebp - 0x68], xmm0
movups xmm0, xmmword [ebp - 0x78]
mov dword [ebp - 0x60], eax
movups xmmword [ebp - 0xa8], xmm0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [ebp - 0x98], xmm0
call fcn.10064cb0
movsd xmm1, qword [0x102d36a8]
divsd xmm1, xmm0
mov eax, dword [ebp - 0x84]
cvtpd2ps xmm0, xmm1
movss dword [eax], xmm0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10059163
push dword [eax - 4]
call fcn.101fcf0c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101e9427
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.1004cf20
int3