Function at 0x10068400
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100842d5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x100b3040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], edx
mov esi, ecx
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, edx
sar eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
sar eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
sar eax, 0x18
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x100b46c0
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10042d30
mov eax, dword [eax + 4]
test eax, eax
je 0x10068625
cmp eax, dword [0x100b46c4]
je 0x10068625
cmp dword [ebp - 0x50], 0x989680
movups xmm0, xmmword [eax + 0xc]
movups xmm1, xmmword [eax + 0x1c]
movq xmm2, qword [eax + 0x2c]
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x90], xmm1
movq qword [ebp - 0x58], xmm2
jge 0x10068613
mov eax, dword [str.player]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
movzx eax, word [0x100a4c18]
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], 0xf
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
mov dword [ebp - 4], 0
call fcn.10078980
mov byte [ebp - 0x45], al
xorps xmm0, xmm0
mov eax, dword [str.player]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
movzx eax, word [0x100a4c18]
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x18], 0xf
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, str.UnitSex
push eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.10077670
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 0xc
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.10040280
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x100685b6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100685ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100685ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1008095a
add esp, 8
movss xmm0, dword [ebp - 0x80]
xor ecx, ecx
mov eax, 0xc
movq xmm2, qword [ebp - 0x58]
cmp edi, 2
movups xmm1, xmmword [ebp - 0x90]
cmovne ecx, eax
movzx eax, byte [ebp - 0x45]
lea eax, [eax + eax*2]
addss xmm0, dword [ecx + eax*8 + 0x100aa568]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x7c]
addss xmm0, dword [ecx + eax*8 + 0x100aa56c]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [ecx + eax*8 + 0x100aa570]
movss dword [ebp - 0x78], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi], xmm0
mov byte [esi + 0x28], 1
movups xmmword [esi + 0x10], xmm1
movq qword [esi + 0x20], xmm2
jmp 0x10068629
mov byte [esi + 0x28], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10080947
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret