Function at 0x4cf7c2
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 0x4cf816
mov eax, dword [esp + 0xf8]
mov edi, esi
test eax, eax
lea ecx, [esi + eax]
cmovg edi, ecx
mov dword [esp + 0x2c], edi
jmp 0x4cf820
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 0x4d02f9
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.004c7523
add esp, 0xc
cmp eax, 0xffffff88
jbe 0x4cf8b4
push 0xffffffffffffffec
pop edi
jmp 0x4d0326
push dword [ebx]
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.004d05a6
push dword [ebx + 8]
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.004d05a6
push dword [ebx + 4]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.004d05a6
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 0x4cfbee
cmp dword [esp + 0x108], 0
je 0x4cfadb
cmp al, 0x19
jb 0x4cfadb
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 0x4cfa0c
mov edi, 0x530b2c
mov dword [esp + 0xb8], edi
jmp 0x4cfaaf
mov edi, dword [esp + 0xb8]
cmp edi, dword [esp + 0xc0]
jb 0x4cfa4d
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.004e4d00
mov ebp, dword [esp + 0x98]
jmp 0x4cfa97
mov ebx, dword [esp + 0xbc]
cmp edi, ebx
je 0x4cfab6
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfa69
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.004e4d00
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 0x4cfbc6
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 0x4cfb24
mov edi, 0x530b2c
mov dword [esp + 0xb8], edi
jmp 0x4cfbbb
mov edi, dword [esp + 0xb8]
cmp edi, dword [esp + 0xc0]
jb 0x4cfb5f
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.004e4d00
mov ebp, dword [esp + 0x64]
jmp 0x4cfba3
mov ebx, dword [esp + 0xbc]
cmp edi, ebx
je 0x4cfbc2
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfb7b
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.004e4d00
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 0x4cfc9e
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 0x4cfc29
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 0x4cfc83
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 0x4cfc5a
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 0x4cfcda
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 0x4cfd99
cmp esi, 0x20
jbe 0x4cfd07
mov edi, 0x530b2c
mov dword [esp + 0xb8], edi
jmp 0x4cfd99
cmp edi, dword [esp + 0xc0]
jb 0x4cfd3b
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.004e4d00
mov ebp, dword [esp + 0x6c]
jmp 0x4cfd76
cmp edi, ebx
je 0x4cfd99
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfd50
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.004e4d00
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 0x4cfdc9
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 0x4cfddf
mov edi, 0x530b2c
mov dword [esp + 0xb8], edi
jmp 0x4cfe6d
cmp edi, dword [esp + 0xc0]
jb 0x4cfe13
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.004e4d00
mov ebp, dword [esp + 0x74]
jmp 0x4cfe4e
cmp edi, ebx
je 0x4cfe6d
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cfe28
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.004e4d00
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 0x4d004a
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 + 0x531188]
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 + 0x531188]
mov eax, dword [esp + 0x7c]
movzx eax, ax
add edx, eax
mov dword [esp + 0xd4], edx
cmp esi, 0x20
jbe 0x4cfee1
mov edi, 0x530b2c
mov dword [esp + 0xb8], edi
jmp 0x4cff7d
cmp edi, dword [esp + 0xc0]
jb 0x4cff1b
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.004e4d00
mov ebp, dword [esp + 0x8c]
jmp 0x4cff5e
cmp edi, ebx
je 0x4cff7d
mov ecx, esi
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4cff30
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.004e4d00
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 + 0x531188]
mov eax, dword [esp + 0x3c]
movzx eax, ax
add eax, ebp
mov dword [esp + 0xcc], eax
cmp edx, 0x20
jbe 0x4cffc3
mov dword [esp + 0xb8], 0x530b2c
jmp 0x4d004a
cmp edi, dword [esp + 0xc0]
jb 0x4cfffd
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.004e4d00
mov eax, dword [esp + 0x9c]
jmp 0x4d0040
cmp edi, ebx
je 0x4d004a
mov ecx, edx
mov eax, edi
shr ecx, 3
sub eax, ecx
cmp eax, ebx
jae 0x4d0012
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.004e4d00
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 0x4d026d
mov eax, dword [esp + 0x2c]
lea ecx, [edi + esi]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x4d026d
mov ecx, dword [esp + 0x2c]
lea eax, [edi + 0x20]
sub ecx, esi
cmp ecx, eax
jb 0x4d026d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
cmp eax, 0x10
jbe 0x4d00f4
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 0x4d00f0
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 0x4d00d8
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 0x4d016b
mov eax, ebp
sub eax, dword [esp + 0x48]
cmp ecx, eax
ja 0x4cf8ac
mov ecx, dword [esp + 0x44]
mov eax, ecx
sub eax, esi
add ebx, eax
lea eax, [ebx + edx]
cmp eax, ecx
ja 0x4d0147
push edx
push ebx
push ebp
call fcn.004e5280
add esp, 0xc
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
jmp 0x4d02a9
mov esi, ecx
sub esi, ebx
push esi
push ebx
push ebp
call fcn.004e5280
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 0x4d0172
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
push 0x10
pop esi
mov dword [esp + 0x18], edx
cmp ecx, esi
jb 0x4d01b3
lea eax, [edx + ebp]
movups xmm0, xmmword [ebx]
movups xmmword [ebp], xmm0
cmp edx, esi
jle 0x4d013a
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 0x4d0197
jmp 0x4d013a
cmp ecx, 8
jae 0x4d01e6
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 + 0x531048]
mov byte [ebp + 3], al
mov edx, ebx
sub ebx, dword [ecx*4 + 0x531068]
lea eax, [ebp + 4]
push 4
jmp 0x4d01ec
mov eax, ebp
mov edx, ebx
push 8
pop ecx
push ecx
push edx
push eax
call fcn.004e4d00
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp ecx, 8
jbe 0x4d013a
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 0x4d0239
sub ebx, ebp
push 8
lea eax, [ebx + ebp]
push eax
push ebp
call fcn.004e4d00
add ebp, 8
add esp, 0xc
cmp ebp, esi
jb 0x4d021e
jmp 0x4d013a
movups xmm0, xmmword [ebx]
movups xmmword [ebp], xmm0
cmp ecx, edx
jle 0x4d013a
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 0x4d024e
jmp 0x4d013a
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.004d0341
mov ecx, dword [esp + 0x5c]
add esp, 0x28
mov edi, eax
mov dword [esp + 0x20], ecx
cmp edi, 0xffffff88
ja 0x4d0326
add ebp, edi
sub dword [esp + 0x104], 1
mov dword [esp + 0x24], ebp
jne 0x4cf8fe
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0xbc]
jne 0x4cf8ac
cmp dword [esp + 0xb4], 0x20
jne 0x4cf8ac
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 0x4d030c
push 0xffffffffffffffba
jmp 0x4cf8ae
test ebp, ebp
je 0x4d031d
push esi
push ecx
push ebp
call fcn.004e4d00
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.004e424b
add esp, 0xdc
ret