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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5583ae
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x78], edi
mov esi, dword [ebp + 8]
sub esp, 0x18
mov edx, dword [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0xe4], esi
xorps xmm0, xmm0
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x68], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 0xf
mov al, byte [0x559db8]
mov byte [ecx], al
mov byte [ecx + 1], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push edx
call fcn.00409bc0
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, edi
call fcn.0048b2c0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 1
call fcn.00487ce0
xor ecx, ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x88], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x9c]
sub ecx, dword [ebp - 0xa0]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x489f21
xor esi, esi
mov dword [ebp - 0x8c], esi
lea edx, [esi + 0x16]
nop dword [eax + eax]
mov ecx, dword [ebp - 0xa0]
xorps xmm0, xmm0
add ecx, esi
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x64], ecx
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x70], esi
jb 0x489931
mov ecx, dword [ecx]
mov dword [ebp - 0x64], ecx
cmp esi, 0x7fffffff
ja 0x48a24d
cmp esi, 0x10
jae 0x489956
mov eax, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x28], xmm0
jmp 0x4899aa
mov eax, esi
mov dword [ebp - 0x14], 0xf
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x489970
mov eax, closesocket
jmp 0x489976
cmp eax, 0x16
cmovb eax, edx
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x28]
inc eax
push eax
call fcn.00410930
mov ecx, eax
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x14], eax
lea eax, [esi + 1]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x28], ecx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x70], esi
cmp eax, 0x10
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, eax
mov dword [ebp - 0x74], eax
setae byte [ebp - 0x69]
mov dword [ebp - 0x64], ecx
xor ecx, ecx
mov edx, 0x811c9dc5
test esi, esi
je 0x4899e6
mov edi, dword [ebp - 0x64]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4899d2
mov edi, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00441f60
cmp dword [eax + 4], 0
je 0x489b58
cmp byte [ebp - 0x69], 0
lea eax, [ebp - 0x28]
mov edx, 0x811c9dc5
cmovne eax, dword [ebp - 0x74]
xor ecx, ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x64], edx
test esi, esi
je 0x489a38
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x489a21
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x64], edx
push edx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00441f60
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x489a63
mov edi, dword [eax + 0x20]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edi
jmp 0x489ea6
cmp dword [edi + 8], 0x71c71c7
je 0x48a243
lea eax, [edi + 4]
mov dword [ebp - 0xd8], eax
push 0x24
mov byte [ebp - 4], 4
mov dword [ebp - 0xd4], 0
call fcn.0054f9cc
add esp, 4
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xd4], eax
lea esi, [eax + 8]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00409bc0
mov dword [esi + 0x18], 0
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 5
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x489b2b
mov ecx, edi
call fcn.004447f0
mov eax, dword [ebp - 0x74]
mov ecx, edi
mov esi, dword [ebp - 0x64]
add eax, 8
push esi
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00441f60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], eax
jmp 0x489b34
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ebp - 0x64]
push dword [ebp - 0x74]
mov dword [ebp - 0xd4], 0
push ecx
push esi
mov ecx, edi
call fcn.00444700
mov ecx, dword [ebp - 0x28]
mov edi, dword [eax + 0x20]
mov dword [ebp - 0x78], edi
jmp 0x489ea6
cmp byte [edi + 0x60], 0
je 0x489fdd
cmp dword [edi + 0x5c], 0x10
lea eax, [edi + 0x48]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x78], eax
jb 0x489b79
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x64], edx
cmp dword [eax + 0x10], ecx
jbe 0x489bab
mov esi, dword [ebp - 0x78]
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x68]
jb 0x489b90
mov esi, dword [ebp - 0x70]
lea eax, [edi + 0x48]
mov dword [ebp - 0x64], edx
push edx
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00441f60
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x489bd1
mov ecx, dword [ebp - 0x74]
jmp 0x489cf0
cmp dword [ebp - 0xb8], 0x4924924
je 0x48a243
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xe0], eax
push 0x38
mov byte [ebp - 4], 6
mov dword [ebp - 0xdc], 0
call fcn.0054f9cc
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xdc], eax
lea esi, [eax + 8]
lea eax, [edi + 0x48]
mov ecx, esi
push eax
call fcn.00409bc0
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
mov eax, dword [ebp - 0xb8]
inc eax
mov byte [ebp - 4], 7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
mov eax, dword [ebp - 0xa4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebp - 0xc0]
seta al
test al, al
je 0x489cc3
lea ecx, [ebp - 0xc0]
call fcn.004447f0
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xc0]
mov esi, dword [ebp - 0x64]
add eax, 8
push esi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00441f60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], eax
jmp 0x489ccc
mov ecx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0x64]
push dword [ebp - 0x70]
mov dword [ebp - 0xdc], 0
push ecx
push esi
lea ecx, [ebp - 0xc0]
call fcn.00444700
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 3
add eax, 0x20
lea edx, [ebp - 0x28]
mov dword [ebp - 0x68], eax
cmp eax, edx
je 0x489d10
cmp dword [ebp - 0x14], 0x10
mov eax, edx
push esi
cmovae eax, ecx
mov ecx, dword [ebp - 0x68]
push eax
call fcn.00410d70
push 0x811c9dc5
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0xf0]
mov ecx, edi
movups xmmword [ebp - 0x40], xmm0
push eax
mov byte [ebp - 0x40], 0
call fcn.00441f60
mov eax, dword [eax + 4]
test eax, eax
je 0x489f66
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.004862c0
mov esi, eax
mov ecx, edi
push esi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00441f60
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x489e95
cmp dword [edi + 8], 0x71c71c7
je 0x48a243
lea ecx, [edi + 4]
mov dword [ebp - 0x94], ecx
push 1
mov byte [ebp - 4], 9
mov dword [ebp - 0x90], eax
call fcn.00489780
xorps xmm0, xmm0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x90], eax
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x48]
movq qword [eax + 0x18], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [eax + 0x20], 0
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 0xa
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x489e79
mov ecx, edi
call fcn.004447f0
mov eax, dword [ebp - 0x70]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00441f60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
jmp 0x489e7f
mov ecx, dword [ebp - 0x84]
push dword [ebp - 0x70]
mov dword [ebp - 0x90], 0
push ecx
push esi
mov ecx, edi
call fcn.00444700
mov edi, dword [eax + 0x20]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x78], edi
call fcn.0040b9a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x489edb
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x489ed1
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x489fb6
push edx
push ecx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x9c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x8c]
inc dword [ebp - 0x88]
add esi, 0x18
imul ecx
mov dword [ebp - 0x8c], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 0x16
cmp dword [ebp - 0x88], eax
jb 0x489900
mov esi, dword [ebp - 0x7c]
cmp dword [edi + 0x44], 0
je 0x48a1e7
mov dword [ebp - 0x68], esi
mov dword [esi + 0x24], 0
mov ecx, dword [edi + 0x44]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x489f4a
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x69]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [esi + 0x28]
call fcn.00485ed0
jmp 0x48a20e
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], 0
call fcn.00487ce0
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x7c]
mov ecx, esi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00485be0
lea ecx, [ebp - 0x60]
call fcn.004881d0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x489fc6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x489fbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x489fbc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x48a20e
cmp byte [edi + 0x61], 0
je 0x48a1cf
xorps xmm0, xmm0
mov dword [ebp - 0x30], 2
movups xmmword [ebp - 0x40], xmm0
mov eax, 0x2a2a
mov dword [ebp - 0x2c], 0xf
mov word [ebp - 0x40], ax
mov byte [ebp - 0x3e], 0
mov byte [ebp - 4], 0xc
mov esi, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x40]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, 2
jb 0x48a014
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xc0]
call fcn.00441f60
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x48a164
cmp dword [ebp - 0xb8], 0x4924924
je 0x48a243
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x84], eax
push 0x38
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x80], 0
call fcn.0054f9cc
xorps xmm0, xmm0
mov dword [ebp - 0x80], eax
add esp, 4
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [eax + 0x18], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
movups xmmword [eax + 0x20], xmm0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0xf
mov byte [eax + 0x20], 0
mov eax, dword [ebp - 0xb8]
inc eax
mov byte [ebp - 4], 0xe
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
mov eax, dword [ebp - 0xa4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x619ef0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebp - 0xc0]
seta al
test al, al
je 0x48a14e
lea ecx, [ebp - 0xc0]
call fcn.004447f0
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0xc0]
push esi
add eax, 8
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00441f60
mov ecx, dword [eax]
jmp 0x48a154
mov ecx, dword [ebp - 0x94]
push dword [ebp - 0x80]
push ecx
push esi
lea ecx, [ebp - 0xc0]
call fcn.00444700
add eax, 0x20
mov dword [eax + 0x10], 1
cmp dword [eax + 0x14], 0x10
jb 0x48a176
mov eax, dword [eax]
mov word [eax], 0x2a
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x48a1b5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48a1ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48a1ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0xc0]
push eax
lea eax, [edi + 0x20]
mov ecx, esi
push eax
call fcn.00485ce0
jmp 0x489f90
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], 0
call fcn.00487ce0
mov byte [ebp - 4], 0xf
jmp 0x489f79
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], 0
call fcn.00487ce0
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x12
push eax
mov ecx, esi
call fcn.00485be0
lea ecx, [ebp - 0x60]
call fcn.004881d0
lea ecx, [ebp - 0xc0]
call fcn.004881d0
lea ecx, [ebp - 0xa0]
call fcn.0045a0f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
call fcn.00410900
int3