Function at 0x4038a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x427010]
xor eax, esp
mov dword [esp + 0x438], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
cmp dword [edx + 4], 9
mov ebx, ecx
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], eax
jl 0x403d1b
movzx ecx, byte [edx + 0x20]
lea esi, [edx + 0x18]
movzx eax, byte [esi + 9]
and ecx, 0x1f
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], esi
mov dword [ebx + 0x88c], ecx
cmp ecx, 0x1fff
jne 0x403910
mov dword [ebx + 0x890], 0xffffffff
mov dword [ebx + 0x894], 0xffffffff
movzx edi, byte [esi + 0xa]
movzx eax, byte [esi + 0xb]
and edi, 3
shl edi, 8
or edi, eax
mov eax, dword [edx + 4]
mov dword [esp + 0x1c], eax
add edi, 0xc
add eax, 3
cmp eax, edi
jl 0x403d1b
movzx eax, byte [esi + 3]
mov ecx, dword [ebx + 0x8a4]
mov byte [esp + 0x43], al
movzx eax, byte [esi + 4]
mov byte [esp + 0x44], al
mov eax, dword [ebx + 0x8a8]
sub eax, ecx
mov byte [esp + 0x40], 2
cmp eax, 5
jbe 0x403962
mov al, byte [ecx + 5]
jmp 0x403964
mov al, 0xc1
mov byte [esp + 0x45], al
lea ecx, [esi + 0xc]
mov al, byte [esi + 0xa]
mov byte [esp + 0x4a], al
mov al, byte [esi + 0xb]
mov byte [esp + 0x4b], al
mov eax, edi
sub eax, ecx
mov dword [esp + 0x46], 0xffff0000
add eax, esi
push eax
push ecx
lea eax, [esp + 0x54]
push eax
call fcn.0040ac00
mov ecx, dword [esp + 0x28]
lea eax, [edi + 4]
dec ecx
mov dword [esp + 0x18], edi
add esp, 0xc
cmp eax, ecx
jge 0x403ad3
nop word [eax + eax]
movzx ecx, byte [edi + esi + 1]
lea edx, [edi + esi]
movzx eax, byte [edx + 2]
and ecx, 0x1f
movzx esi, byte [edx + 3]
mov ebx, dword [esp + 0x20]
and esi, 3
shl ecx, 8
or ecx, eax
shl esi, 8
movzx eax, byte [edx + 4]
or esi, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [edi + 5]
add eax, esi
dec ecx
mov dword [esp + 0x14], eax
cmp eax, ecx
jg 0x403ab9
movzx edx, byte [edx]
mov ecx, dword [ebx + 0x880]
mov eax, edx
xor eax, 0x811c9dc5
imul eax, eax, 0x502c3f11
and ecx, eax
mov eax, dword [ebx + 0x874]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 0x86c]
je 0x403ab9
mov ecx, dword [ecx]
cmp edx, dword [eax + 8]
je 0x403a40
nop dword [eax]
cmp eax, ecx
je 0x403ab9
mov eax, dword [eax + 4]
cmp edx, dword [eax + 8]
jne 0x403a30
test eax, eax
je 0x403ab9
mov edx, dword [esp + 0x18]
mov eax, esi
lea ecx, [edi + edx]
add edx, 5
sub eax, ecx
add eax, edi
add eax, edx
push eax
mov eax, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x48]
add eax, ecx
push eax
call fcn.0040ac00
mov eax, dword [esp + 0x18]
lea ecx, [ebx + 0x848]
add eax, 5
add esp, 0xc
add eax, esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00403f90
mov eax, dword [esp + 0x28]
cmp eax, dword [ebx + 0x84c]
jne 0x403ab5
push ecx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x848]
call fcn.00404030
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov byte [eax + 0xd], 1
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
lea eax, [edi + 4]
lea edx, [ecx - 1]
cmp eax, edx
jl 0x4039b0
mov eax, dword [ebx + 0x84c]
mov esi, dword [eax]
cmp esi, eax
je 0x403bac
cmp byte [esi + 0xc], 0
jne 0x403b96
cmp byte [esi + 0xd], 0
jne 0x403b96
movzx ecx, byte [esi + 8]
mov edi, esi
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
movzx ecx, byte [esi + 9]
xor edx, ecx
movzx ecx, byte [esi + 0xa]
imul edx, edx, 0x1000193
xor edx, ecx
movzx ecx, byte [esi + 0xb]
imul edx, edx, 0x1000193
xor edx, ecx
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x860]
and edx, ecx
mov ecx, dword [ebx + 0x854]
cmp dword [ecx + edx*8 + 4], esi
jne 0x403b58
cmp dword [ecx + edx*8], esi
jne 0x403b4f
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x403b62
mov eax, dword [esi + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x403b62
cmp dword [ecx + edx*8], esi
jne 0x403b62
mov eax, dword [esi]
mov dword [ecx + edx*8], eax
mov esi, dword [edi]
dec dword [ebx + 0x850]
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi - 4]
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x403d32
push 0x103b
push ecx
call fcn.004081dc
add esp, 8
jmp 0x403b9e
mov eax, esi
mov esi, dword [esi]
mov byte [eax + 0xd], 0
mov eax, dword [ebx + 0x84c]
cmp esi, eax
jne 0x403ae3
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
shr eax, 8
lea edi, [esi + 4]
or al, 0xb0
mov byte [esp + 0x41], al
lea eax, [edx + 1]
mov edx, dword [ebx + 0x8a4]
mov byte [esp + 0x42], al
mov eax, dword [ebx + 0x8a8]
sub eax, edx
mov dword [esp + 0x14], edx
cmp eax, edi
jne 0x403c52
lea ecx, [esp + 0x40]
sub esi, 4
jb 0x403c01
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x403c06
add ecx, 4
add edx, 4
sub esi, 4
jae 0x403bf0
cmp esi, 0xfffffffc
je 0x403c33
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x403c52
cmp esi, 0xfffffffd
je 0x403c33
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x403c52
cmp esi, 0xfffffffe
je 0x403c33
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x403c52
cmp esi, 0xffffffff
je 0x403c33
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x403c52
mov ecx, dword [ebx + 0x8a8]
lea eax, [ecx - 4]
sub ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
add eax, ecx
push eax
call fcn.0040ac00
jmp 0x403ccd
mov al, byte [esp + 0x45]
mov edx, dword [esp + 0xc]
shr al, 1
inc al
add al, al
or al, 0xc1
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x49], al
call fcn.00407b80
mov edx, dword [esp + 0x10]
mov ecx, eax
mov esi, dword [esp + 0x18]
add esp, 4
shr ecx, 0x18
mov byte [esp + edx + 0x40], cl
lea edi, [edx + 4]
mov ecx, eax
shr ecx, 0x10
mov byte [esp + edx + 0x41], cl
mov ecx, eax
shr ecx, 8
mov byte [esp + edx + 0x42], cl
lea ecx, [ebx + 0x8a4]
mov byte [esp + edx + 0x43], al
mov eax, dword [ecx + 8]
sub eax, esi
cmp edi, eax
jbe 0x403cb8
push edi
call fcn.00402af0
mov esi, dword [ebx + 0x8a4]
push edi
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0040ac00
lea eax, [esi + edi]
mov dword [ebx + 0x8a8], eax
mov ecx, dword [ebx + 0x894]
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], ecx
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x890]
mov dword [esp + 0x28], eax
mov ecx, dword [ecx + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x403d37
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x30]
push edx
lea edx, [esp + 0x24]
push edx
call dword [eax + 8]
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040819e
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040bb3e
call fcn.00408099
int3