Function at 0x442230
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 0x52fca3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xc0
push esi
mov dword [ebp - 0x1c], ecx
push edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov byte [ebp - 0x38], 0x87
xor ecx, ecx
movups xmmword [ebp - 0x37], xmm0
mov dword [ebp - 0x27], 0
mov word [ebp - 0x23], 0
mov byte [ebp - 0x21], 0
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 1
jb 0x442296
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x37], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4422c8
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
mov dword [ebp - 0x14], 0x20
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0xf3f4e2ec
cmovae eax, dword [ebp - 0x50]
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x70], 0xe295f1e7
mov dword [ebp - 0x6c], 0xfff5faf6
mov byte [ebp - 0x68], 0x9b
movups xmmword [ebp - 0x67], xmm0
mov dword [ebp - 0x57], 0
mov word [ebp - 0x53], 0
mov byte [ebp - 0x51], 0
nop word [eax + eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0xd
jb 0x442330
mov dword [0x56557c], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x67], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x88], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442370
sub ecx, edx
lea eax, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00402c40
mov dword [ebp - 0x14], 0x24
mov byte [ebp - 4], 4
lea edx, [ebp - 0x9c]
cmp dword [ebp - 0x88], 0x10
cmovae edx, dword [ebp - 0x9c]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4423b0
mov edi, closesocket
sub ecx, esi
mov esi, dword [ebx + 0x30]
mov eax, edi
sub eax, esi
cmp eax, ecx
jb 0x442d30
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push esi
cmovae eax, dword [ebx + 0x20]
push eax
push ecx
push edx
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0xd0]
call fcn.004946d0
mov dword [ebp - 0x14], 0x2c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x80]
call fcn.0048c9d0
mov esi, dword [ebp - 0x1c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov eax, 0x3d
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
cmp ecx, 0x10
jb 0x442482
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442478
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d35
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp ecx, 0x10
jb 0x4424db
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4424d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d35
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x442513
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442509
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d35
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
lea edx, [ebp - 0x80]
cmovae ecx, dword [ebx + 8]
call fcn.0041ac90
test eax, eax
jne 0x442bf2
xorps xmm0, xmm0
mov word [ebp - 0xb8], 0x8b86
movups xmmword [ebp - 0xb6], xmm0
mov dword [ebp - 0xa6], eax
xor ecx, ecx
mov word [ebp - 0xa2], ax
mov byte [ebp - 0xa0], al
nop word [eax + eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0xb8], al
inc ecx
cmp ecx, 2
jb 0x442560
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0xb6], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4425a0
sub ecx, edx
lea eax, [ebp - 0xb8]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00402c40
mov dword [ebp - 0x14], 0xbd
mov byte [ebp - 4], 6
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 0x10
movaps xmm0, xmmword [0x551ff0]
cmovae eax, dword [ebp - 0x38]
xor ecx, ecx
movups xmmword [ebp - 0x79], xmm0
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov word [ebp - 0x69], 0xe8d0
movups xmmword [ebp - 0x67], xmm0
mov dword [ebp - 0x57], 0
mov word [ebp - 0x53], 0
mov byte [ebp - 0x51], 0
nop dword [eax]
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x79], al
inc ecx
cmp ecx, 0x12
jb 0x442600
mov dword [0x5655dc], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x79]
mov byte [ebp - 0x67], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442632
sub ecx, edx
lea eax, [ebp - 0x79]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
mov dword [ebp - 0x14], 0x4bd
mov byte [ebp - 4], 7
lea esi, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
cmovae esi, dword [ebp - 0x50]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442663
sub ecx, edx
mov edx, dword [ebx + 0x30]
sub edi, edx
cmp edi, ecx
jb 0x442d3a
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
push edx
cmovae eax, dword [ebx + 0x20]
push eax
push ecx
push esi
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0xd0]
call fcn.004946d0
mov dword [ebp - 0x14], 0x5bd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
push dword [ebp - 0x18]
call fcn.0048c9d0
mov dword [ebp - 0x8c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x9c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x8c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, 0x7bd
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0x10
jb 0x44273c
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442732
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d3f
push ecx
push edx
call fcn.00504f31
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x44278f
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442785
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d3f
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x4427c7
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4427bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d3f
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp dword [ebp - 0x88], 0x10
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x9c]
cmovae edx, dword [ebp - 0x9c]
push 0
push eax
push 0
push 1
push 0xffffffffffffffff
call fcn.004ea640
mov esi, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
jne 0x442b31
mov dword [ebp - 0x84], 0
mov ecx, esi
call fcn.004c6eb0
cmp eax, 0x64
jne 0x442b31
mov eax, 1
test esi, esi
je 0x44286c
cmp dword [esi + 0x2c], 0
je 0x442847
cmp ax, word [esi + 0x30]
jae 0x442847
mov eax, dword [esi]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44283f
push eax
call dword [0x562d18]
add esp, 4
mov ecx, dword [esi + 0x2c]
add ecx, 0x28
jmp 0x442871
mov eax, dword [esi]
test eax, eax
je 0x44286c
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44285e
push eax
call dword [0x562d18]
add esp, 4
push 0
push 0x19
push dword [esi]
call fcn.004b5810
add esp, 0xc
mov ecx, 0x54a500
mov dl, 1
call fcn.004c3d20
mov edi, eax
mov dword [ebp - 0x18], edi
test esi, esi
je 0x4428d7
mov edi, dword [esi]
mov ecx, dword [esi + 0x64]
test edi, edi
je 0x4428b7
cmp byte [edi + 0x1e], 0
jne 0x44289a
mov edx, edi
cmp ecx, 0xc0a
jne 0x4428b2
push 0
push 7
push edi
call fcn.004b5810
mov byte [edi + 0x1e], 0
add esp, 0xc
mov edx, dword [esi]
mov ecx, 7
mov eax, dword [edi + 0x18]
jmp 0x4428be
mov eax, 0xff
mov edx, edi
and eax, ecx
mov dword [esi + 0x64], eax
mov eax, dword [edx + 0x44]
test eax, eax
je 0x4428d4
push eax
call dword [0x562d20]
add esp, 4
mov edi, dword [ebp - 0x18]
cmp dword [ebp - 0x84], 0
jne 0x4428ee
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.0048c9d0
jmp 0x442a83
mov ecx, edi
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442908
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.00402c40
mov byte [ebp - 4], 0xd
xorps xmm0, xmm0
mov word [ebp - 0x69], 0x9083
xor ecx, ecx
movups xmmword [ebp - 0x67], xmm0
mov dword [ebp - 0x57], 0
mov word [ebp - 0x53], 0
mov byte [ebp - 0x51], 0
nop
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x69], al
inc ecx
cmp ecx, 2
jb 0x442940
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x69]
mov byte [ebp - 0x67], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442972
sub ecx, edx
lea eax, [ebp - 0x69]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
or dword [ebp - 0x14], 2
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x3c], 0x10
lea edx, [ebp - 0x50]
push eax
cmovae edx, dword [ebp - 0x50]
lea ecx, [ebp - 0xb8]
call fcn.00490af0
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.0048ca40
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x4429f8
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4429ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d35
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp ecx, 0x10
jb 0x442a4b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442a41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d35
push ecx
push edx
call fcn.00504f31
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x442a83
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442a79
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d35
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, edi
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x38], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442aa0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.00402c40
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x10
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x442ae2
movups xmm0, xmmword [ebp - 0x38]
mov ecx, 0xf
mov byte [ebp - 0x38], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
add dword [edx + 4], 0x18
jmp 0x442af1
lea ecx, [ebp - 0x38]
push ecx
push eax
mov ecx, edx
call fcn.00499850
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0xc
cmp ecx, 0x10
jb 0x442b26
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442b1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d44
push ecx
push edx
call fcn.00504f31
add esp, 8
inc dword [ebp - 0x84]
jmp 0x442807
test esi, esi
je 0x442ba9
mov edi, dword [esi]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x442b4b
push eax
call dword [0x562d18]
add esp, 4
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x18], 0
cmp eax, 0xbdf20da3
je 0x442b63
cmp eax, 0x519c2973
jne 0x442b6d
mov ecx, esi
call fcn.004c5c80
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.004c5e90
test edi, edi
je 0x442b98
cmp byte [edi + 0x1e], 0
jne 0x442b87
cmp dword [ebp - 0x18], 0xc0a
jne 0x442b98
push 0
push 7
push edi
call fcn.004b5810
add esp, 0xc
mov byte [edi + 0x1e], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x442ba9
push eax
call dword [0x562d20]
add esp, 4
mov ecx, dword [ebp - 0x80]
call fcn.0041b210
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
cmp ecx, 0x10
jb 0x442bef
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442be5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d44
push ecx
push edx
call fcn.00504f31
add esp, 8
mov esi, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov word [ebp - 0x69], 0x8b86
movups xmmword [ebp - 0x67], xmm0
mov dword [ebp - 0x57], 0
xor ecx, ecx
mov word [ebp - 0x53], 0
mov byte [ebp - 0x51], 0
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x69], al
inc ecx
cmp ecx, 2
jb 0x442c12
mov dword [0x565598], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x69]
mov byte [ebp - 0x67], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442c44
sub ecx, edx
lea eax, [ebp - 0x69]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00402c40
or dword [ebp - 0x14], 0x40
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
mov ecx, esi
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.0048c9d0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x442ca9
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442c9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d49
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x442cd9
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442ccf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d49
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x442d1b
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442d11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442d49
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004024b0
call fcn.0050a1d0
call fcn.004024b0
call fcn.0050a1d0
call fcn.0050a1d0
call fcn.0050a1d0
int3