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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, ecx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov ecx, dword [eax + 0x5c]
mov ebx, 1
mov esi, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [eax + 4]
sub ecx, edi
add ecx, edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xb8]
shl ebx, cl
mov ecx, dword [eax + 0x18]
mov eax, dword [esp + 0x24]
sub dword [esp + 0x24], ebx
sub eax, esi
cmp eax, ebx
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x24]
cmovbe eax, esi
mov dword [esp + 0x50], ebx
test ecx, ecx
mov dword [esp + 0x10], edi
cmovne eax, esi
xor ebx, ebx
mov dword [esp + 0x24], eax
lea ecx, [eax + edi]
mov eax, dword [ebp + 0xc]
add edx, eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 8]
sete bl
add ebx, eax
mov esi, ebx
sub esi, dword [esp + 0x10]
mov edi, dword [edx]
mov eax, esi
sub eax, dword [esp + 0x4c]
mov ecx, esi
sub ecx, dword [esp + 0x50]
cmp eax, dword [esp + 0x50]
mov edx, dword [edx + 4]
cmovbe ecx, dword [esp + 0x4c]
cmp dword [esp + 0x5c], 0
cmovne ecx, dword [esp + 0x4c]
sub esi, ecx
cmp esi, edx
sbb eax, eax
xor ecx, ecx
and eax, edx
cmp edx, esi
mov dword [esp + 0x5c], eax
cmovbe ecx, edx
cmp esi, edi
sbb eax, eax
and eax, edi
cmp edi, esi
mov dword [esp + 0x6c], eax
mov esi, 0
cmovbe esi, edi
mov edi, dword [ebp + 0xc]
xor eax, eax
cmp edi, dword [esp + 0x18]
sete al
add eax, 0x100
add eax, edi
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xc]
xor eax, eax
cmp edi, dword [esp + 0x18]
sete al
inc edi
add eax, edi
add edx, 0xfffffff8
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
cmp eax, edx
ja 0x4cfec0
mov eax, 0x20
mov dword [esp + 0x3c], ecx
sub eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov eax, 0x40
sub eax, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], esi
nop dword [eax]
mov eax, dword [ebx]
push 0xcf1bbcdc
push 0xb7a56463
push dword [ebx + 4]
mov dword [esp + 0x3c], eax
push eax
call fcn.00546260
mov ecx, dword [esp + 0x38]
call fcn.00519040
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + eax*4]
add esi, eax
mov dword [esp + 0x40], eax
xor eax, eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x44], 1
sbb eax, eax
neg eax
mov dword [esp + 0x60], eax
nop dword [eax]
nop word [eax + eax]
imul eax, dword [esp + 0x30], 0x9e3779b1
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
sub dword [esp + 0x34], edi
shr eax, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x58], ecx
add ecx, edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + eax*4], ecx
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
mov dword [edi + eax*4], ecx
mov eax, ebx
sub eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x68], eax
mov eax, dword [eax + 1]
cmp eax, dword [ebx + 1]
sete cl
test dword [esp + 0x60], ecx
jne 0x4cfbfe
mov ecx, dword [edx + 4]
mov eax, dword [edx]
push 0xcf1bbcdc
push 0xb7a56463
push ecx
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], ecx
call fcn.00546260
mov ecx, dword [esp + 0x38]
call fcn.00519040
mov edx, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x48], ecx
cmp dword [esp + 0x40], edx
jbe 0x4cf929
mov eax, dword [esi]
cmp eax, dword [ebx]
jne 0x4cf929
mov eax, dword [esi + 4]
cmp eax, dword [ebx + 4]
je 0x4cf996
mov esi, dword [esp + 0x10]
mov eax, edi
mov ecx, dword [eax + ecx*4]
add esi, ecx
mov dword [esp + 0x40], ecx
cmp dword [esp + 0x58], edx
jbe 0x4cf94c
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
cmp eax, dword [ebx]
je 0x4cfa9d
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
cmp edx, ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebx + 1]
cmovb eax, ebx
mov ebx, edx
add edx, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff8
mov dword [esp + 0x14], edx
cmp edx, eax
ja 0x4cfeb8
cmp dword [esp + 0x64], ecx
lea eax, [ecx + 0x100]
cmovb eax, ecx
mov ecx, eax
mov dword [esp + 0x50], ecx
jmp 0x4cf880
push dword [esp + 0xc]
lea edx, [esi + 8]
lea ecx, [ebx + 8]
call fcn.004cf320
mov edx, dword [ebp + 0xc]
add esp, 4
lea edi, [eax + 8]
mov eax, ebx
sub eax, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x30], eax
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4cf9e4
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x4cf9e4
dec ebx
inc edi
cmp dword [esp + 0x18], esi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4cf9c8
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x44], 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
jae 0x4cfa11
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
sub edx, dword [esp + 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0xc]
mov edx, ebx
sub edx, esi
add eax, 0xffffffe0
mov dword [esp + 0x48], edx
lea ecx, [edx + esi]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0xc]
cmp dword [esp + 0x58], eax
ja 0x4cfbb6
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x4cfbca
movups xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x2c]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x4cfbc6
mov eax, dword [esp + 0x68]
add ecx, 0x10
add edx, 0x10
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x4cfa80
jmp 0x4cfbc6
cmp ecx, edx
jbe 0x4cfb42
mov eax, dword [esp + 0x30]
cmp dword [esi], eax
jne 0x4cfb42
mov eax, dword [esp + 0x68]
cmp dword [esi + 4], eax
jne 0x4cfb42
mov eax, dword [esp + 0x14]
lea edx, [esi + 8]
push dword [esp + 0xc]
mov ebx, eax
lea ecx, [eax + 8]
call fcn.004cf320
mov edx, ebx
add esp, 4
lea edi, [eax + 8]
mov eax, edx
sub eax, esi
cmp dword [esp + 0x18], esi
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
mov dword [esp + 0x30], eax
neg ecx
cmp esi, edx
sbb eax, eax
neg eax
test eax, ecx
je 0x4cf9eb
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x10]
lea ecx, [ebx - 1]
mov dword [esp + 0x50], ecx
lea ecx, [eax - 1]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
mov al, byte [eax]
cmp al, byte [ecx]
jne 0x4cf9eb
mov eax, dword [esp + 0x18]
inc edi
mov ebx, dword [esp + 0x50]
cmp eax, ecx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
mov eax, dword [esp + 0x40]
jne 0x4cfb04
jmp 0x4cf9eb
mov esi, dword [esp + 0x54]
lea ecx, [ebx + 4]
push dword [esp + 0xc]
lea edx, [esi + 4]
call fcn.004cf320
add esp, 4
lea edi, [eax + 4]
mov eax, ebx
sub eax, esi
cmp dword [esp + 0x18], esi
mov esi, dword [ebp + 0xc]
sbb ecx, ecx
mov dword [esp + 0x30], eax
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x4cf9e7
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x10]
lea eax, [ebx - 1]
mov dword [esp + 0x68], eax
lea ecx, [edx - 1]
mov al, byte [eax]
mov edx, ecx
cmp al, byte [ecx]
jne 0x4cf9e7
mov ebx, dword [esp + 0x68]
inc edi
cmp dword [esp + 0x18], edx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x4cfb84
jmp 0x4cf9e7
mov edx, dword [ebp + 0xc]
push eax
push dword [esp + 0x5c]
call fcn.004cf2b0
add esp, 8
mov edx, dword [esp + 0x48]
add dword [esi + 0xc], edx
mov ecx, dword [esi + 4]
cmp edx, 0xffff
jbe 0x4cfbe9
mov eax, ecx
mov dword [esi + 0x24], 1
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 4], dx
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x30]
add ecx, 3
mov dword [eax], ecx
jmp 0x4cfccf
mov edx, dword [esp + 0x68]
lea ecx, [ebx + 5]
mov esi, dword [esp + 0xc]
add edx, 5
push esi
call fcn.004cf320
mov ecx, dword [ebp + 0xc]
inc ebx
mov edx, ebx
add esp, 4
sub edx, ecx
lea edi, [eax + 4]
mov dword [esp + 0x30], edx
lea eax, [esi - 0x20]
lea esi, [edx + ecx]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x58], eax
ja 0x4cfc8d
mov eax, dword [esi + 0xc]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x4cfca3
movups xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [ecx + 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x2c]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x4cfc9f
mov eax, dword [esp + 0x68]
add ecx, 0x10
add edx, 0x10
movups xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x4cfc73
jmp 0x4cfc9f
push eax
push dword [esp + 0x5c]
mov edx, ecx
mov ecx, dword [esi + 0xc]
call fcn.004cf2b0
add esp, 8
mov edx, dword [esp + 0x30]
add dword [esi + 0xc], edx
mov ecx, dword [esi + 4]
cmp edx, 0xffff
jbe 0x4cfcc2
mov eax, ecx
mov dword [esi + 0x24], 1
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 4], dx
mov eax, dword [esi + 4]
mov dword [eax], 1
mov ecx, dword [esi + 4]
lea edx, [edi - 3]
cmp edx, 0xffff
jbe 0x4cfcee
mov eax, ecx
mov dword [esi + 0x24], 2
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 6], dx
add dword [esi + 4], 8
mov ecx, dword [esp + 0xc]
add ebx, edi
mov edi, ebx
mov dword [ebp + 0xc], edi
lea eax, [ecx - 8]
cmp ebx, eax
ja 0x4cfe9c
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
add edi, 2
push 0xcf1bbcdc
push 0xb7a56463
push dword [edi + eax + 4]
push dword [edi + eax]
call fcn.00546260
mov ecx, dword [esp + 0x38]
call fcn.00519040
mov ecx, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], edi
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.00546260
mov ecx, dword [esp + 0x38]
call fcn.00519040
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov esi, ebx
sub esi, dword [esp + 0x10]
lea eax, [esi - 2]
mov dword [edx + ecx*4], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
imul eax, dword [edi + edx], 0x9e3779b1
mov edx, dword [esp + 0x28]
shr eax, cl
mov dword [edx + eax*4], edi
lea eax, [esi - 1]
imul edx, dword [ebx - 1], 0x9e3779b1
mov edi, ebx
shr edx, cl
mov ecx, dword [esp + 0x28]
mov dword [ecx + edx*4], eax
nop word [eax + eax]
mov esi, dword [esp + 0x3c]
mov edx, ebx
mov eax, dword [ebx]
sub edx, esi
xor ecx, ecx
cmp eax, dword [edx]
sete cl
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
test eax, ecx
je 0x4cfe95
push dword [esp + 0xc]
add edx, 4
lea ecx, [ebx + 4]
call fcn.004cf320
imul edx, dword [ebx], 0x9e3779b1
add esp, 4
mov ecx, esi
mov esi, ebx
sub esi, dword [esp + 0x10]
lea edi, [eax + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
shr edx, cl
push 0xcf1bbcdc
push 0xb7a56463
mov dword [eax + edx*4], esi
push dword [ebx + 4]
push dword [ebx]
call fcn.00546260
mov ecx, dword [esp + 0x38]
call fcn.00519040
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4], esi
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
mov ecx, dword [esi + 0xc]
cmp ebx, eax
ja 0x4cfe3b
movups xmm0, xmmword [ebx]
movups xmmword [ecx], xmm0
jmp 0x4cfe47
push eax
push ebx
mov edx, ebx
call fcn.004cf2b0
add esp, 8
mov eax, dword [esi + 4]
lea edx, [edi - 3]
xor ecx, ecx
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov dword [eax], 1
mov ecx, dword [esi + 4]
cmp edx, 0xffff
jbe 0x4cfe78
mov eax, ecx
mov dword [esi + 0x24], 2
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x28], eax
mov word [ecx + 6], dx
add ebx, edi
mov ecx, dword [esp + 0xc]
mov edi, ebx
add dword [esi + 4], 8
lea eax, [ecx - 8]
cmp ebx, eax
jbe 0x4cfda0
jmp 0x4cfe99
mov ecx, dword [esp + 0xc]
mov dword [ebp + 0xc], edi
lea eax, [ebx + 0x100]
mov dword [esp + 0x50], eax
lea edx, [ecx - 8]
lea eax, [ebx + 1]
mov dword [esp + 0x14], eax
cmp eax, edx
jbe 0x4cf820
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x5c]
test edx, edx
je 0x4cfed1
test esi, esi
cmovne eax, edx
test esi, esi
cmovne edx, esi
mov esi, dword [ebp + 8]
test ecx, ecx
cmovne eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
sub eax, edi
mov dword [esi], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret