Function at 0x440160
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 0x506e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xe0
mov eax, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
push esi
push edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov edi, 1
mov dword [ebp - 0x24], edi
call fcn.0043f010
mov edx, eax
test edx, edx
je 0x4405dd
mov ecx, edx
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4401f0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402810
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x1e], 0x839fb9b5
mov dword [ebp - 0x1a], 0x95888f9f
mov word [ebp - 0x16], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1e], al
inc ecx
cmp ecx, 8
jb 0x440220
lea eax, [ebp - 0x1e]
mov byte [ebp - 0x15], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00465770
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0043f240
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x4405a5
nop dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x4405f8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x520800
push ecx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.0046d420
or edi, 8
mov dword [ebp - 0x24], edi
push esi
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call fcn.004657e0
or edi, 0x10
mov dword [ebp - 0x24], edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0x10
jb 0x440328
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44031e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405f3
push ecx
push edx
call fcn.004dcbd1
add esp, 8
movaps xmm0, xmmword [0x526110]
xor eax, eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x9989d48d
mov dword [ebp - 0x2c], 0x100ce9e
nop
lea ecx, [eax - 0x17]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x16
jb 0x440360
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x29], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440377
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp - 0x90]
sub eax, edx
cmp eax, ecx
jb 0x4405f8
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
push ecx
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.0046d420
or edi, 4
mov dword [ebp - 0x24], edi
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x11]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
push eax
cmovae ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x88]
call fcn.0043f4c0
sub esp, 0x14
lea eax, [ebp - 0x88]
mov ecx, esp
push eax
call fcn.00465a60
mov dl, byte [ebp - 0x11]
lea ecx, [ebp - 0xb8]
call fcn.0043fa40
add esp, 0x18
push esi
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 8
call fcn.00465a60
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd4]
call fcn.00465a60
or edi, 2
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xec]
mov edx, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x44046e
call fcn.00479350
add dword [edx + 4], 0x30
jmp 0x440476
push ecx
mov ecx, edx
call fcn.00471130
lea ecx, [ebp - 0xec]
call fcn.0041dad0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x4404bf
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4404b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405f3
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp ecx, 0x10
jb 0x440515
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44050b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405f3
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x44054d
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x440543
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405f3
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0x10
jb 0x440599
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44058f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405f3
push ecx
push edx
call fcn.004dcbd1
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0x1c]
jne 0x440270
lea ecx, [ebp - 0x20]
call fcn.00467c60
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x4405dd
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4405d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4405f3
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e1e70
call fcn.00402040
int3