Function at 0x40aa80
Capabilities:
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x4cf040]
xor eax, esp
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
or ecx, 2
mov dword [esp + 0xc], edx
test dword [ebp + 0x10], 0x40000000
push ebx
cmove ecx, dword [ebp + 0xc]
mov ebx, dword [0x4d1930]
mov edx, ecx
and edx, 0xfffffffb
mov dword [esp + 0x2c], ebx
test cl, 0x10
push esi
mov eax, dword [ebx + 0x3f8c]
cmove edx, ecx
mov ecx, edx
mov dword [esp + 0x28], eax
and ecx, 0xfffffff7
mov eax, 0x1000001
test dl, 0x20
mov esi, 0x1000041
push edi
cmove ecx, edx
test cl, 0x70
mov dword [esp + 0x14], ecx
cmove esi, eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0xc]
and eax, 4
or esi, eax
or esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
test cl, 0xc
jne 0x40ab10
or esi, 0x102
mov dword [esp + 0x1c], esi
test cl, cl
jns 0x40ac4b
movups xmm0, xmmword [ebx + 0x39bc]
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 3
push eax
lea ecx, [ebx + 0x49c0]
movups xmmword [esp + 0x40], xmm0
call fcn.0041ae60
cmp dword [ebx + 0x49bc], 3
je 0x40ab53
movups xmm0, xmmword [ebx + 0x39fc]
movups xmmword [ebx + 0x39bc], xmm0
mov esi, dword [0x4d1930]
lea eax, [esp + 0x38]
movss xmm0, dword [ebx + 0x38ec]
movss dword [esp + 0x20], xmm0
push eax
movss xmm0, dword [esi + 0x38d4]
lea ecx, [esi + 0x49cc]
mov dword [esp + 0x3c], 7
movss dword [esp + 0x40], xmm0
call fcn.0041ad50
movss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x38]
movss dword [esi + 0x38d4], xmm0
mov esi, dword [0x4d1930]
movss xmm0, dword [ebx + 0x38f0]
movss dword [esp + 0x20], xmm0
push eax
movss xmm0, dword [esi + 0x38d8]
lea ecx, [esi + 0x49cc]
mov dword [esp + 0x3c], 8
movss dword [esp + 0x40], xmm0
call fcn.0041ad50
movss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x20]
movss dword [esi + 0x38d8], xmm0
mov esi, dword [0x4d1930]
push eax
mov dword [esp + 0x24], 2
movss xmm0, dword [esi + 0x38b0]
lea ecx, [esi + 0x49cc]
movss xmm1, dword [esi + 0x38b4]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm1
call fcn.0041ad50
mov ecx, dword [ebx + 0x38e8]
mov eax, dword [ebx + 0x38e4]
mov dword [esi + 0x38b4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x38b0], eax
or ecx, 3
mov esi, dword [esp + 0x1c]
or esi, 4
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], esi
mov edi, dword [0x4d1930]
or dword [ebx + 0x4954], 0x100
mov dword [ebx + 0x498c], ecx
mov edx, dword [edi + 0x3f8c]
cmp dword [edx + 0x198], 0
jne 0x40ac7e
cmp dword [edi + 0x4ce0], 0
mov eax, 0x234
je 0x40ac83
mov eax, 0x204
movss xmm0, dword [edx + eax]
xorps xmm1, xmm1
movss xmm2, dword [edx + eax + 4]
mov eax, edx
subss xmm0, dword [eax + 0xf8]
subss xmm2, dword [eax + 0xfc]
test cl, 0x20
je 0x40acab
xorps xmm2, xmm2
test cl, 0x10
jne 0x40acb3
movaps xmm1, xmm0
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x20]
push dword [eax + 4]
push dword [eax]
call fcn.00413840
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, dword [esp + 0x24]
or dword [edi + 0x4954], 2
mov edx, dword [esp + 0x30]
mov dword [edi + 0x4974], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x4978], ecx
mov dword [edi + 0x495c], 1
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x24]
test edx, edx
je 0x40ad18
push edx
push ecx
push str._s__s__08X
push 0
push eax
call fcn.00404440
add esp, 0x18
jmp 0x40ad29
push ecx
push str._s__08X
push 0
push eax
call fcn.00404440
add esp, 0x14
test byte [esp + 0x14], 1
movss xmm0, dword [ebx + 0x38d8]
movss dword [esp + 0x30], xmm0
jne 0x40ad48
mov dword [ebx + 0x38d8], 0
mov ecx, dword [esp + 0x20]
xor edx, edx
push esi
call fcn.0040dad0
movss xmm0, dword [esp + 0x34]
add esp, 4
test byte [esp + 0x14], 0x80
mov byte [esp + 0x13], al
movss dword [ebx + 0x38d8], xmm0
je 0x40adad
mov ecx, 3
call fcn.00404f50
mov esi, dword [0x4d1930]
mov eax, dword [esi + 0x49c0]
cmp eax, 1
jl 0x40adad
mov ecx, dword [esi + 0x49c8]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 - 0x14]
movups xmm0, xmmword [ecx + edx*4 - 0x10]
add eax, eax
movups xmmword [esi + eax*8 + 0x398c], xmm0
dec dword [esi + 0x49c0]
mov edi, dword [ebx + 0x3f8c]
mov edx, dword [esp + 0x18]
cmp word [edi + 0xbc], 1
mov dword [edi + 0x78], edx
jne 0x40adda
mov ebx, dword [esp + 0x2c]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [ebx + 0xf8], eax
mov dword [ebx + 0xfc], ecx
mov esi, edx
mov al, 0x23
not esi
mov edx, 0x4be181
mov ebx, esi
cmp al, 0x23
jne 0x40adf5
cmp byte [edx], al
jne 0x40adf5
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x4bf128]
test al, al
jne 0x40ade7
mov esi, dword [esp + 0x34]
not ebx
cmp dword [esi + 0x3fdc], ebx
jne 0x40ae25
xor edx, edx
xor ecx, ecx
call fcn.00407530
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x4a50], eax
jne 0x40ae75
test dword [esp + 0x1c], 0x800000
jne 0x40ae75
cmp word [edi + 0x154], 0
jne 0x40ae4e
cmp byte [edi + 0x15a], 0
je 0x40ae75
xor edx, edx
mov ecx, edi
call fcn.00410640
xor dl, dl
mov ecx, edi
call fcn.00415b10
mov edx, edi
mov ecx, ebx
call fcn.00407530
mov eax, dword [esi + 0x4a7c]
mov dword [esi + 0x4000], eax
mov ecx, dword [esp + 0x4c]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00453580
mov esp, ebp
pop ebp
ret