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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x477edc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4791ac], 0
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x64], eax
mov ebx, ecx
mov al, byte [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x4d], al
mov dword [ebp - 0x60], edi
je 0x43c936
mov eax, dword [0x4791ac]
test eax, eax
je 0x43c936
call fcn.004414c0
inc dword [eax + 0x1c]
push esi
lea esi, [ebx + 8]
mov ecx, esi
call fcn.004307d0
xorps xmm0, xmm0
movlpd qword [ebp - 0x74], xmm0
test edi, edi
je 0x43c952
mov eax, dword [edi + 0x70]
jmp 0x43c957
call sub.KERNEL32.dll_GetCurrentThreadId
cmp byte [ebp - 0x4d], 0x45
mov dword [ebp - 0x54], eax
jne 0x43ca55
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebx + 0xd0]
call fcn.0043a1e0
mov edi, dword [eax]
mov ecx, dword [edi + 0x18]
test ecx, ecx
mov edx, dword [edi + 0x10]
lea eax, [ecx - 1]
lea ecx, [edx - 1]
cmovne ecx, eax
cmp ecx, edx
jbe 0x43c98f
int3
mov edx, dword [edi + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax]
sub edi, dword [edx + ecx*8]
mov eax, dword [eax + 4]
sbb eax, dword [edx + ecx*8 + 4]
lea ecx, [ebx + 0xd0]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x74], edi
push eax
call fcn.0043a1e0
mov eax, dword [eax]
mov edx, dword [eax + 0x18]
lea ecx, [eax + 0xc]
mov dword [ebp - 0x58], eax
test edx, edx
jne 0x43c9d7
mov edi, dword [ecx + 4]
lea edx, [edi - 1]
mov dword [ecx + 0xc], edx
jmp 0x43c9de
dec edx
mov dword [ecx + 0xc], edx
mov edi, dword [ecx + 4]
lea eax, [edx + 1]
cmp eax, edi
jbe 0x43c9f1
int3
mov eax, dword [ebp - 0x58]
cmp edx, edi
jbe 0x43c9fc
int3
xor eax, eax
lea edx, [edi - 1]
test edi, edi
cmovne eax, edx
cmp eax, 3
jbe 0x43ca55
mov edx, dword [ecx + 0xc]
mov ebx, edx
mov ecx, dword [ecx + 8]
sub ebx, ecx
cmp ecx, edx
lea edx, [edi - 1]
lea eax, [ebx + edi]
cmova ebx, eax
xor eax, eax
test edi, edi
cmovne eax, edx
sub eax, ebx
cmp eax, ebx
jb 0x43ca52
mov eax, ebx
mov ecx, 3
shr eax, 2
add eax, ebx
cmp eax, ecx
cmova ecx, eax
test edi, edi
je 0x43ca52
cmp ecx, edx
jae 0x43ca52
push ecx
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx + 0xc]
call fcn.0043d3e0
mov ebx, dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebx + 0xa8]
call fcn.00439e50
lea ecx, [ebp - 0x1c]
mov eax, dword [eax]
add eax, 0xc
push eax
call fcn.0042de80
cmp dword [ebp - 8], 0x10
lea edi, [ebp - 0x1c]
lea eax, [ebx + 0xf0]
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x1c]
xor ecx, ecx
cmp dword [ebp - 0xc], ecx
jbe 0x43caae
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0xc]
jb 0x43ca96
lea eax, [ebx + 0xf0]
push edx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x124]
push ecx
mov ecx, eax
call fcn.00439c00
lea ecx, [ebx + 0xf0]
mov eax, dword [eax + 4]
test eax, eax
jne 0x43cad1
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 0xf4]
jne 0x43cb00
mov eax, dword [ebx + 0xf8]
xor edx, edx
mov edi, 6
div edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea edi, [edx + 1]
call fcn.0043a3b0
mov eax, dword [eax]
mov dword [eax + 0x20], edi
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x10c], 0x46c0f4
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x10c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x10c], 0x46c0f0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x108], 0x46c0b4
push eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0xd0], 0
push eax
lea ecx, [ebx + 0xf0]
mov dword [ebp - 0xcc], 4
call fcn.0043a3b0
cmp dword [ebp - 8], 0x10
mov ecx, dword [eax]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push dword [ecx + 0x20]
push eax
lea eax, [ebp - 0x34]
push str._s:_e_0_3_dm
push eax
call fcn.0042c0d0
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0042e920
mov edx, dword [ebp - 0x20]
add esp, 0x18
cmp edx, 0x10
jb 0x43cbf9
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43cbef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43cbef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00455eef
add esp, 8
mov edx, dword [ebp - 0x54]
lea edi, [ebx + 0xd0]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x24], 0
imul ecx, eax, 0x1000193
movzx eax, dh
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x58], edi
xor ecx, eax
movzx eax, byte [ebp - 0x52]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x51]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00433000
mov edx, dword [eax + 4]
test edx, edx
jne 0x43cc65
mov edx, dword [edi + 4]
cmp edx, dword [ebx + 0xd4]
je 0x43cc9d
mov ecx, dword [edx + 0x18]
mov edi, ecx
sub edi, dword [edx + 0x14]
cmp dword [edx + 0x14], ecx
jbe 0x43cc7d
add edi, dword [edx + 0x10]
test edi, edi
je 0x43cc9a
lea eax, [ebp - 0x10c]
push 0x46c718
push eax
call fcn.00417bf1
add esp, 8
sub edi, 1
jne 0x43cc81
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x43ccb0
lea eax, [ebp - 0x10c]
push eax
call fcn.00441fd0
mov bl, byte [ebp - 0x4d]
cmp bl, 0x45
jne 0x43cd33
lea ecx, [ebp - 0x74]
call fcn.00435e40
sub esp, 8
lea eax, [ebp - 0x4c]
fstp qword [esp]
push str.___.3f_ms_
push eax
call fcn.0042c0d0
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0042e920
mov edx, dword [ebp - 0x38]
add esp, 0x18
cmp edx, 0x10
jb 0x43cd1a
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43cd10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43cd10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00455eef
add esp, 8
lea eax, [ebp - 0x10c]
push str.e_0_m
push eax
call fcn.00417bf1
add esp, 8
jmp 0x43ce08
lea eax, [ebp - 0x10c]
push str.e_0_m
push eax
call fcn.00417bf1
add esp, 8
cmp bl, 0x42
jne 0x43ce08
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0043a1e0
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
lea edi, [eax + 0xc]
mov ecx, dword [edi + 4]
mov edx, ebx
sub edx, dword [edi + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 4]
add eax, edx
cmp dword [edi + 8], ebx
cmova edx, eax
lea eax, [ecx - 1]
mov dword [ebp - 0x58], eax
inc edx
xor eax, eax
test ecx, ecx
cmovne eax, dword [ebp - 0x58]
cmp eax, edx
jae 0x43cdc5
cmp edx, 3
mov eax, 3
cmovb edx, eax
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x58]
cmove ecx, eax
mov eax, ecx
shr eax, 2
add eax, ecx
mov ecx, edi
cmp edx, eax
cmovae eax, edx
push eax
call fcn.0043d3e0
mov eax, dword [ebp - 0x5c]
mov ebx, dword [eax + 0x18]
mov ecx, dword [eax + 0x10]
cmp ebx, ecx
jbe 0x43cdca
int3
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [ecx + ebx*8], eax
mov eax, dword [edx + 4]
mov dword [ecx + ebx*8 + 4], eax
mov edx, dword [edi + 4]
mov ebx, dword [edi + 0xc]
lea ecx, [edx - 1]
cmp ebx, ecx
jne 0x43cdf1
mov dword [edi + 0xc], 0
jmp 0x43ce03
lea eax, [ebx + 1]
mov dword [edi + 0xc], eax
test eax, eax
je 0x43ce03
mov edx, dword [ebp - 0x5c]
mov ecx, ebx
mov edx, dword [edx + 0x10]
cmp ecx, edx
jbe 0x43ce08
int3
mov ebx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xcc]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
test cl, 2
jne 0x43ce4d
mov eax, dword [ebp - 0xe8]
mov edx, dword [eax]
test edx, edx
je 0x43ce4d
mov eax, dword [ebp - 0xf8]
cmp edx, dword [ebp - 0xd0]
cmovb edx, dword [ebp - 0xd0]
mov ecx, dword [eax]
sub edx, ecx
push edx
jmp 0x43ce73
test cl, 4
jne 0x43ce7b
mov eax, dword [ebp - 0xec]
mov edx, dword [eax]
test edx, edx
je 0x43ce7b
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
mov ecx, ebx
call fcn.00413a0e
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x10c], 0x46c0f0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0x108]
call fcn.0042eca0
lea ecx, [ebp - 0x104]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x43cefb
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43cef1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x43cef1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00455eef
add esp, 8
push esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [0x4791ac], 0
pop esi
je 0x43cf37
mov eax, dword [0x4791ac]
test eax, eax
je 0x43cf37
call fcn.004414c0
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x43cf37
dec ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.00455cf4
mov esp, ebp
pop ebp
ret 0x10