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

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 0x4d47b6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x51808c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebx + 8]
lea edi, [eax + 0xa0]
mov esi, dword [ebx + 0xc]
lea eax, [ebp - 0xd0]
push esi
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], ecx
mov ecx, edi
push eax
call fcn.00411ab0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xa8], eax
cmp byte [eax + 0xd], 0
jne 0x457de6
cmp dword [eax + 0x24], 0x10
lea edx, [eax + 0x10]
jb 0x457dbe
mov edx, dword [eax + 0x10]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x457dc8
mov ecx, dword [esi]
push dword [eax + 0x20]
push edx
mov edx, dword [esi + 0x10]
call fcn.00411ee0
shr eax, 0x1f
add esp, 8
test al, al
jne 0x457de6
mov edx, dword [ebp - 0xc8]
jmp 0x457dee
mov edx, dword [edi]
mov dword [ebp - 0xa8], edx
cmp edx, dword [edi]
jne 0x457e24
mov esi, dword [ebp - 0xd8]
mov ecx, esi
push 0
push 0x503319
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.0040a470
mov eax, esi
jmp 0x458765
xor eax, eax
xor edi, edi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xc8], eax
xor ecx, ecx
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], cl
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x457fd0
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x458785
cmp dword [esi + 0x14], 0x10
jb 0x457e88
mov esi, dword [esi]
push ecx
push esi
push 1
push 0x504c34
push ecx
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x74]
call fcn.0042f1f0
push str._options:_n
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.0040a5a0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x5c], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmmword [ebp - 0x44], xmm1
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
movd eax, xmm1
push ecx
cmovae edx, eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x18]
sub eax, esi
push edx
cmp ecx, eax
ja 0x457f42
cmp dword [ebp - 0x18], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add esi, eax
push esi
call fcn.004a6ab0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0xb0]
mov byte [eax + esi], 0
jmp 0x457f5b
mov byte [ebp - 0xb0], 0
push dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x457f92
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x457f88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45878a
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x457fca
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457fc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45878a
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov edx, dword [ebp - 0xa8]
mov ecx, dword [edx + 0x58]
mov eax, dword [edx + 0x5c]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb0], eax
cmp ecx, eax
je 0x458200
lea esi, [ecx + 0x18]
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0xb4], esi
jb 0x458004
mov eax, dword [esi]
mov dword [ebp - 0xb4], eax
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x45802e
mov edi, dword [ebp - 0xb4]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x458016
mov edi, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xe0]
push edx
push esi
push eax
lea ecx, [ecx + 0x80]
call fcn.0045d340
mov ecx, dword [ebp - 0xbc]
mov eax, dword [eax + 4]
test eax, eax
jne 0x45805b
mov eax, dword [ecx + 0x84]
cmp eax, dword [ecx + 0x84]
je 0x45806d
cmp byte [ecx + 0x60], 0
je 0x4581ca
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0x5c]
call fcn.00455060
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 0
cmovb ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x8c]
call fcn.00411530
movups xmm1, xmmword [ebp - 0x44]
mov byte [ebp - 0x44], 0
movq xmm2, qword [ebp - 0x34]
movups xmmword [ebp - 0x74], xmm1
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x64], xmm2
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 4], 7
cmp edi, dword [ebp - 0xd4]
je 0x458162
movups xmm0, xmmword [ebp - 0x8c]
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x8c], 0
movq xmm0, qword [ebp - 0x7c]
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
movups xmmword [edi + 0x18], xmm1
mov dword [ebp - 0x7c], 0
movq qword [edi + 0x28], xmm2
add edi, 0x30
mov dword [ebp - 0x78], 0xf
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 0xcc], edi
jmp 0x458187
lea eax, [ebp - 0x8c]
push eax
push edi
lea ecx, [ebp - 0xd0]
call fcn.0045bcc0
mov eax, dword [ebp - 0xc8]
mov edi, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
lea ecx, [ebp - 0x8c]
call fcn.0040b2c0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4581ca
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4581c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45878a
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov ecx, dword [ebp - 0xac]
add esi, 0x9c
add ecx, 0x9c
mov dword [ebp - 0xac], ecx
cmp ecx, dword [ebp - 0xb0]
jne 0x457ff0
mov eax, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xb4], eax
mov esi, dword [ebp - 0xc0]
mov eax, 0x1e
cmp esi, eax
mov dword [ebp - 0xb0], 0xa
cmova esi, eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], esi
mov ecx, dword [eax + 0x64]
lea eax, [esi + 0xc]
cmp ecx, eax
jbe 0x45823d
mov eax, ecx
sub eax, esi
sub eax, 2
mov dword [ebp - 0xb0], eax
mov eax, dword [edx + 0x58]
mov dword [ebp - 0xc4], eax
mov eax, dword [edx + 0x5c]
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xdc], eax
cmp edx, eax
je 0x4586bb
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb4]
sub eax, 0xffffff80
mov dword [ebp - 0xe4], eax
add ecx, 0x10
lea eax, [edx + 0x18]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xac], eax
cmp dword [eax + 0x14], 0x10
mov esi, eax
jb 0x45828e
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [eax + 0x10], ecx
jbe 0x4582be
mov edi, dword [ebp - 0xac]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x4582a0
mov edi, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xac]
mov esi, dword [ebp - 0xe4]
mov ecx, esi
push edx
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0045d340
mov eax, dword [eax + 4]
test eax, eax
jne 0x4582de
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0xbc]
cmp eax, dword [edx + 0x84]
je 0x4582f6
cmp byte [edx + 0x60], 0
je 0x45868c
movzx eax, byte [edx + 0x68]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc4]
add ecx, 2
push eax
push dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.004557e0
add esp, 0xc
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 4], 8
cmp dword [eax + 4], 0x10
lea edx, [eax - 0x10]
jb 0x458331
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0xb8], ecx
push ecx
push edx
cmp ecx, eax
ja 0x45836f
cmp dword [ebp - 0x18], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add esi, eax
push esi
call fcn.004a6ab0
mov eax, dword [ebp - 0xb8]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x458385
mov byte [ebp - 0xe8], 0
push dword [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
mov ecx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xc0]
mov ecx, dword [ecx]
cmp ecx, esi
jbe 0x4584be
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jae 0x4583bd
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax + ecx], 0xa
jmp 0x4583d5
push 0xa
mov byte [ebp - 0xec], 0
push dword [ebp - 0xec]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00417360
push 0x20
lea eax, [esi + 2]
mov dword [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00413120
movups xmm1, xmmword [ebp - 0x44]
mov byte [ebp - 0x44], 0
movq xmm0, qword [ebp - 0x34]
movups xmmword [ebp - 0xa4], xmm1
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x94], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0xa4]
cmp dword [ebp - 0x90], 0x10
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x94]
movd eax, xmm1
push ecx
cmovae edx, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
sub eax, esi
push edx
cmp ecx, eax
ja 0x458493
cmp dword [ebp - 0x18], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add esi, eax
push esi
call fcn.004a6ab0
mov eax, dword [ebp - 0x94]
add esp, 0xc
mov ecx, dword [ebp - 0xb8]
mov byte [ebp - 4], 9
mov byte [eax + esi], 0
mov eax, dword [ebp - 0x90]
jmp 0x45857f
mov byte [ebp - 0xf0], 0
push dword [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
mov ecx, dword [ebp - 0xa4]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x90]
jmp 0x45857f
sub esi, ecx
mov dword [ebp - 0x44], 0
push 0x20
add esi, 2
mov dword [ebp - 0x34], 0
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00413120
movups xmm1, xmmword [ebp - 0x44]
mov byte [ebp - 0x44], 0
movq xmm0, qword [ebp - 0x34]
movups xmmword [ebp - 0x74], xmm1
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x74]
cmp dword [ebp - 0x60], 0x10
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x64]
movd eax, xmm1
push ecx
cmovae edx, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
sub eax, esi
push edx
cmp ecx, eax
ja 0x45855f
cmp dword [ebp - 0x18], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add esi, eax
push esi
call fcn.004a6ab0
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov ecx, dword [ebp - 0xb8]
mov byte [eax + esi], 0
jmp 0x458578
mov byte [ebp - 0xf4], 0
push dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x4585af
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4585a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45878a
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov byte [ebp - 4], 8
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov ecx, dword [ebp - 0x4c]
cmovae edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0xb8], ecx
push ecx
push edx
cmp ecx, eax
ja 0x4585fd
cmp dword [ebp - 0x18], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add esi, eax
push esi
call fcn.004a6ab0
mov eax, dword [ebp - 0xb8]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x458613
mov byte [ebp - 0xf8], 0
push dword [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040acf0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jae 0x458635
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov word [eax + ecx], 0xa
jmp 0x45864d
push 0xa
mov byte [ebp - 0xfc], 0
push dword [ebp - 0xfc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00417360
add dword [ebp - 0xa8], 0x30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x45868c
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458682
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45878a
push edx
push ecx
call fcn.004a4ef3
add esp, 8
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xac]
add edx, 0x9c
add eax, 0x9c
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xac], eax
cmp edx, dword [ebp - 0xdc]
jne 0x458284
mov eax, dword [ebp - 0xd8]
movups xmm0, xmmword [ebp - 0x2c]
mov byte [ebp - 0x2c], 0
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
test eax, eax
je 0x45875f
mov esi, eax
cmp esi, edi
je 0x458716
mov ecx, esi
call fcn.0040b2c0
add esi, 0x30
cmp esi, edi
jne 0x458708
mov esi, dword [ebp - 0xb4]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0xd4]
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x458755
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45878f
push ecx
push esi
call fcn.004a4ef3
add esp, 8
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4a5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00408730
call fcn.004aae73
call fcn.004aae73
int3