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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64054331
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6407b1c0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
push edi
mov eax, dword [0x6407b1c0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 8]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], ebx
cmp byte [eax + 0x15e0], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
je 0x6401050c
lea esi, [ecx + ecx*2]
mov dword [eax + esi*8 + 0x1410], 1
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [ecx + esi*8 + 0x1400], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + esi*8 + 0x1404], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x230], 0
push eax
mov ecx, edi
call fcn.6400cc10
lea eax, [esp + 0xbc]
mov ecx, ebx
push eax
call fcn.6400cc10
push ecx
push eax
lea ecx, [esp + 0xf4]
call fcn.6401abd0
mov byte [esp + 0x230], 2
mov edx, dword [esp + 0x11c]
mov dword [esp + 0xbc], vtable.CRgbImage.0
test edx, edx
jne 0x64010569
or esi, 0xffffffff
jmp 0x64010a7b
mov eax, dword [edi + 0x34]
mov esi, dword [ebx + 0x34]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x104]
mov edi, eax
mov ecx, dword [esp + 0x118]
imul edi, ebx
mov dword [esp + 0x30], esi
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
mov dword [esp + 0x124], ebx
add edi, dword [esp + 0xf0]
add eax, edi
mov dword [esp + 0xf8], eax
mov eax, ecx
imul eax, esi
add edi, eax
mov eax, dword [esp + 0xfc]
imul eax, ebx
mov dword [esp + 0xf4], edi
add eax, esi
lea esi, [edx + eax*4]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x120], esi
mov eax, dword [eax + 0x30]
imul eax, edx
add eax, dword [esp + 0x88]
add edx, eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xb0]
imul edx, dword [esp + 0x44]
add eax, edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
sub edx, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
sub edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x1c]
sub eax, dword [edx + 0x38]
sub eax, ebx
mov dword [esp + 0x38], eax
lea eax, [ecx*8]
cdq
xor ecx, ecx
and edx, 7
mov dword [esp + 0x1c], ecx
add eax, edx
mov edx, dword [esp + 0x11c]
sar eax, 3
dec eax
mov dword [esp + 0x48], eax
cmp dword [esp + 0x38], ecx
jle 0x64010a79
jmp 0x64010670
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x40], 0
jle 0x640109bb
jmp 0x64010690
mov eax, dword [esp + 0xfc]
lea ecx, [eax*4]
mov eax, esi
sub eax, ecx
movss xmm0, dword [eax - 4]
movss xmm2, dword [eax]
movaps xmm1, xmm0
comiss xmm0, xmm2
jbe 0x640106b6
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x640106be
movaps xmm0, xmm2
movss xmm2, dword [eax + 4]
comiss xmm1, xmm2
jbe 0x640106cb
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x640106d3
movaps xmm0, xmm2
movss xmm2, dword [esi - 4]
comiss xmm1, xmm2
jbe 0x640106e0
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x640106e8
movaps xmm0, xmm2
movss xmm2, dword [esi + 4]
comiss xmm1, xmm2
jbe 0x640106f5
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x640106fd
movaps xmm0, xmm2
movss xmm2, dword [esi + ecx - 4]
comiss xmm1, xmm2
jbe 0x6401070b
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x64010713
movaps xmm0, xmm2
movss xmm2, dword [esi + ecx]
comiss xmm1, xmm2
jbe 0x64010720
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x64010728
movaps xmm0, xmm2
movss xmm2, dword [esi + ecx + 4]
comiss xmm1, xmm2
jbe 0x64010736
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x6401073e
movaps xmm0, xmm2
movss xmm2, dword [esi]
comiss xmm1, xmm2
jbe 0x6401074a
movaps xmm1, xmm2
comiss xmm2, xmm0
jbe 0x64010752
movaps xmm0, xmm2
subss xmm0, xmm1
movss xmm1, dword [0x640731f0]
comiss xmm1, xmm0
jbe 0x64010773
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x20], 0xffffffff
jmp 0x64010961
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0xf0]
call fcn.64010120
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0x1f4]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x2c]
mov dword [ebx + 0x20], eax
cmp eax, 0xffffffff
je 0x64010953
xor edi, edi
cmp dword [esp + 0x48], edi
jl 0x64010953
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x6c]
mov esi, dword [esp + 0xf4]
mov dword [esp + 0x70], eax
add esi, edi
mov eax, dword [esp + 0x118]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x1a]
push eax
lea eax, [esp + 0x1d]
mov dword [esp + 0x70], esi
push eax
call fcn.6400fff0
lea eax, [esp + 0x128]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x2c]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
push ecx
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x68]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [esp + 0x20]
mov cl, byte [esp + 0x1a]
mov bl, byte [esp + 0x19]
movq xmm0, qword [esp + 0x20]
mov ch, byte [edx]
mov esi, dword [esp + 0x28]
mov byte [esp + 0x14], bl
movq qword [esp + 0x78], xmm0
cmp ch, cl
jbe 0x64010852
mov byte [edx], cl
jmp 0x6401085f
cmp ch, bl
lea eax, [esp + 0x14]
cmovae eax, edx
mov al, byte [eax]
mov byte [edx], al
mov edx, dword [esp + 0x78]
add edx, esi
cmp byte [edx], cl
jbe 0x6401086d
mov byte [edx], cl
jmp 0x6401087a
cmp byte [edx], bl
lea eax, [esp + 0x14]
cmovae eax, edx
mov al, byte [eax]
mov byte [edx], al
mov edx, dword [esp + 0x78]
add edx, dword [esp + 0x7c]
cmp byte [edx], cl
jbe 0x6401088a
mov byte [edx], cl
jmp 0x64010897
cmp byte [edx], bl
lea eax, [esp + 0x14]
cmovae eax, edx
mov al, byte [eax]
mov byte [edx], al
cmp byte [edx + esi], cl
jbe 0x640108a1
mov byte [edx + esi], cl
jmp 0x640108b3
cmp byte [edx + esi], bl
lea ecx, [edx + esi]
lea eax, [esp + 0x14]
cmovae eax, ecx
mov al, byte [eax]
mov byte [edx + esi], al
cmp dword [esp + 0x1c], 0
jle 0x64010944
cmp dword [esp + 0x40], 0
jle 0x64010944
push 0
or edx, 0xffffffff
lea ecx, [esp + 0x24]
call fcn.64010370
add esp, 4
mov byte [esp + 0x14], al
or edx, 0xffffffff
lea ecx, [esp + 0x20]
push 1
call fcn.64010370
add esp, 4
mov byte [esp + 0x1b], al
xor edx, edx
lea ecx, [esp + 0x20]
push 0xffffffffffffffff
call fcn.64010370
add esp, 4
lea ecx, [esp + 0x20]
xor edx, edx
mov bh, al
push 0
call fcn.64010370
mov ecx, dword [esp + 0x24]
mov bl, al
sub ecx, dword [esp + 0x28]
add esp, 4
mov al, byte [esp + 0x14]
mov byte [ecx], al
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x1b]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x28]
mov byte [eax], bh
mov eax, dword [esp + 0x20]
mov byte [eax], bl
mov ebx, dword [esp + 0x3c]
inc edi
cmp edi, dword [esp + 0x48]
jle 0x640107b2
mov edi, dword [esp + 0xf4]
mov esi, dword [esp + 0x120]
mov eax, dword [esp + 0x2c]
add esi, 4
add eax, dword [esp + 0xb0]
add eax, dword [esp + 0xb0]
add edi, dword [esp + 0x118]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x40]
inc eax
mov dword [esp + 0xf4], edi
mov dword [esp + 0x120], esi
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x4c]
jl 0x64010690
mov ebx, dword [esp + 0x124]
mov edx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xf8]
inc ebx
mov edi, eax
mov dword [esp + 0x124], ebx
add eax, dword [esp + 0x104]
mov dword [esp + 0xf8], eax
mov eax, ebx
imul eax, dword [esp + 0xfc]
cmp dword [esp + 0x30], 0
mov dword [esp + 0xf4], edi
lea esi, [edx + eax*4]
mov dword [esp + 0x120], esi
jle 0x64010a1f
mov eax, dword [esp + 0x118]
imul eax, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xf4], edi
lea esi, [esi + eax*4]
mov dword [esp + 0x120], esi
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x9c]
mov edx, eax
mov dword [esp + 0x34], eax
add edx, dword [esp + 0x9c]
cmp dword [esp + 0x44], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x8c], eax
jle 0x64010a6a
add eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x8c], eax
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, dword [esp + 0x38]
jl 0x64010670
xor esi, esi
cmp byte [esp + 0x1f0], 0
mov dword [esp + 0xec], vtable.CRgbLumImage.0
je 0x64010a99
push edx
call fcn.6402c5c0
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0xec], vtable.CRgbImage.0
cmp byte [eax + 0x15e0], 0
je 0x64010ac6
mov ecx, dword [esp + 0x60]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + 0x280]
lea ecx, [eax + ecx*8]
call fcn.64001c10
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.6402dc64
mov esp, ebp
pop ebp
ret 8