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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511c2e
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x55ca98]
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 [0x518640]
mov byte [ecx], al
mov byte [ecx + 1], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push edx
call fcn.00404bb0
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
push eax
mov ecx, edi
call fcn.004834d0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 1
call fcn.0047ffe0
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 0x482131
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 0x481b41
mov ecx, dword [ecx]
mov dword [ebp - 0x64], ecx
cmp esi, 0x7fffffff
ja 0x48245d
cmp esi, 0x10
jae 0x481b66
mov eax, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x28], xmm0
jmp 0x481bba
mov eax, esi
mov dword [ebp - 0x14], 0xf
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x481b80
mov eax, closesocket
jmp 0x481b86
cmp eax, 0x16
cmovb eax, edx
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x28]
inc eax
push eax
call fcn.0040b130
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 0x481bf6
mov edi, dword [ebp - 0x64]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x481be2
mov edi, dword [ebp - 0x78]
push edx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.0043a5f0
cmp dword [eax + 4], 0
je 0x481d68
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 0x481c48
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x481c31
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.0043a5f0
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x481c73
mov edi, dword [eax + 0x20]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edi
jmp 0x4820b6
cmp dword [edi + 8], 0x71c71c7
je 0x482453
lea eax, [edi + 4]
mov dword [ebp - 0xd8], eax
push 0x24
mov byte [ebp - 4], 4
mov dword [ebp - 0xd4], 0
call fcn.0050945c
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.00404bb0
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 + 0x5145a0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5145a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x481d3b
mov ecx, edi
call fcn.0043ce80
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.0043a5f0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], eax
jmp 0x481d44
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.0043cd90
mov ecx, dword [ebp - 0x28]
mov edi, dword [eax + 0x20]
mov dword [ebp - 0x78], edi
jmp 0x4820b6
cmp byte [edi + 0x60], 0
je 0x4821ed
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 0x481d89
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 0x481dbb
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 0x481da0
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.0043a5f0
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x481de1
mov ecx, dword [ebp - 0x74]
jmp 0x481f00
cmp dword [ebp - 0xb8], 0x4924924
je 0x482453
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xe0], eax
push 0x38
mov byte [ebp - 4], 6
mov dword [ebp - 0xdc], 0
call fcn.0050945c
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.00404bb0
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 + 0x5145a0]
mov eax, dword [ebp - 0xa4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5145a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebp - 0xc0]
seta al
test al, al
je 0x481ed3
lea ecx, [ebp - 0xc0]
call fcn.0043ce80
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.0043a5f0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], eax
jmp 0x481edc
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.0043cd90
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 0x481f20
cmp dword [ebp - 0x14], 0x10
mov eax, edx
push esi
cmovae eax, ecx
mov ecx, dword [ebp - 0x68]
push eax
call fcn.0040b510
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.0043a5f0
mov eax, dword [eax + 4]
test eax, eax
je 0x482176
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.0047e5c0
mov esi, eax
mov ecx, edi
push esi
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0043a5f0
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x4820a5
cmp dword [edi + 8], 0x71c71c7
je 0x482453
lea ecx, [edi + 4]
mov dword [ebp - 0x94], ecx
push 1
mov byte [ebp - 4], 9
mov dword [ebp - 0x90], eax
call fcn.00481990
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 + 0x5145a0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5145a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x482089
mov ecx, edi
call fcn.0043ce80
mov eax, dword [ebp - 0x70]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.0043a5f0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
jmp 0x48208f
mov ecx, dword [ebp - 0x84]
push dword [ebp - 0x70]
mov dword [ebp - 0x90], 0
push ecx
push esi
mov ecx, edi
call fcn.0043cd90
mov edi, dword [eax + 0x20]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x78], edi
call fcn.00406190
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x4820eb
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4820e1
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4821c6
push edx
push ecx
call fcn.0050948c
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 0x481b10
mov esi, dword [ebp - 0x7c]
cmp dword [edi + 0x44], 0
je 0x4823f7
mov dword [ebp - 0x68], esi
mov dword [esi + 0x24], 0
mov ecx, dword [edi + 0x44]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x48215a
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.0047e1d0
jmp 0x48241e
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], 0
call fcn.0047ffe0
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x7c]
mov ecx, esi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0047dee0
lea ecx, [ebp - 0x60]
call fcn.00480470
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4821d6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4821cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4821cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050948c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x48241e
cmp byte [edi + 0x61], 0
je 0x4823df
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 0x482224
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0xc0]
call fcn.0043a5f0
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x482374
cmp dword [ebp - 0xb8], 0x4924924
je 0x482453
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x84], eax
push 0x38
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x80], 0
call fcn.0050945c
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 + 0x5145a0]
mov eax, dword [ebp - 0xa4]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5145a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebp - 0xc0]
seta al
test al, al
je 0x48235e
lea ecx, [ebp - 0xc0]
call fcn.0043ce80
mov eax, dword [ebp - 0x80]
lea ecx, [ebp - 0xc0]
push esi
add eax, 8
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0043a5f0
mov ecx, dword [eax]
jmp 0x482364
mov ecx, dword [ebp - 0x94]
push dword [ebp - 0x80]
push ecx
push esi
lea ecx, [ebp - 0xc0]
call fcn.0043cd90
add eax, 0x20
mov dword [eax + 0x10], 1
cmp dword [eax + 0x14], 0x10
jb 0x482386
mov eax, dword [eax]
mov word [eax], 0x2a
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 0x10
jb 0x4823c5
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4823bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4823bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050948c
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.0047dfe0
jmp 0x4821a0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], 0
call fcn.0047ffe0
mov byte [ebp - 4], 0xf
jmp 0x482189
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], 0
call fcn.0047ffe0
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x12
push eax
mov ecx, esi
call fcn.0047dee0
lea ecx, [ebp - 0x60]
call fcn.00480470
lea ecx, [ebp - 0xc0]
call fcn.00480470
lea ecx, [ebp - 0xa0]
call fcn.00452550
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.005091c5
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.0040b100
int3