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

Disassembly:
sub esp, 0x20
mov eax, dword [0x4d57fc]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], ebx
movzx ecx, word [edi + 0xe]
mov eax, ecx
and eax, 7
cmp eax, 5
ja case.default.0x43a16e
jmp dword [eax*4 + 0x43a49c]
push 0
push 0
push 0
jmp 0x43a47f
push 0
push 0
push 1
jmp 0x43a47f
push 0
push 0
push 2
jmp 0x43a47f
mov ebp, dword [edi]
mov eax, ebp
mov esi, dword [edi + 8]
shl eax, 5
add eax, esi
cmp esi, eax
je 0x43a1fc
mov eax, 0x1000
nop dword [eax + eax]
test word [esi + 0xe], ax
je 0x43a1c5
movsx eax, byte [esi + 0xd]
mov ecx, 0xd
mov edx, esi
sub ecx, eax
jmp 0x43a1ca
mov edx, dword [esi + 8]
mov ecx, dword [esi]
push ecx
push edx
push 5
mov ecx, ebx
call fcn.0045c7a0
push ebx
lea ecx, [esi + 0x10]
call fcn.0043a140
test al, al
je 0x43a34d
mov ebp, dword [edi]
add esi, 0x20
mov eax, ebp
shl eax, 5
add eax, dword [edi + 8]
cmp esi, eax
mov eax, 0x1000
jne 0x43a1b0
mov eax, ebp
mov edi, 0x519
neg eax
mov esi, 0x300
shl eax, 4
add dword [ebx + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
test ebp, ebp
je 0x43a25a
mov esi, ecx
mov ebx, 0x300
mov eax, dword [esi + 0xc]
xor eax, dword [esi + 4]
mov ecx, dword [esi + 8]
xor ecx, dword [esi]
push 0x100
push 0x1b3
push eax
push ecx
call fcn.004624c0
xor edi, eax
lea esi, [esi + 0x10]
xor ebx, edx
sub ebp, 1
jne 0x43a222
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea eax, [ecx + 8]
cmp eax, dword [ebx + 0x10]
jbe 0x43a26e
push 1
mov ecx, ebx
call fcn.0043c460
mov ecx, dword [ebx + 0xc]
lea eax, [ecx + 8]
mov dword [ebx + 0xc], eax
mov al, 1
mov dword [ecx], edi
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00461564
add esp, 0x20
ret 4
mov ebp, dword [edi]
mov eax, ebp
mov esi, dword [edi + 8]
shl eax, 4
add eax, esi
cmp esi, eax
je 0x43a2c1
push ebx
mov ecx, esi
call fcn.0043a140
test al, al
je 0x43a34d
mov ebp, dword [edi]
add esi, 0x10
mov eax, ebp
shl eax, 4
add eax, dword [edi + 8]
cmp esi, eax
jne 0x43a2a0
mov eax, ebp
mov ecx, 0x6cc
neg eax
mov dword [esp + 0x10], ecx
shl eax, 3
mov edx, 0x400
add dword [ebx + 0xc], eax
xor edi, edi
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x14], edx
test ebp, ebp
je 0x43a30f
mov eax, dword [esi + edi*8 + 4]
xor ecx, dword [esi + edi*8]
xor eax, edx
push 0x100
push 0x1b3
push eax
push ecx
call fcn.004624c0
inc edi
mov ecx, eax
cmp edi, ebp
jb 0x43a2e6
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea ecx, [esi + 8]
cmp ecx, dword [ebx + 0x10]
jbe 0x43a323
push 1
mov ecx, ebx
call fcn.0043c460
mov esi, dword [ebx + 0xc]
lea eax, [esi + 8]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
pop edi
mov dword [esi + 4], eax
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00461564
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00461564
add esp, 0x20
ret 4
test ecx, 0x1000
je 0x43a399
movsx eax, byte [edi + 0xd]
mov ecx, 0xd
sub ecx, eax
push ecx
push edi
push 5
mov ecx, ebx
call fcn.0045c7a0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00461564
add esp, 0x20
ret 4
mov ecx, dword [edi]
mov edi, dword [edi + 8]
push ecx
push edi
push 5
mov ecx, ebx
call fcn.0045c7a0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00461564
add esp, 0x20
ret 4
mov eax, ecx
shr eax, 9
test al, 1
je 0x43a402
movsd xmm1, qword [edi]
xorps xmm0, xmm0
comisd xmm0, xmm1
movaps xmm0, xmm1
jbe 0x43a3ef
call fcn.00462900
movsd xmm0, qword [edi]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
jmp 0x43a470
call fcn.00462850
movsd xmm0, qword [edi]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
jmp 0x43a470
mov al, cl
shr al, 5
test al, 1
je 0x43a422
mov ecx, dword [edi]
mov eax, ecx
cdq
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
jmp 0x43a470
mov al, cl
shr al, 6
test al, 1
je 0x43a44f
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c17d0]
jmp 0x43a470
mov edx, dword [edi + 4]
shr cl, 7
test cl, 1
mov dword [esp + 0x20], edx
mov ecx, dword [edi]
mov dword [esp + 0x1c], ecx
je 0x43a46b
call fcn.00462a10
jmp 0x43a470
call fcn.004629b0
push 0x10
lea eax, [esp + 0x20]
movsd qword [esp + 0x28], xmm0
push eax
push 6
mov ecx, ebx
call fcn.0045c7a0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00461564
add esp, 0x20
ret 4