Function at 0x419020
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 0x522763
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x78
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
cmp byte [ebx + 8], 2
jne 0x419277
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebx + 8]
call fcn.004806f0
mov edx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], edx
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], connect
sub ecx, 1
je 0x4190d6
sub ecx, 1
je 0x4190cb
mov dword [ebp - 0x24], connect
sub eax, 1
je 0x4190d6
sub eax, 1
je 0x4190cb
mov dword [ebp - 0x24], 1
jmp 0x4190de
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
jmp 0x4190de
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.00480220
test al, al
je 0x419277
lea ecx, [ebp - 0x40]
call fcn.00480330
movaps xmm0, xmmword [0x547bb0]
mov edi, eax
mov word [ebp - 0x53], 0xe9ea
xor eax, eax
mov byte [ebp - 0x51], 0xfb
movups xmmword [ebp - 0x50], xmm0
lea ecx, [eax - 0x79]
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 9
jb 0x419113
xorps xmm0, xmm0
mov dword [0x55d630], eax
lea ecx, [ebp - 0x53]
mov byte [ebp - 0x4a], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x58], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419144
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00402b80
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
mov ecx, edi
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.00486ff0
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00487130
cmp dword [ebx + 0x2c], 0x10
lea ecx, [ebx + 0x18]
cmovae ecx, dword [ebx + 0x18]
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x419195
mov eax, dword [eax]
push dword [ebx + 0x28]
push ecx
mov ecx, eax
call fcn.00492d00
mov ecx, dword [ebp - 0x70]
add esp, 8
mov byte [ebp - 0x11], al
cmp ecx, 0x10
jb 0x4191dd
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4191d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419315
push ecx
push edx
call fcn.004fb0f1
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0x10
jb 0x41922a
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419220
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419315
push ecx
push edx
call fcn.004fb0f1
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x4192c0
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
sub eax, 1
je 0x41924f
sub eax, 1
je 0x419249
inc dword [ebp - 0x34]
jmp 0x419263
add dword [ebp - 0x38], 0x10
jmp 0x419263
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
call fcn.004844c0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x40]
call fcn.00480220
test al, al
jne 0x4190f2
xorps xmm0, xmm0
lea ecx, [ebx + 8]
movq qword [esi + 8], xmm0
mov byte [esi], 5
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00480b00
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x10
jb 0x419300
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4192f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419315
jmp 0x4192f6
push edi
mov ecx, esi
call fcn.00480b60
lea ecx, [ebx + 8]
call fcn.00480b00
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0x10
jb 0x419300
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4192f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419315
push ecx
push edx
call fcn.004fb0f1
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.00500390
int3