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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x23c
mov dword [esp + 0x12c], edx
mov dword [esp + 0x130], eax
mov edi, edx
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x4409c0
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x4409b8
mov ecx, eax
xor eax, eax
xor eax, ecx
mov edx, dword [esp + 0x12c]
cmp ecx, 4
jl 0x4409f8
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add edx, 4
add ecx, 0xfffffffc
cmp ecx, 4
jge 0x4409d2
cmp ecx, 3
je 0x440a09
cmp ecx, 2
je 0x440a12
cmp ecx, 1
je 0x440a1b
jmp 0x440a26
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx edx, byte [edx]
xor eax, edx
imul eax, eax, 0x5bd1e995
mov edx, eax
shr edx, 0xd
xor eax, edx
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
mov edx, dword [0x841d0c]
test edx, edx
jle 0x440c0a
xor ebx, ebx
mov ebp, eax
mov ecx, dword [0x841d10]
cmp ebp, dword [ecx + ebx*4]
jne 0x440b8f
mov byte [esp + 0xc], 0
movsx edx, byte [0x841a58]
test edx, edx
jne 0x440a7e
lea esi, [esp + 0xc]
mov edi, 0x68a860
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x440a74
mov ecx, dword [0x841d14]
mov edx, dword [ecx + ebx*4]
mov esi, dword [0x841d04]
lea edi, [esp + 0xc]
mov edx, dword [esi + edx*4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x440a9e
mov ecx, dword [0x841d14]
mov esi, dword [ecx + ebx*4]
mov edi, dword [esp + 0x130]
mov dword [edi + 0x10], esi
lea eax, [esp + 0x114]
lea edx, [esp + 0xc]
call fcn.004652ac
movsx edx, byte [esp + 0x11c]
test edx, edx
je 0x440c0e
mov edx, dword [0x841d18]
mov ecx, dword [edx + ebx*4]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
lea eax, [esp + 0x114]
call fcn.00440c24
lea eax, [esp + 0x114]
call fcn.00440c48
movzx eax, al
neg eax
movzx esi, byte [eax + 0x689fdf]
lea eax, [esp + 0x114]
lea edx, [esp + 0x134]
mov ecx, esi
call fcn.00465328
mov byte [esp + esi + 0x134], 0
test esi, esi
jle 0x440b4e
xor edx, edx
movzx eax, byte [esp + edx + 0x134]
neg eax
dec eax
mov byte [esp + edx + 0x134], al
inc edx
cmp edx, esi
jl 0x440b37
test esi, esi
jle 0x440b61
xor edx, edx
xor byte [esp + edx + 0x134], 0x36
inc edx
cmp edx, esi
jl 0x440b54
lea edx, [esp + 0x134]
push edx
mov ecx, dword [esp + 0x130]
push ecx
call fcn.00470600
add esp, 8
test eax, eax
je 0x440bc7
lea eax, [esp + 0x114]
call fcn.0046533c
mov edx, dword [0x841d0c]
inc ebx
cmp ebx, edx
jl 0x440a4c
cmp ebx, edx
jge 0x440bba
mov edx, dword [esp + 0x130]
mov dword [edx + 0xc], ebx
mov byte [edx + 8], 2
mov eax, 2
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret
lea eax, [esp + 0x114]
call fcn.00440c48
mov edx, dword [esp + 0x130]
mov byte [edx + 9], al
lea eax, [esp + 0x114]
call fcn.00440c64
mov ecx, dword [esp + 0x130]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea eax, [esp + 0x114]
call fcn.0046533c
mov edx, dword [0x841d0c]
jmp 0x440b98
xor ebx, ebx
jmp 0x440b98
mov eax, 0xfffffffe
add esp, 0x23c
pop ebx
pop ebp
pop esi
pop edi
ret