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

Disassembly:
sub esp, 0xdc
mov eax, dword [0x537eb4]
xor eax, esp
mov dword [esp + 0xd8], eax
mov edx, dword [esp + 0xec]
push ebx
mov ebx, dword [esp + 0xe4]
push ebp
push esi
mov esi, dword [esp + 0xf0]
cmp dword [ebx + 0x7610], 0
push edi
mov dword [esp + 0x9c], esi
jne 0x4cf5a6
mov eax, dword [esp + 0xf8]
mov edi, esi
test eax, eax
lea ecx, [esi + eax]
cmovg edi, ecx
mov dword [esp + 0x2c], edi
jmp 0x4cf5b0
mov eax, dword [ebx + 0x7608]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x74b0]
mov ebp, esi
mov ecx, dword [ebx + 0x7578]
mov esi, dword [ebx + 0x7588]
mov dword [esp + 0x30], eax
add esi, ecx
cmp dword [esp + 0x104], 0
mov eax, dword [ebx + 0x74b4]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x74b8]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], eax
je 0x4d0089
push dword [esp + 0x100]
lea eax, [ebx + 0x682c]
mov dword [ebx + 0x750c], 1
mov esi, eax
mov dword [esp + 0x9c], eax
lea edi, [esp + 0xe0]
push edx
lea eax, [esp + 0xb8]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004c72b3
add esp, 0xc
cmp eax, 0xffffff88
jbe 0x4cf644
push 0xffffffffffffffec
pop edi
jmp 0x4d00b6
push dword [ebx]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.004d0336
push dword [ebx + 8]
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.004d0336
push dword [ebx + 4]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.004d0336
add esp, 0x24
mov esi, dword [esp + 0xd8]
mov ebx, dword [esp + 0xc8]
mov edi, dword [esp + 0xc4]
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
mov ebp, dword [esi + edx*8 + 4]
mov dl, byte [ebx + edi*8 + 2]
mov byte [esp + 0x17], dl
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x50], ebp
mov ebp, dword [ebx + edi*8 + 4]
mov bl, byte [esi + edx*8 + 2]
mov byte [esp + 0x16], bl
mov bl, byte [ecx + eax*8 + 2]
mov byte [esp + 0x1f], bl
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], ebp
mov ebp, dword [ecx + eax*8 + 4]
mov dword [esp + 0x10], ebp
movzx ebp, word [ebx + edi*8]
movzx edi, byte [ebx + edi*8 + 3]
mov dword [esp + 0x74], ebp
movzx ebp, word [esi + edx*8]
movzx edx, byte [esi + edx*8 + 3]
mov dword [esp + 0x7c], ebp
movzx ebp, word [ecx + eax*8]
movzx eax, byte [ecx + eax*8 + 3]
mov dword [esp + 0x88], eax
mov al, byte [esp + 0x1f]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edx
cmp al, 1
jbe 0x4cf97e
cmp dword [esp + 0x108], 0
je 0x4cf86b
cmp al, 0x19
jb 0x4cf86b
mov ebp, dword [esp + 0xb0]
mov ebx, ebp
movzx edx, al
mov eax, dword [esp + 0xb4]
sub edx, 5
mov ecx, eax
and ecx, 0x1f
shl ebx, cl
mov ecx, edx
neg ecx
lea esi, [eax + edx]
and ecx, 0x1f
shr ebx, cl
shl ebx, 5
add dword [esp + 0x10], ebx
cmp esi, 0x20
jbe 0x4cf79c
mov edi, 0x530a6c
mov dword [esp + 0xb8], edi
jmp 0x4cf83f
mov edi, dword [esp + 0xb8]
cmp edi, dword [esp + 0xc0]
jb 0x4cf7dd
mov eax, esi
and esi, 7
shr eax, 3
sub edi, eax
mov dword [esp + 0xb4], esi
push 4
lea eax, [esp + 0x90]
mov dword [esp + 0xbc], edi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0x98]
jmp 0x4cf827
mov ebx, dword [esp + 0xbc]
cmp edi, ebx
je 0x4cf846
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cf7f9
mov ecx, edi
sub ecx, ebx
mov eax, ecx
sub edi, ecx
shl eax, 3
sub esi, eax
mov dword [esp + 0xb8], edi
push 4
lea eax, [esp + 0xa4]
mov dword [esp + 0xb8], esi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0xac]
mov esi, dword [esp + 0xc0]
add esp, 0xc
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xb0], ebp
mov ebx, dword [esp + 0xbc]
mov ecx, esi
mov eax, ebp
and ecx, 0x1f
add esi, 5
shl eax, cl
mov ecx, dword [esp + 0x10]
shr eax, 0x1b
add ecx, eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0x10], ecx
jmp 0x4cf956
mov ecx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xb0]
and ecx, 0x1f
movzx esi, al
mov edx, ebp
shl edx, cl
mov ecx, esi
add esi, dword [esp + 0xb4]
neg ecx
and ecx, 0x1f
mov dword [esp + 0xb4], esi
shr edx, cl
add dword [esp + 0x10], edx
cmp esi, 0x20
jbe 0x4cf8b4
mov edi, 0x530a6c
mov dword [esp + 0xb8], edi
jmp 0x4cf94b
mov edi, dword [esp + 0xb8]
cmp edi, dword [esp + 0xc0]
jb 0x4cf8ef
mov eax, esi
and esi, 7
shr eax, 3
sub edi, eax
mov dword [esp + 0xb4], esi
push 4
lea eax, [esp + 0x5c]
mov dword [esp + 0xbc], edi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0x64]
jmp 0x4cf933
mov ebx, dword [esp + 0xbc]
cmp edi, ebx
je 0x4cf952
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cf90b
mov ecx, edi
sub ecx, ebx
mov eax, ecx
sub edi, ecx
shl eax, 3
sub esi, eax
mov dword [esp + 0xb8], edi
push 4
lea eax, [esp + 0x60]
mov dword [esp + 0xb8], esi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0xc0]
add esp, 0xc
mov edi, dword [esp + 0xb8]
mov dword [esp + 0xb0], ebp
mov ebx, dword [esp + 0xbc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], ecx
jmp 0x4cfa2e
mov ecx, dword [esp + 0x28]
xor edx, edx
mov esi, dword [esp + 0xb4]
test ecx, ecx
mov ebp, dword [esp + 0xb0]
sete dl
test al, al
jne 0x4cf9b9
mov ebx, dword [esp + edx*4 + 0xdc]
neg ecx
sbb eax, eax
and eax, 4
mov eax, dword [esp + eax + 0xdc]
mov dword [esp + 0xe0], eax
jmp 0x4cfa13
mov ecx, esi
mov eax, ebp
and ecx, 0x1f
shl eax, cl
shr eax, 0x1f
inc esi
mov dword [esp + 0xb4], esi
lea ecx, [eax + edx]
mov edx, dword [esp + 0xdc]
add ecx, dword [esp + 0x10]
lea ebx, [edx - 1]
cmp ecx, 3
je 0x4cf9ea
mov ebx, dword [esp + ecx*4 + 0xdc]
xor eax, eax
test ebx, ebx
sete al
sub ebx, eax
mov eax, dword [esp + 0xe4]
cmp ecx, 1
cmovne eax, dword [esp + 0xe0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe0], edx
mov edi, dword [esp + 0xb8]
mov ecx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xdc], ebx
mov ebx, dword [esp + 0xbc]
mov al, byte [esp + 0x16]
mov dword [esp + 0x54], ecx
test al, al
je 0x4cfa6a
movzx edx, al
mov ecx, esi
and ecx, 0x1f
mov eax, ebp
shl eax, cl
add esi, edx
mov ecx, edx
mov dword [esp + 0xb4], esi
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x18]
add ecx, eax
mov al, byte [esp + 0x16]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], ecx
movzx edx, byte [esp + 0x17]
movzx eax, al
add eax, edx
mov dword [esp + 0x40], edx
cmp eax, 0x14
jb 0x4cfb29
cmp esi, 0x20
jbe 0x4cfa97
mov edi, 0x530a6c
mov dword [esp + 0xb8], edi
jmp 0x4cfb29
cmp edi, dword [esp + 0xc0]
jb 0x4cfacb
mov eax, esi
and esi, 7
shr eax, 3
sub edi, eax
mov dword [esp + 0xb4], esi
push 4
lea eax, [esp + 0x64]
mov dword [esp + 0xbc], edi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0x6c]
jmp 0x4cfb06
cmp edi, ebx
je 0x4cfb29
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfae0
mov ecx, edi
sub ecx, ebx
imul eax, ecx, 0xfffffff8
sub edi, ecx
push 4
push edi
mov dword [esp + 0xc0], edi
add esi, eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0xc0], esi
call fcn.004e4a90
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xb0], ebp
cmp byte [esp + 0x17], 0
jbe 0x4cfb59
mov ecx, esi
mov eax, ebp
and ecx, 0x1f
add esi, edx
shl eax, cl
mov ecx, edx
neg ecx
mov dword [esp + 0xb4], esi
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], ecx
cmp esi, 0x20
jbe 0x4cfb6f
mov edi, 0x530a6c
mov dword [esp + 0xb8], edi
jmp 0x4cfbfd
cmp edi, dword [esp + 0xc0]
jb 0x4cfba3
mov eax, esi
and esi, 7
shr eax, 3
sub edi, eax
mov dword [esp + 0xb4], esi
push 4
lea eax, [esp + 0x6c]
mov dword [esp + 0xbc], edi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0x74]
jmp 0x4cfbde
cmp edi, ebx
je 0x4cfbfd
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfbb8
mov ecx, edi
sub ecx, ebx
imul eax, ecx, 0xfffffff8
sub edi, ecx
push 4
push edi
mov dword [esp + 0xc0], edi
add esi, eax
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0xc0], esi
call fcn.004e4a90
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0xc0]
add esp, 0xc
mov edi, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xb0], ebp
cmp dword [esp + 0x104], 1
je 0x4cfdda
mov eax, dword [esp + 0x70]
mov edx, ebp
add esi, eax
mov ecx, esi
neg ecx
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5310c8]
mov eax, dword [esp + 0x74]
movzx eax, ax
add edx, eax
mov eax, dword [esp + 0x78]
add esi, eax
mov dword [esp + 0xc4], edx
mov ecx, esi
mov edx, ebp
neg ecx
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5310c8]
mov eax, dword [esp + 0x7c]
movzx eax, ax
add edx, eax
mov dword [esp + 0xd4], edx
cmp esi, 0x20
jbe 0x4cfc71
mov edi, 0x530a6c
mov dword [esp + 0xb8], edi
jmp 0x4cfd0d
cmp edi, dword [esp + 0xc0]
jb 0x4cfcab
mov eax, esi
and esi, 7
shr eax, 3
sub edi, eax
mov dword [esp + 0xb4], esi
push 4
lea eax, [esp + 0x84]
mov dword [esp + 0xbc], edi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0x8c]
jmp 0x4cfcee
cmp edi, ebx
je 0x4cfd0d
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfcc0
mov ecx, edi
sub ecx, ebx
mov eax, ecx
sub edi, ecx
shl eax, 3
sub esi, eax
mov dword [esp + 0xb8], edi
push 4
lea eax, [esp + 0x88]
mov dword [esp + 0xb8], esi
push edi
push eax
call fcn.004e4a90
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0xc0]
add esp, 0xc
mov edi, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xb0], ebp
mov eax, dword [esp + 0x88]
lea edx, [esi + eax]
mov ecx, edx
mov dword [esp + 0xb4], edx
neg ecx
and ecx, 0x1f
shr ebp, cl
and ebp, dword [eax*4 + 0x5310c8]
mov eax, dword [esp + 0x3c]
movzx eax, ax
add eax, ebp
mov dword [esp + 0xcc], eax
cmp edx, 0x20
jbe 0x4cfd53
mov dword [esp + 0xb8], 0x530a6c
jmp 0x4cfdda
cmp edi, dword [esp + 0xc0]
jb 0x4cfd8d
mov eax, edx
and edx, 7
shr eax, 3
sub edi, eax
mov dword [esp + 0xb4], edx
push 4
lea eax, [esp + 0x94]
mov dword [esp + 0xbc], edi
push edi
push eax
call fcn.004e4a90
mov eax, dword [esp + 0x9c]
jmp 0x4cfdd0
cmp edi, ebx
je 0x4cfdda
mov ecx, edx
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfda2
mov ecx, edi
sub ecx, ebx
mov eax, ecx
sub edi, ecx
shl eax, 3
sub edx, eax
mov dword [esp + 0xb8], edi
push 4
lea eax, [esp + 0x98]
mov dword [esp + 0xb8], edx
push edi
push eax
call fcn.004e4a90
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xbc], eax
add esp, 0xc
mov ecx, dword [esp + 0x28]
lea esi, [esp + 0x4c]
mov edx, dword [esp + 0x18]
lea edi, [esp + 0xa4]
mov eax, dword [esp + 0x20]
movsd dword es:[edi], dword [esi]
add eax, ecx
mov dword [esp + 0x3c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x24]
lea edi, [ecx + edx]
lea ebp, [ecx + esi]
mov ebx, ebp
sub ebx, dword [esp + 0x10]
cmp eax, dword [esp + 0x38]
ja 0x4cfffd
mov eax, dword [esp + 0x2c]
lea ecx, [edi + esi]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x4cfffd
mov ecx, dword [esp + 0x2c]
lea eax, [edi + 0x20]
sub ecx, esi
cmp ecx, eax
jb 0x4cfffd
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
cmp eax, 0x10
jbe 0x4cfe84
lea edx, [ecx + 0x10]
add eax, 0xfffffff0
lea ecx, [esi + 0x10]
movups xmm0, xmmword [edx]
lea esi, [ecx + eax]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x4cfe80
push 0x10
pop eax
add ecx, eax
add edx, eax
movups xmm0, xmmword [edx]
add edx, eax
movups xmmword [ecx], xmm0
add ecx, eax
movups xmm0, xmmword [edx]
add edx, eax
movups xmmword [ecx], xmm0
add ecx, eax
cmp ecx, esi
jb 0x4cfe68
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, ebp
sub eax, esi
cmp ecx, eax
jbe 0x4cfefb
mov eax, ebp
sub eax, dword [esp + 0x48]
cmp ecx, eax
ja 0x4cf63c
mov ecx, dword [esp + 0x44]
mov eax, ecx
sub eax, esi
add ebx, eax
lea eax, [ebx + edx]
cmp eax, ecx
ja 0x4cfed7
push edx
push ebx
push ebp
call fcn.004e5010
add esp, 0xc
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x4d0039
mov esi, ecx
sub esi, ebx
push esi
push ebx
push ebp
call fcn.004e5010
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ebx, dword [esp + 0x30]
add ebp, esi
sub edx, esi
mov dword [esp + 0xa8], edx
jmp 0x4cff02
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
push 0x10
pop esi
mov dword [esp + 0x18], edx
cmp ecx, esi
jb 0x4cff43
lea eax, [edx + ebp]
movups xmm0, xmmword [ebx]
movups xmmword [ebp], xmm0
cmp edx, esi
jle 0x4cfeca
add ebp, 0x10
add ebx, esi
movups xmm0, xmmword [ebx]
add ebx, esi
movups xmmword [ebp], xmm0
add ebp, esi
movups xmm0, xmmword [ebx]
add ebx, esi
movups xmmword [ebp], xmm0
add ebp, esi
cmp ebp, eax
jb 0x4cff27
jmp 0x4cfeca
cmp ecx, 8
jae 0x4cff76
mov al, byte [ebx]
mov byte [ebp], al
mov al, byte [ebx + 1]
mov byte [ebp + 1], al
mov al, byte [ebx + 2]
mov byte [ebp + 2], al
mov al, byte [ebx + 3]
add ebx, dword [ecx*4 + 0x530f88]
mov byte [ebp + 3], al
mov edx, ebx
sub ebx, dword [ecx*4 + 0x530fa8]
lea eax, [ebp + 4]
push 4
jmp 0x4cff7c
mov eax, ebp
mov edx, ebx
push 8
pop ecx
push ecx
push edx
push eax
call fcn.004e4a90
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 8
jbe 0x4cfeca
add ebp, 8
add ecx, 0xfffffff8
add ebx, 8
mov eax, ebp
push 0x10
sub eax, ebx
pop edx
lea esi, [ecx + ebp]
cmp eax, edx
jge 0x4cffc9
sub ebx, ebp
push 8
lea eax, [ebx + ebp]
push eax
push ebp
call fcn.004e4a90
add ebp, 8
add esp, 0xc
cmp ebp, esi
jb 0x4cffae
jmp 0x4cfeca
movups xmm0, xmmword [ebx]
movups xmmword [ebp], xmm0
cmp ecx, edx
jle 0x4cfeca
add ebp, 0x10
add ebx, 0x10
movups xmm0, xmmword [ebx]
add ebx, edx
movups xmmword [ebp], xmm0
add ebp, edx
movups xmm0, xmmword [ebx]
add ebx, edx
movups xmmword [ebp], xmm0
add ebp, edx
cmp ebp, esi
jb 0x4cffde
jmp 0x4cfeca
push dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x38]
push dword [esp + 0x4c]
lea esi, [esp + 0x54]
push dword [esp + 0x38]
push dword [esp + 0x44]
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004d00d1
mov ecx, dword [esp + 0x5c]
add esp, 0x28
mov edi, eax
mov dword [esp + 0x20], ecx
cmp edi, 0xffffff88
ja 0x4d00b6
add ebp, edi
sub dword [esp + 0x104], 1
mov dword [esp + 0x24], ebp
jne 0x4cf68e
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xbc]
jne 0x4cf63c
cmp dword [esp + 0xb4], 0x20
jne 0x4cf63c
mov edi, dword [esp + 0x98]
lea esi, [esp + 0xdc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
sub esi, ecx
sub eax, ebp
cmp esi, eax
jbe 0x4d009c
push 0xffffffffffffffba
jmp 0x4cf63e
test ebp, ebp
je 0x4d00ad
push esi
push ecx
push ebp
call fcn.004e4a90
add esp, 0xc
add ebp, esi
mov edi, ebp
sub edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0xe8]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e3fdc
add esp, 0xdc
ret