Function at 0x406050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ef4d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x450040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
lea ecx, [ebp - 0x58]
call fcn.00404f30
mov esi, eax
push ecx
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00407920
add esp, 4
push esi
push eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
call fcn.00408ec0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x4060f3
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4060e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062db
push ecx
push edx
call fcn.0041cdc8
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x40613d
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406133
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062db
push ecx
push edx
call fcn.0041cdc8
add esp, 8
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmp edi, 0xf
mov dword [ebp - 0x48], 0
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
test esi, esi
je 0x406184
mov edi, eax
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x406170
mov edi, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x28]
mov ecx, 0x4524f0
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040ab20
mov edx, dword [0x4524f4]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x4524f4]
je 0x4061d7
lea eax, [edx + 0x20]
cmp ebx, eax
je 0x40628a
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x4061c2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.004045b0
mov edi, dword [ebp - 0x14]
mov bl, 1
jmp 0x406290
cmp edi, 0xf
lea eax, [ebp - 0x28]
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x406205
mov edi, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4061f1
mov edi, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x28]
mov ecx, 0x452510
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040ab20
mov edx, dword [0x452514]
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x452514]
je 0x40628e
lea eax, [edx + 0x20]
cmp ebx, eax
je 0x40624a
cmp dword [eax + 0x14], 0xf
mov ecx, eax
jbe 0x40623f
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.004045b0
cmp dword [0x4524f8], 0x3e8
jne 0x406260
mov ecx, 0x4524f0
call fcn.00406700
lea eax, [ebp - 0x28]
mov ecx, 0x4524f0
push eax
call fcn.00406630
cmp eax, ebx
je 0x406287
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x40627c
mov ecx, dword [ebx]
push dword [ebx + 0x10]
push ecx
mov ecx, eax
call fcn.004045b0
mov edi, dword [ebp - 0x14]
mov bl, 1
jmp 0x406290
xor bl, bl
cmp edi, 0xf
jbe 0x4062bd
mov ecx, dword [ebp - 0x28]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x4062b3
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062e0
push edi
push ecx
call fcn.0041cdc8
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cb34
mov esp, ebp
pop ebp
ret
call fcn.004217fa
call fcn.004217fa
int3