Function at 0x6b6340
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [ebp + 8]
xorps xmm7, xmm7
push esi
push edi
mov edi, ecx
movaps xmm5, xmmword [eax]
movaps xmm4, xmmword [edi + 0x60]
movaps xmm1, xmm5
subps xmm1, xmmword [eax + 0x20]
addps xmm5, xmmword [eax + 0x20]
movaps xmm6, xmmword [edi + 0x40]
lea eax, [edi + 0x60]
movaps xmm2, xmm6
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
addps xmm2, xmm1
movaps xmmword [esp + 0x80], xmm1
addps xmm6, xmm5
movaps xmmword [esp + 0x100], xmm5
mulps xmm2, xmm4
mulps xmm6, xmm4
minps xmm2, xmmword [0x87afb0]
minps xmm6, xmmword [0x87afb0]
maxps xmm2, xmm7
maxps xmm6, xmm7
addps xmm2, xmmword [0x87afe0]
addps xmm6, xmmword [0x87afe0]
movaps xmm0, xmm2
movd eax, xmm2
psrldq xmm0, 4
movd esi, xmm0
movaps xmm0, xmm2
shr eax, 7
movzx eax, ax
mov dword [esp + 0x60], eax
psrldq xmm0, 8
movd edx, xmm0
movaps xmm0, xmm6
shr esi, 7
movzx eax, si
mov dword [esp + 0x64], eax
shr edx, 7
psrldq xmm2, 0xc
movd ecx, xmm2
movzx eax, dx
mov dword [esp + 0x68], eax
shr ecx, 7
movzx eax, cx
mov dword [esp + 0x6c], eax
psrldq xmm0, 4
movd eax, xmm6
movd esi, xmm0
movaps xmm0, xmm6
psrldq xmm0, 8
shr eax, 7
movzx eax, ax
mov dword [esp + 0x30], eax
shr esi, 7
movd edx, xmm0
psrldq xmm6, 0xc
movzx eax, si
mov dword [esp + 0x34], eax
shr edx, 7
movd ecx, xmm6
movzx eax, dx
mov dword [esp + 0x38], eax
shr ecx, 7
movzx eax, cx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xa4]
add eax, 0x10
je 0x6b6484
mov dword [esp + 0x5c], eax
mov ecx, 0x7d8950
lea eax, [esp + 0x5c]
push eax
mov eax, dword [0x7d8950]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xorps xmm7, xmm7
jmp 0x6b648a
xor esi, esi
mov dword [esp + 0x2c], esi
mov edx, dword [edi + 0xa4]
test eax, eax
mov ecx, connect
cmovne ecx, eax
sar edx, 4
mov dword [esp + 0x9c], ecx
mov ecx, esi
test edx, edx
js 0x6b64bd
nop word [eax + eax]
mov eax, ecx
add ecx, 0x10
sub edx, 1
movaps xmmword [eax], xmm7
jns 0x6b64b0
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x30]
mov dword [esp + 0x28], edx
test edx, edx
jne 0x6b64d5
lea edx, [edi + 0xac]
mov dword [esp + 0x28], edx
mov ecx, 1
xor edi, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edi
mov eax, dword [edx + 4]
mov edx, dword [edx]
mov edi, dword [esp + edi + 0x60]
sar eax, 1
mov dword [esp + 0x1c], edi
movzx eax, word [edx + eax*4]
cmp edi, eax
jae 0x6b65a0
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 4]
mov esi, dword [esp + 0x2c]
add eax, 0xfffffffc
lea eax, [edx + eax*4]
add edx, 4
mov dword [esp + 0x20], eax
cmp edx, eax
jae 0x6b654d
nop dword [eax + eax]
movzx eax, word [edx + 0xc]
cmp eax, edi
ja 0x6b654d
movzx eax, word [edx + 2]
xor byte [eax + esi], cl
movzx eax, word [edx + 6]
xor byte [eax + esi], cl
movzx eax, word [edx + 0xa]
xor byte [eax + esi], cl
movzx eax, word [edx + 0xe]
add edx, 0x10
xor byte [eax + esi], cl
cmp edx, dword [esp + 0x20]
jb 0x6b6520
movzx eax, word [edx]
cmp eax, edi
ja 0x6b6565
movzx eax, word [edx + 2]
add edx, 4
xor byte [eax + esi], cl
movzx eax, word [edx]
cmp eax, edi
jbe 0x6b6554
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
mov dword [esp + edi + 0x40], edx
cmp eax, dword [esp + edi + 0x30]
ja 0x6b6597
mov al, byte [edx]
movzx ecx, word [edx + 2]
and al, 1
dec al
add edx, 4
and al, byte [esp + 0x18]
xor byte [ecx + esi], al
movzx eax, word [edx]
cmp eax, dword [esp + edi + 0x30]
jbe 0x6b6576
mov ecx, dword [esp + 0x18]
mov dword [esp + edi + 0x74], edx
jmp 0x6b666a
mov ecx, dword [esp + 0x28]
lea eax, [edx + 0x10]
mov dword [esp + 0x20], eax
mov esi, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
lea edx, [edx + esi*4]
mov esi, dword [esp + 0x2c]
add edx, 0xfffffff8
cmp edx, eax
jb 0x6b6601
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + eax + 0x30]
mov dword [esp + 0x58], eax
movzx eax, word [edx - 0xc]
cmp eax, dword [esp + 0x58]
jbe 0x6b65fd
movzx eax, word [edx + 2]
xor byte [eax + esi], cl
movzx eax, word [edx - 2]
xor byte [eax + esi], cl
movzx eax, word [edx - 6]
xor byte [eax + esi], cl
movzx eax, word [edx - 0xa]
sub edx, 0x10
xor byte [eax + esi], cl
cmp edx, edi
jae 0x6b65d0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax + 0x30]
mov dword [esp + 0x20], eax
movzx eax, word [edx]
cmp eax, dword [esp + 0x20]
jbe 0x6b6629
movzx eax, word [edx + 2]
sub edx, 4
xor byte [eax + esi], cl
movzx eax, word [edx]
cmp eax, dword [esp + 0x20]
ja 0x6b6616
mov esi, dword [esp + 0x14]
lea eax, [edx + 4]
mov dword [esp + esi + 0x74], eax
movzx eax, word [edx]
mov esi, dword [esp + 0x2c]
cmp eax, edi
jbe 0x6b665f
nop
mov al, byte [edx]
movzx ecx, word [edx + 2]
and al, 1
neg al
sub edx, 4
and al, byte [esp + 0x18]
xor byte [ecx + esi], al
movzx eax, word [edx]
cmp eax, edi
ja 0x6b6640
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea eax, [edx + 4]
mov dword [esp + edi + 0x40], eax
mov edx, dword [esp + 0x28]
add edi, 4
add ecx, ecx
mov dword [esp + 0x14], edi
add edx, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
cmp edi, 0xc
jl 0x6b64e4
mov eax, dword [esp + 0x54]
mov edi, esi
movss xmm3, dword [0x718824]
movss dword [esp + 0x18], xmm3
mov ecx, dword [eax + 0xa0]
mov eax, dword [eax + 0xa4]
sar eax, 2
inc eax
lea eax, [esi + eax*4]
mov dword [esp + 0x58], eax
cmp esi, eax
jae 0x6b67de
mov esi, dword [ebp + 0xc]
add ecx, 0x1c
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov eax, dword [edi]
add eax, 0x1010101
test eax, 0x8080808
je 0x6b67ca
cmp byte [edi], 7
jne 0x6b6716
mov edx, dword [ecx - 0x10]
test dl, 1
jne 0x6b6716
mov eax, dword [esi]
mov ecx, esi
push 0
push edx
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [esp + 0x18]
ja 0x6b6716
movss dword [esp + 0x18], xmm0
cmp byte [edi + 1], 7
jne 0x6b6746
mov ecx, dword [ecx]
test cl, 1
jne 0x6b6746
mov eax, dword [esi]
push 0
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [esp + 0x18]
ja 0x6b6746
movss dword [esp + 0x18], xmm0
cmp byte [edi + 2], 7
mov ecx, dword [esp + 0x14]
jne 0x6b6788
mov edx, dword [ecx + 0x10]
test dl, 1
jne 0x6b6788
mov eax, dword [esi]
mov ecx, esi
push 0
push edx
mov eax, dword [eax + 4]
call eax
movss xmm3, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm3
ja 0x6b678e
movaps xmm3, xmm0
movss dword [esp + 0x18], xmm3
jmp 0x6b678e
movss xmm3, dword [esp + 0x18]
cmp byte [edi + 3], 7
jne 0x6b67ca
mov edx, dword [ecx + 0x20]
test dl, 1
jne 0x6b67ca
mov eax, dword [esi]
mov ecx, esi
push 0
push edx
mov eax, dword [eax + 4]
call eax
movss xmm3, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm3
ja 0x6b67ca
movaps xmm3, xmm0
movss dword [esp + 0x18], xmm3
add ecx, 0x40
add edi, 4
mov dword [esp + 0x14], ecx
cmp edi, dword [esp + 0x58]
jb 0x6b66d0
mov ecx, dword [ebp + 8]
xor edi, edi
movaps xmm0, xmmword [ecx + 0x10]
lea eax, [ecx + 0x10]
movss xmm7, dword [0x77f9a4]
xorps xmm4, xmm4
mov esi, dword [esp + 0x54]
subps xmm0, xmmword [ecx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
movaps xmmword [esp + 0x110], xmm0
nop dword [eax]
movss xmm1, dword [esp + edi + 0x110]
movss xmm5, dword [ecx]
mulss xmm1, xmm5
comiss xmm1, xmm4
movaps xmm2, xmm1
andps xmm2, xmmword [0x719120]
jbe 0x6b6853
mov dword [esp + edi + 0xe8], 4
mov dword [esp + edi + 0xf4], 0
mov dword [esp + edi + 0xdc], 1
jmp 0x6b68c2
mov eax, dword [esp + edi + 0x100]
movss xmm0, dword [esp + edi + 0x80]
mov ecx, dword [esp + edi + 0x60]
mov edx, dword [esp + edi + 0x40]
mov dword [esp + edi + 0x80], eax
mov eax, dword [esp + edi + 0x30]
mov dword [esp + edi + 0x60], eax
mov eax, dword [esp + edi + 0x74]
sub eax, 4
mov dword [esp + edi + 0x30], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + edi + 0x40], eax
lea eax, [edx - 4]
mov dword [esp + edi + 0x74], eax
mov eax, dword [esp + 0x20]
mov dword [esp + edi + 0xe8], 0xfffffffc
movss dword [esp + edi + 0x100], xmm0
mov dword [esp + edi + 0xf4], 1
mov dword [esp + edi + 0xdc], 0
movss xmm4, dword [esp + edi + 0x80]
movss xmm6, dword [ecx - 0x20]
addss xmm4, xmm6
mulss xmm4, xmm5
movaps xmm0, xmm4
mulss xmm0, xmm7
comiss xmm0, xmm2
ja 0x6b694a
movaps xmm0, xmm6
addss xmm0, dword [eax]
mulss xmm0, xmm5
mulss xmm0, xmm7
comiss xmm0, xmm2
ja 0x6b694a
movss xmm2, dword [0x718824]
movss xmm0, dword [esp + edi + 0x100]
divss xmm2, xmm1
movss xmm1, dword [esi + 0xdc]
addss xmm0, xmm6
subss xmm4, xmm1
movss dword [esp + edi + 0xa0], xmm2
mulss xmm0, xmm5
mulss xmm4, xmm2
subss xmm0, xmm1
movss dword [esp + edi + 0xc0], xmm4
mulss xmm0, xmm2
movss dword [esp + edi + 0xb0], xmm0
jmp 0x6b696b
mov dword [esp + edi + 0xa0], 0
mov dword [esp + edi + 0xc0], 0xc0000000
mov dword [esp + edi + 0xb0], 0xc0000000
add edi, 4
add eax, 4
add ecx, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], ecx
xorps xmm4, xmm4
cmp edi, 0xc
jl 0x6b6810
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x7c]
movq xmm0, qword [esp + 0x40]
movzx eax, word [eax]
mov esi, dword [esp + 0x2c]
movq qword [esp + 0x80], xmm0
movq xmm0, qword [esp + 0x74]
movd xmm6, eax
mov eax, dword [esp + 0x44]
cvtdq2ps xmm6, xmm6
mov dword [esp + 0x88], ecx
mov dword [esp + 0x68], edx
movzx eax, word [eax]
movq qword [esp + 0x60], xmm0
mulss xmm6, dword [esp + 0xa0]
movd xmm7, eax
movzx eax, word [ecx]
subss xmm6, dword [esp + 0xc0]
cvtdq2ps xmm7, xmm7
movd xmm4, eax
mov eax, dword [esp + 0x74]
mulss xmm7, dword [esp + 0xa4]
cvtdq2ps xmm4, xmm4
movzx eax, word [eax]
subss xmm7, dword [esp + 0xc4]
mulss xmm4, dword [esp + 0xa8]
movd xmm5, eax
mov eax, dword [esp + 0x78]
comiss xmm7, xmm6
movzx eax, word [eax]
subss xmm4, dword [esp + 0xc8]
movd xmm2, eax
movzx eax, word [edx]
cvtdq2ps xmm5, xmm5
mov byte [esi], 8
movd xmm1, eax
mulss xmm5, dword [esp + 0xa0]
cvtdq2ps xmm2, xmm2
subss xmm5, dword [esp + 0xb0]
mulss xmm2, dword [esp + 0xa4]
cvtdq2ps xmm1, xmm1
subss xmm2, dword [esp + 0xb4]
mulss xmm1, dword [esp + 0xa8]
movss dword [esp + 0x30], xmm6
movss dword [esp + 0x34], xmm7
subss xmm1, dword [esp + 0xb8]
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
jbe 0x6b6aa7
comiss xmm4, xmm6
jbe 0x6b6ab1
xor edi, edi
jmp 0x6b6ab6
comiss xmm4, xmm7
mov edi, 1
ja 0x6b6ab6
mov edi, 2
comiss xmm2, xmm5
jbe 0x6b6ac4
comiss xmm1, xmm5
jbe 0x6b6ace
xor edx, edx
jmp 0x6b6ad3
comiss xmm1, xmm2
mov edx, 1
ja 0x6b6ad3
mov edx, 2
mov dword [esp + 0x14], edx
nop word [eax + eax]
movss xmm0, dword [esp + edx*4 + 0x40]
movss xmm1, dword [esp + edi*4 + 0x30]
comiss xmm1, xmm0
jbe 0x6b6c31
comiss xmm0, xmm3
ja 0x6b6d29
mov eax, dword [esp + edx*4 + 0x60]
mov ecx, dword [esp + edx*4 + 0xdc]
mov dword [esp + 0x20], eax
movzx edx, word [eax + 2]
movzx eax, word [eax]
and eax, 1
xor eax, ecx
mov ecx, dword [esp + 0x14]
shl eax, cl
xor byte [esi + edx], al
cmp byte [esi + edx], 7
mov dword [esp + 0x1c], eax
jb 0x6b6b7d
test edx, edx
je 0x6b6be9
mov eax, dword [esp + 0x54]
shl edx, 4
add edx, dword [eax + 0xa0]
cmp dword [esp + 0x1c], 0
je 0x6b6b7d
mov ecx, dword [edx + 0xc]
test cl, 1
jne 0x6b6b7d
mov edx, dword [ebp + 0xc]
push 0
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
call eax
movss xmm3, dword [esp + 0x18]
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, xmm3
ja 0x6b6b7d
movaps xmm3, xmm0
movss dword [esp + 0x18], xmm3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
movzx ecx, word [eax]
mov eax, dword [esp + edx*4 + 0xe8]
add eax, dword [esp + 0x20]
mov dword [esp + edx*4 + 0x60], eax
cmp cx, word [eax]
je 0x6b6afe
movzx eax, word [eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + edx*4 + 0xa0]
subss xmm0, dword [esp + edx*4 + 0xb0]
movss dword [esp + edx*4 + 0x40], xmm0
movss xmm1, dword [esp + 0x44]
movss xmm2, dword [esp + 0x40]
comiss xmm1, xmm2
jbe 0x6b6c18
movss xmm0, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x6b6ace
xor edx, edx
jmp 0x6b6ad3
mov dword [esp + ecx*4 + 0x40], 0x40000000
movss xmm1, dword [esp + 0x44]
movss xmm2, dword [esp + 0x40]
comiss xmm1, xmm2
jbe 0x6b6c18
movss xmm0, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x6b6ace
xor edx, edx
jmp 0x6b6ad3
movss xmm0, dword [esp + 0x48]
comiss xmm0, xmm1
jbe 0x6b6ace
mov edx, 1
jmp 0x6b6ad3
comiss xmm1, xmm3
ja 0x6b6d29
mov cl, byte [esp + edi*4 + 0xf4]
mov eax, dword [esp + edi*4 + 0x80]
movzx edx, word [eax + 2]
movzx eax, byte [eax]
and al, 1
xor al, cl
mov ecx, edi
shl al, cl
xor byte [esi + edx], al
cmp byte [esi + edx], 8
ja 0x6b6cfa
mov edx, dword [esp + edi*4 + 0x80]
mov eax, dword [esp + edi*4 + 0xe8]
add eax, edx
mov dword [esp + edi*4 + 0x80], eax
movzx ecx, word [edx]
cmp cx, word [eax]
mov cl, byte [esp + edi*4 + 0xf4]
je 0x6b6c41
movzx eax, word [eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + edi*4 + 0xa0]
subss xmm0, dword [esp + edi*4 + 0xc0]
movss dword [esp + edi*4 + 0x30], xmm0
movss xmm1, dword [esp + 0x34]
movss xmm2, dword [esp + 0x30]
comiss xmm1, xmm2
jbe 0x6b6cd3
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm2
jbe 0x6b6cec
mov edx, dword [esp + 0x14]
xor edi, edi
jmp 0x6b6ae0
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm1
jbe 0x6b6cec
mov edx, dword [esp + 0x14]
mov edi, 1
jmp 0x6b6ae0
mov edx, dword [esp + 0x14]
mov edi, 2
jmp 0x6b6ae0
mov dword [esp + edi*4 + 0x30], 0x40000000
movss xmm1, dword [esp + 0x34]
movss xmm2, dword [esp + 0x30]
comiss xmm1, xmm2
jbe 0x6b6cd3
movss xmm0, dword [esp + 0x38]
comiss xmm0, xmm2
jbe 0x6b6cec
mov edx, dword [esp + 0x14]
xor edi, edi
jmp 0x6b6ae0
mov eax, dword [esp + 0x9c]
test eax, eax
js 0x6b6d48
and eax, 0x3fffffff
mov ecx, 0x7d8950
push eax
mov eax, dword [0x7d8950]
push esi
call dword [eax + 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8