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

Disassembly:
sub esp, 0x70
mov eax, dword [0x991fc0]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
mov ecx, eax
push esi
mov esi, dword [esp + 0x84]
push edi
mov edi, dword [esp + 0x7c]
sub esp, 0x10
shl ecx, 5
mov dword [esp + 0x44], eax
mov eax, esp
mov dword [esp + 0x48], edi
mov dword [esp + 0x58], esi
movups xmm0, xmmword [ecx + edi + 0x38]
mov dword [esp + 0x54], ecx
movups xmmword [eax], xmm0
call fcn.0040a4f0
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x41f42e
mov ecx, dword [esp + 0x4c]
sub esp, 0x10
shl esi, 5
mov eax, esp
mov dword [esp + 0x58], esi
movups xmm0, xmmword [esi + ecx + 0x38]
movups xmmword [eax], xmm0
call fcn.0040a4f0
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
je 0x41f7b4
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
movups xmm0, xmmword [edx + edi + 0x38]
movups xmm1, xmmword [esi + eax + 0x38]
psrldq xmm0, 0xc
movd eax, xmm0
psrldq xmm1, 0xc
mov cl, byte [eax + 0x11]
movd eax, xmm1
cmp cl, byte [eax + 0x11]
jne 0x41f7b4
movups xmm0, xmmword [edx + edi + 0x38]
xor esi, esi
mov edx, dword [esp + 0x34]
imul ecx, dword [edi + 0x18], 0x19
psrldq xmm0, 0xc
movd eax, xmm0
add ecx, edx
movzx eax, byte [eax + 0x11]
or eax, dword [ecx*4 + 0x514574]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
add eax, 0x48
add eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
add eax, 0x48
add eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
nop
push edx
push edi
call fcn.0040a5c0
add esp, 8
cmp esi, eax
jae 0x41f364
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
movzx eax, byte [eax]
mov ecx, dword [edx + eax*8]
mov eax, dword [edx + eax*8 + 4]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], eax
movzx eax, cx
mov dword [esp + 0x1c], eax
movzx eax, cx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], ecx
movzx eax, byte [eax]
mov edx, dword [edx + eax*8]
mov eax, dword [edi + eax*8 + 4]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], eax
movzx eax, dx
mov dword [esp + 0x18], eax
movzx eax, dx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff6
mov dword [esp + 0x5c], edx
cmp eax, 0xb6
ja 0x41f7b4
mov eax, dword [esp + 0x4c]
movzx eax, ax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
movzx eax, ax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x24]
movzx eax, byte [eax + 0x41f7de]
jmp dword [eax*4 + 0x41f7c8]
inc dword [esp + 0x44]
inc esi
inc dword [esp + 0x40]
mov edx, dword [esp + 0x34]
cmp esi, 0x10
jb 0x41f270
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004eef15
add esp, 0x70
ret
mov ecx, dword [esp + 0x44]
xorps xmm0, xmm0
movaps xmm1, xmmword [0x533f20]
movaps xmm2, xmmword [0x533ec0]
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [ecx + edi + 0x38]
psrldq xmm0, 0xc
movd eax, xmm0
mov edi, dword [eax]
xor eax, eax
cmp dword [edi + 0xc], eax
cmovne edi, eax
test edi, edi
je 0x41f4d4
mov eax, dword [edi + 0x18]
cmp eax, 0xef
je 0x41f475
cmp eax, 0x14a
jne 0x41f4d4
movups xmm0, xmmword [edi + 0x38]
xor esi, esi
mov byte [esp + 0x53], 1
push esi
push edi
movups xmmword [esp + 0x6c], xmm0
call fcn.0040a5c0
add esp, 8
test eax, eax
je 0x41f4ca
mov al, byte [edi + esi + 0x48]
push 0
mov byte [esp + esi + 0x58], al
inc esi
push edi
call fcn.0040a5c0
add esp, 8
cmp esi, eax
jb 0x41f493
mov edx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
movaps xmm1, xmmword [0x533f20]
movaps xmm2, xmmword [0x533ec0]
mov esi, dword [esp + 0x48]
jmp 0x41f5c9
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
jmp 0x41f4b3
mov eax, dword [esp + 0x38]
movups xmm0, xmmword [ecx + eax + 0x38]
xor ecx, ecx
psrldq xmm0, 0xc
movd eax, xmm0
mov dword [esp + 0x40], eax
movzx edx, byte [eax + 0x10]
mov al, cl
mov dword [esp + 0x3c], edx
mov byte [esp + 0x53], al
test edx, edx
je 0x41f5c9
mov byte [esp + 0x53], al
cmp edx, 0x10
jb 0x41f5c0
mov edi, edx
mov byte [esp + 0x53], al
and edi, 0xfffffff0
lea esi, [esp + 0x54]
lea edx, [esp + 0x58]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [esi + ecx], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [edx + ecx], xmm0
movd xmm0, eax
lea eax, [esp + 0x5c]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [eax + ecx], xmm0
lea eax, [ecx + 0xc]
movd xmm0, eax
lea eax, [esp + 0x60]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [eax + ecx], xmm0
add ecx, 0x10
cmp ecx, edi
jb 0x41f520
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x48]
cmp ecx, edx
jae 0x41f5c9
nop dword [eax]
mov byte [esp + ecx + 0x54], cl
inc ecx
cmp ecx, edx
jb 0x41f5c0
mov ecx, dword [esp + 0x4c]
xorps xmm0, xmm0
shl esi, 5
movups xmmword [esp + 0x64], xmm0
mov dword [esp + 0x48], esi
movups xmm0, xmmword [esi + ecx + 0x38]
psrldq xmm0, 0xc
movd eax, xmm0
mov edi, dword [eax]
xor eax, eax
cmp dword [edi + 0xc], eax
cmovne edi, eax
test edi, edi
je 0x41f651
mov eax, dword [edi + 0x18]
cmp eax, 0xef
je 0x41f609
cmp eax, 0x14a
jne 0x41f651
movups xmm0, xmmword [edi + 0x38]
xor byte [esp + 0x53], 1
xor esi, esi
push esi
push edi
movups xmmword [esp + 0x10], xmm0
call fcn.0040a5c0
add esp, 8
test eax, eax
je 0x41f648
nop word [eax + eax]
mov al, byte [edi + esi + 0x48]
push 0
mov byte [esp + esi + 0x68], al
inc esi
push edi
call fcn.0040a5c0
add esp, 8
cmp esi, eax
jb 0x41f630
mov esi, dword [esp + 0x14]
jmp 0x41f739
movups xmm0, xmmword [esi + ecx + 0x38]
xor ecx, ecx
psrldq xmm0, 0xc
movd esi, xmm0
mov dword [esp + 0x2c], esi
movzx edx, byte [esi + 0x10]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x41f739
cmp edx, 0x10
jb 0x41f730
mov edi, edx
lea esi, [esp + 0x64]
and edi, 0xfffffff0
lea edx, [esp + 0x68]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [esi + ecx], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [edx + ecx], xmm0
movd xmm0, eax
lea eax, [esp + 0x6c]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [eax + ecx], xmm0
lea eax, [ecx + 0xc]
movd xmm0, eax
lea eax, [esp + 0x70]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
andps xmm0, xmm1
packuswb xmm0, xmm0
packuswb xmm0, xmm0
movd dword [eax + ecx], xmm0
add ecx, 0x10
cmp ecx, edi
jb 0x41f690
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
cmp ecx, edx
jae 0x41f739
nop dword [eax]
mov byte [esp + ecx + 0x64], cl
inc ecx
cmp ecx, edx
jb 0x41f730
cmp byte [esp + 0x53], 0
je 0x41f7b4
cmp dword [esp + 0x40], esi
jne 0x41f7b4
push dword [esp + 0x34]
xor esi, esi
push dword [esp + 0x3c]
call fcn.0040a5c0
add esp, 8
test eax, eax
je 0x41f7a1
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
add edi, 0x48
add edi, dword [esp + 0x48]
add edx, 0x48
add edx, dword [esp + 0x44]
movzx eax, byte [edx]
movzx ecx, byte [edi]
mov al, byte [esp + eax + 0x54]
cmp al, byte [esp + ecx + 0x64]
jne 0x41f7b4
push dword [esp + 0x34]
inc edx
inc esi
push dword [esp + 0x3c]
mov dword [esp + 0x44], edx
inc edi
call fcn.0040a5c0
mov edx, dword [esp + 0x44]
add esp, 8
cmp esi, eax
jb 0x41f772
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.004eef15
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004eef15
add esp, 0x70
ret