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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x900
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [0x7024bc]
xor eax, ebp
mov dword [esp + 0x8f8], eax
lea eax, [esp + 0x1f0]
push 0x708
push 0xff
push eax
call fcn.00645dd0
add esp, 0xc
lea edi, [esp + 0x240]
mov dword [esp + 0x20], 0xf
lea esi, [esp + 0xd0]
lea ebx, [esp + 0x30]
nop dword [eax + eax]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
mov dword [esp + 0xf4], 0xffffffff
mov dword [esp + 0xf0], 0xffffffff
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x50], 0xffffffff
mov ecx, esi
mov esi, dword [esp + 8]
mov edx, esi
call fcn.004cc530
lea edx, [esi + 0x20]
mov ecx, ebx
call fcn.004cc530
movdqa xmm0, xmmword [esp + 0x30]
movdqa xmm1, xmmword [esp + 0x40]
movdqa xmm2, xmmword [esp + 0xd0]
movdqa xmm3, xmmword [esp + 0xe0]
movdqa xmm4, xmm2
paddd xmm4, xmm0
movdqa xmm5, xmm3
paddd xmm5, xmm1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xf0]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0xf4]
movdqu xmmword [edi - 0x50], xmm4
movdqu xmmword [edi - 0x40], xmm5
mov dword [edi - 0x30], edx
lea edx, [esi + ebx]
mov dword [edi - 0x2c], edx
sub eax, ecx
sub ebx, esi
psubd xmm0, xmm2
paddd xmm0, xmmword [0x68c080]
psubd xmm1, xmm3
paddd xmm1, xmmword [0x68c090]
add eax, 0x7fffffe
movdqu xmmword [edi - 0x28], xmm0
movdqu xmmword [edi - 0x18], xmm1
mov dword [edi - 8], eax
add ebx, 0x3fffffe
mov dword [edi - 4], ebx
lea ebx, [esp + 0x30]
lea esi, [esp + 0xd0]
mov ecx, edi
mov edx, esi
push ebx
call fcn.004d5b10
add esp, 4
mov ecx, edi
mov edx, edi
push 0x68c110
call fcn.004d5b10
add esp, 4
add dword [esp + 8], 0x40
add edi, 0x78
add dword [esp + 0x20], 0xffffffff
jne 0x4cbfa0
pxor xmm0, xmm0
mov eax, dword [ebp + 8]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
lea ecx, [eax + 0x28]
mov dword [esp + 0x14], ecx
movdqu xmmword [eax + 0x2c], xmm0
movdqu xmmword [eax + 0x3c], xmm0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x28], 1
lea ecx, [eax + 0x50]
mov dword [esp + 0x10], ecx
movdqu xmmword [eax + 0x54], xmm0
movdqu xmmword [eax + 0x64], xmm0
mov dword [eax + 0x74], 0
mov dword [eax + 0x50], 1
lea ecx, [eax + 0x78]
mov dword [esp + 0xc], ecx
movdqu xmmword [eax + 0x78], xmm0
movdqu xmmword [eax + 0x88], xmm0
mov dword [eax + 0x9c], 0
mov dword [eax + 0x98], 0
mov ebx, 0x3f
nop word cs:[eax + eax]
nop
mov eax, ebx
shr eax, 3
mov edi, dword [ebp + 0xc]
movzx edx, byte [edi + eax]
mov dword [esp + 0x18], ebx
mov ecx, ebx
and cl, 7
shr edx, cl
movzx esi, byte [edi + eax + 8]
shr esi, cl
and edx, 1
and esi, 1
lea edx, [edx + esi*2]
movzx esi, byte [edi + eax + 0x10]
shr esi, cl
movzx eax, byte [edi + eax + 0x18]
shr eax, cl
and esi, 1
lea ecx, [edx + esi*4]
and eax, 1
lea eax, [ecx + eax*8]
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
lea eax, [esp + 0x17c]
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x20], 0
mov dword [esp + 0x178], 1
movdqu xmmword [eax + 0x38], xmm0
movdqu xmmword [eax + 0x28], xmm0
mov dword [eax + 0x48], 0
mov dword [esp + 0x1a0], 1
movdqu xmmword [eax + 0x5c], xmm0
movdqu xmmword [eax + 0x4c], xmm0
mov dword [eax + 0x70], 0
mov dword [eax + 0x6c], 0
mov edi, 1
xor edx, edx
lea esi, [esp + 0x264]
xor ecx, ecx
movdqa xmm0, xmmword [0x676450]
pxor xmm2, xmm2
movdqa xmm3, xmmword [0x676a60]
pxor xmm4, xmm4
pxor xmm5, xmm5
pxor xmm6, xmm6
xorps xmm7, xmm7
nop word cs:[eax + eax]
nop dword [eax]
movaps xmmword [esp + 0x20], xmm7
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], edi
xor eax, edi
add eax, 0xffffffff
movd xmm7, eax
pshufd xmm7, xmm7, 0
psrad xmm7, 0x1f
movdqa xmm1, xmm7
pandn xmm1, xmm0
movdqu xmm0, xmmword [esi - 0x74]
pand xmm0, xmm7
por xmm0, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm2
movdqu xmm2, xmmword [esi - 0x64]
pand xmm2, xmm7
por xmm2, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm3
movdqu xmm3, xmmword [esi - 0x54]
pand xmm3, xmm7
por xmm3, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm4
movdqu xmm4, xmmword [esi - 0x44]
pand xmm4, xmm7
por xmm4, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm5
movdqu xmm5, xmmword [esi - 0x34]
pand xmm5, xmm7
por xmm5, xmm1
movdqa xmm1, xmm7
pandn xmm1, xmm6
movdqu xmm6, xmmword [esi - 0x24]
pand xmm6, xmm7
por xmm6, xmm1
movdqu xmm1, xmmword [esi - 0x14]
pand xmm1, xmm7
pandn xmm7, xmmword [esp + 0x20]
por xmm7, xmm1
mov ebx, ecx
mov edi, edx
sar eax, 0x1f
mov ecx, dword [esi - 4]
xor ecx, ebx
and ecx, eax
xor ecx, ebx
mov edx, dword [esi]
xor edx, edi
and edx, eax
xor edx, edi
mov eax, dword [esp + 8]
add eax, 1
add esi, 0x78
mov edi, eax
cmp eax, 0x10
jne 0x4cc240
movdqu xmmword [esp + 0x178], xmm0
movdqu xmmword [esp + 0x188], xmm2
movdqu xmmword [esp + 0x198], xmm3
movdqu xmmword [esp + 0x1a8], xmm4
movdqu xmmword [esp + 0x1b8], xmm5
movdqu xmmword [esp + 0x1c8], xmm6
movdqu xmmword [esp + 0x1d8], xmm7
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x160], xmm0
movdqa xmmword [esp + 0x150], xmm0
movdqa xmmword [esp + 0x140], xmm0
movdqa xmmword [esp + 0x130], xmm0
movdqa xmmword [esp + 0x120], xmm0
movdqa xmmword [esp + 0x110], xmm0
movdqa xmmword [esp + 0x100], xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
mov esi, dword [ebp + 8]
push esi
lea edi, [esp + 0xd4]
push edi
call fcn.004cb370
add esp, 8
push edi
push esi
lea edi, [esp + 0x38]
push edi
call fcn.004cb440
add esp, 0xc
mov ecx, esi
mov edx, edi
lea eax, [esp + 0xa8]
push eax
call fcn.004d5b10
add esp, 4
mov ebx, dword [esp + 0x14]
mov ecx, ebx
lea edx, [esp + 0x58]
lea eax, [esp + 0x80]
push eax
call fcn.004d5b10
add esp, 4
mov esi, dword [esp + 0x10]
mov ecx, esi
lea edx, [esp + 0x80]
lea eax, [esp + 0xa8]
push eax
call fcn.004d5b10
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, edi
lea eax, [esp + 0x58]
push eax
call fcn.004d5b10
add esp, 4
mov ecx, edi
mov edx, dword [ebp + 8]
lea eax, [esp + 0x178]
push eax
call fcn.004cc6f0
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, edi
lea eax, [esp + 0xa8]
push eax
call fcn.004d5b10
add esp, 4
mov ecx, ebx
lea edx, [esp + 0x58]
lea ebx, [esp + 0x80]
push ebx
call fcn.004d5b10
add esp, 4
mov ecx, esi
mov edx, ebx
lea eax, [esp + 0xa8]
push eax
call fcn.004d5b10
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, edi
lea eax, [esp + 0x58]
push eax
call fcn.004d5b10
add esp, 4
mov ebx, dword [esp + 0x18]
add ebx, 0xffffffff
cmp ebx, 0x40
jb 0x4cc160
mov ecx, dword [esp + 0x8f8]
xor ecx, ebp
call fcn.0064180a
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret