Function at 0x43e6dc
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x40
mov esi, ecx
mov ebp, edx
mov edi, eax
mov edx, esi
xor ebx, ebx
xor ebx, esi
mov ecx, ebx
mov eax, ebp
cmp esi, 4
jl 0x43e72e
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], esi
imul esi, dword [eax], 0x5bd1e995
mov ebp, esi
shr ebp, 0x18
xor esi, ebp
imul ebp, esi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, ebp
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x43e700
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
cmp edx, 3
je 0x43e73f
cmp edx, 2
je 0x43e748
cmp edx, 1
je 0x43e751
jmp 0x43e75c
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor ecx, eax
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov eax, dword [esp + 0x60]
cmp eax, edx
je 0x43ea7d
mov eax, edi
call fcn.0045cbf4
mov dword [esp + 0x38], eax
test eax, eax
jne 0x43e798
mov eax, 0xffffffff
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, edi
call fcn.0045cbf4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
push eax
push 0x8069e4
push 0x806270
call fcn.00464d5c
mov eax, dword [esp + 0x48]
lea eax, [eax + eax]
mov dword [esp + 0x38], eax
push eax
call fcn.00466ddc
add esp, 0x10
mov dword [esp + 0x10], eax
mov eax, edi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
call fcn.0045ce74
mov eax, dword [esp + 0x38]
push eax
call fcn.00466ddc
pop ecx
mov dword [esp + 0x1c], eax
mov eax, edi
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
call fcn.0045ce74
mov eax, dword [esp + 0x38]
push eax
call fcn.00403564
pop ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
test eax, eax
jbe 0x43e88f
xor eax, eax
mov edi, ebp
mov ecx, dword [esp + 0x3c]
shl ecx, 0xa
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
mov ebx, esi
mov edx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x24]
cmp ecx, edx
jg 0x43e84f
movzx eax, byte [ebx]
mov byte [ebx], al
jmp 0x43e859
mov esi, dword [esp + 0x34]
movzx eax, byte [esi + ebp]
xor byte [ebx], al
inc ebx
inc edx
inc ebp
cmp ebp, 0x400
jl 0x43e844
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
add eax, 0x400
add edi, 0x400
cmp eax, ecx
jb 0x43e82e
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
test eax, eax
jbe 0x43e9ab
xor edi, edi
xor edx, edx
mov eax, 0x400
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], esi
mov ebx, eax
mov ebp, edx
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jg 0x43e8c2
mov edx, ecx
sub edx, ebp
jmp 0x43e8c7
mov edx, 0x400
mov ecx, dword [esp + 0x18]
lea esi, [ecx + ebp]
mov eax, esi
call fcn.0043ea98
mov ecx, dword [esp + 0x10]
movzx ecx, word [ecx + edi*2]
movzx eax, ax
cmp ecx, eax
je 0x43e986
xor ecx, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
movzx ebx, byte [ecx + esi]
movzx eax, byte [ebp + ecx]
cmp ebx, eax
je 0x43e971
mov eax, dword [esp + 0x3c]
test eax, eax
jbe 0x43ea87
xor edx, edx
xor eax, eax
mov edi, dword [esp + 0x18]
lea edi, [ecx + edi]
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], ebx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
cmp eax, ebp
je 0x43e953
mov ebx, eax
shl ebx, 0xa
lea edi, [ecx + ebx]
cmp esi, edi
jle 0x43e953
mov edi, dword [esp + 0x38]
movzx ebx, byte [edi + ebx]
xor edx, ebx
movzx edx, dl
inc eax
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
jb 0x43e936
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
xor edx, ebx
mov eax, dword [esp + 0x30]
mov byte [eax + ecx], dl
inc ecx
cmp ecx, 0x400
jl 0x43e902
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x34]
add ebp, 0x400
add ebx, 0x400
inc edi
mov ecx, dword [esp + 0x3c]
cmp edi, ecx
jb 0x43e8b4
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43e9ba
push eax
call fcn.0046703f
pop ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43e9c9
push eax
call fcn.0046703f
pop ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43e9d8
push eax
call fcn.0046703f
pop ecx
cmp esi, 4
jl 0x43ea04
imul ecx, dword [ebp], 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor ecx, eax
imul edi, ecx, 0x5bd1e995
imul ebx, ebx, 0x5bd1e995
xor ebx, edi
add ebp, 4
add esi, 0xfffffffc
cmp esi, 4
jge 0x43e9dd
cmp esi, 3
je 0x43ea15
cmp esi, 2
je 0x43ea1e
cmp esi, 1
je 0x43ea27
jmp 0x43ea33
movzx eax, byte [ebp + 2]
shl eax, 0x10
xor ebx, eax
movzx eax, byte [ebp + 1]
shl eax, 8
xor ebx, eax
movzx eax, byte [ebp]
xor ebx, eax
imul ebx, ebx, 0x5bd1e995
mov eax, ebx
shr eax, 0xd
xor ebx, eax
imul ebx, ebx, 0x5bd1e995
mov edx, ebx
shr edx, 0xf
xor ebx, edx
mov ecx, dword [esp + 0x60]
cmp ecx, ebx
je 0x43ea5c
mov eax, 0xffffffff
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [esp + 0x64]
push eax
push 0x806a1c
push 0x806270
call fcn.00464d5c
mov eax, 1
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
add esp, 0x40
pop ebx
pop ebp
pop esi
pop edi
ret
xor edx, edx
jmp 0x43e968