Function at 0x10040680
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x1011100c]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], edi
test edi, edi
je 0x100409d7
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 4]
call eax
mov ecx, eax
mov dword [esp + 0xc], eax
mov esi, 0x811c9dc5
xor edx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100406c8
sub ecx, dword [esp + 0x18]
je 0x100409d7
mov edi, dword [esp + 0xc]
nop dword [eax]
movsx eax, byte [edx + edi]
mov ecx, edi
xor eax, esi
imul esi, eax, 0x1000193
inc edx
lea eax, [ecx + 1]
mov dword [esp + 0xc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100406f6
sub ecx, dword [esp + 0xc]
cmp edx, ecx
jb 0x100406e0
mov edi, dword [esp + 0x14]
cmp esi, 0x1b30ddf0
jne 0x10040733
push edi
call fcn.100b5df0
push edi
call fcn.100451e0
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100e01f7
mov esp, ebp
pop ebp
ret 4
cmp esi, 0xb3dc0da2
je 0x10040988
cmp esi, 0xf0d60440
je 0x10040988
cmp esi, 0xa6abe875
jne 0x100409d7
mov eax, dword [0x10116848]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [0x10115070]
push 0
push str.userid
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x10114f7c]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
mov ecx, dword [0x10115070]
movzx eax, al
push eax
call edi
mov ecx, dword [0x10115070]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push 0
mov ecx, dword [ecx]
push str.attacker
mov edi, dword [ecx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
mov ecx, eax
call edx
mov esi, dword [0x10114f7c]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
mov ecx, dword [0x10115070]
movzx eax, al
push eax
call edi
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004084b
test edi, edi
je 0x1004084b
cmp eax, edi
je 0x1004084b
lea esi, [edi + 8]
test esi, esi
je 0x1004084b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x1004084b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0xf7
jne 0x1004084b
cmp edi, dword [0x10115000]
jne 0x1004084b
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
add ecx, 8
je 0x1004082d
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
jmp 0x1004082f
xor eax, eax
mov dword [esp + 0xc], eax
lea ecx, [esi + 0x24]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10045500
mov eax, dword [eax]
mov byte [eax + 0xc], 1
mov esi, dword [esp + 0x14]
push esi
call fcn.1002f4f0
cmp dword [0x10115000], 0
mov eax, dword [0x10116848]
mov dword [esp + 0x18], eax
je 0x100409d7
cmp dword [0x10114f80], 0
je 0x100409d7
mov eax, dword [0x10116830]
mov eax, dword [eax + 0x14]
cmp dword [eax + 0x1c], 0
jne 0x100409d7
mov eax, dword [0x10115070]
mov ecx, esi
push 0
push str.userid
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x10114f7c]
push eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
mov ecx, dword [0x10115070]
movzx eax, al
push eax
call edi
mov edx, dword [0x10115070]
mov edi, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
push 0
push str.inflictor_entindex
mov edx, dword [edx]
mov esi, dword [edx + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
call edx
mov ecx, dword [0x10115070]
push eax
call esi
test edi, edi
je 0x100409d7
test eax, eax
je 0x100409d7
mov ecx, dword [0x10115000]
cmp eax, ecx
jne 0x100409d7
cmp edi, ecx
je 0x100409d7
mov eax, dword [0x10116830]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x14]
mov al, byte [eax + 0x1a]
mov byte [esp + 0x13], al
test ecx, ecx
je 0x10040931
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov edx, eax
jmp 0x10040933
xor edx, edx
mov ecx, dword [0x10114f7c]
lea esi, [esp + 0x20]
push esi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x10040962
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
call fcn.10023050
cmp byte [eax + 5], 0
jne 0x10040969
cmp byte [esp + 0x13], 0
je 0x100409d7
mov ecx, dword [esp + 0x18]
call fcn.1009ce50
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.100e01f7
mov esp, ebp
pop ebp
ret 4
mov esi, dword [0x101168a4]
mov ecx, dword [esi]
add ecx, 0x34
call fcn.10035650
mov ecx, dword [esi]
add ecx, 0x14
call fcn.10035650
mov eax, dword [esi]
vxorps xmm0, xmm0, xmm0
push 0x14
vmovss dword [eax + 8], xmm0
mov eax, dword [esi]
vmovss dword [eax + 4], xmm0
mov eax, dword [esi]
mov byte [eax + 0xd], 0
call fcn.100e0205
mov ecx, eax
add esp, 4
vxorps xmm0, xmm0, xmm0
vmovups xmmword [ecx], xmm0
vmovss dword [ecx + 0x10], xmm0
mov eax, dword [esi]
mov dword [eax], ecx
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.100e01f7
mov esp, ebp
pop ebp
ret 4