Function at 0x416890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x441080]
xor eax, esp
mov dword [esp + 0x94], eax
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x4c], ecx
movups xmm0, xmmword [ecx + 0x20]
mov eax, dword [ecx + 0x40]
movups xmm1, xmmword [ecx + 0x10]
mov edx, dword [ecx + 0x44]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x30], eax
movups xmm0, xmmword [ecx + 0x30]
mov eax, dword [ecx + 0x48]
movaps xmmword [esp + 0x70], xmm1
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x44], edx
movups xmm0, xmmword [ecx]
mov dword [esp + 0x3c], eax
movups xmmword [esp + 0x80], xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd esi, xmm0
movd dword [esp + 0x24], xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
mov dword [esp + 0x48], esi
movd dword [esp + 0x28], xmm0
movd dword [esp + 0x34], xmm0
movd dword [esp + 0x14], xmm1
movd dword [esp + 0x38], xmm1
nop dword [eax]
mov edi, dword [esp + 0x80]
mov eax, 0x24924925
sub edi, edx
mov ecx, esi
sub ecx, dword [esp + 0x70]
mul edi
mov eax, 0xcccccccd
sub edi, edx
shr edi, 1
add edi, edx
mul ecx
mov ecx, dword [esp + 0x34]
mov eax, 0xcccccccd
shr edi, 2
mov esi, edx
shr esi, 3
cmp edi, esi
cmovb esi, edi
sub ecx, dword [esp + 0x24]
mul ecx
mov ecx, dword [esp + 0x38]
mov eax, 0xcccccccd
mov edi, edx
shr edi, 3
cmp esi, edi
cmovb edi, esi
sub ecx, dword [esp + 0x28]
mul ecx
mov ecx, dword [esp + 0x3c]
mov eax, 0xcccccccd
mov esi, edx
shr esi, 3
cmp edi, esi
cmovb esi, edi
mov edi, dword [esp + 0x14]
sub ecx, edi
mul ecx
lea eax, [edi + 0xa]
shr edx, 3
cmp esi, edx
cmovb edx, esi
lea ecx, [edi + edx*4]
add ecx, edx
mov dword [esp + 0x40], ecx
cmp eax, ecx
ja 0x416b91
mov ecx, 1
mov eax, dword [esp + ecx*4 + 0x80]
cmp eax, dword [esp + ecx*4 + 0x7c]
jb 0x416b91
inc ecx
cmp ecx, 4
jl 0x4169c4
nop dword [eax + eax]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], 5
nop dword [eax]
mov edx, dword [esp + 0x54]
mov esi, edx
mov eax, dword [esp + 0x70]
shr esi, 0x15
mov esi, dword [edi + esi*4]
mov word [eax], si
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x50]
call fcn.00419070
shr esi, 0x18
add dword [esp + 0x70], esi
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x5c]
mov esi, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
shr esi, 0x15
mov esi, dword [edi + esi*4]
mov word [eax], si
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x58]
call fcn.00419070
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
shr esi, 0x18
add eax, esi
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x64]
mov esi, edx
shr esi, 0x15
mov dword [esp + 0x24], eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
mov esi, dword [edi + esi*4]
mov ecx, esi
shr ecx, 0x10
movzx ecx, cl
mov word [eax], si
mov eax, dword [esp + 0x60]
call fcn.00419070
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
shr esi, 0x18
add eax, esi
mov dword [esp + 0x64], edx
sub dword [esp + 0x18], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x78], eax
jne 0x4169f0
mov edx, dword [esp + 0x6c]
mov eax, edi
mov edi, dword [esp + 0x14]
mov esi, edx
shr esi, 0x15
mov esi, dword [eax + esi*4]
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x68]
mov word [edi], si
call fcn.00419070
mov dword [esp + 0x18], eax
mov eax, edi
shr esi, 0x18
add eax, esi
xor edi, edi
mov dword [esp + 0x14], eax
nop
mov ecx, dword [esp + 0x30]
mov esi, edx
shr esi, 0x15
mov esi, dword [ecx + esi*4]
mov word [eax], si
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x18]
call fcn.00419070
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
shr esi, 0x18
add eax, esi
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + edi*8 + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + edi*8 + 0x50]
test eax, eax
jne 0x416b2d
bsf ecx, ecx
add ecx, 0x20
jmp 0x416b30
bsf ecx, eax
mov eax, ecx
and ecx, 7
sar eax, 3
sub dword [esp + edi*4 + 0x80], eax
mov edx, dword [esp + edi*4 + 0x80]
mov eax, dword [edx]
mov edx, dword [edx + 4]
or eax, 1
call fcn.00419070
mov dword [esp + edi*8 + 0x50], eax
mov dword [esp + edi*8 + 0x54], edx
inc edi
cmp edi, 4
jge 0x416b76
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
jmp 0x416ae0
mov edi, dword [esp + 0x14]
cmp edi, dword [esp + 0x40]
jb 0x4169e0
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
jmp 0x416930
mov eax, dword [esp + 0x4c]
movups xmm0, xmmword [esp + 0x50]
mov ecx, dword [esp + 0x9c]
pop edi
movups xmmword [eax + 0x20], xmm0
pop esi
movups xmm0, xmmword [esp + 0x58]
xor ecx, esp
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x10], xmm0
call fcn.0041908f
mov esp, ebp
pop ebp
ret