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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x10]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [esp + 0x34], eax
mov esi, dword [ecx]
cmp esi, dword [ecx + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
je 0x466354
nop dword [eax + eax]
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x466337
cmp dword [edi + 0x2b8], 0
jne 0x466337
mov ecx, dword [esp + 0x10]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x48]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x68]
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.004609f0
cmp dword [esp + 0x40], 0xffffffff
jne 0x466260
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0xc]
add eax, dword [esp + 0x50]
inc dword [esp + 0x1c]
inc dword [esp + 0x14]
add edi, eax
mov dword [esp + 0xc], edi
jmp 0x46633b
mov eax, dword [edi + 0x2c4]
cmp eax, 0x7ffffffe
ja 0x4662a5
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x466287
mov ecx, dword [ecx + 0x1f0]
cmp ecx, 0x64
je 0x4662a5
push 0x64
push ecx
jmp 0x46629e
cmp dword [0x544f8c], 0
je 0x4662a5
mov edx, dword [0x53bc18]
cmp edx, 0x64
je 0x4662a5
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [esp + 0x40], eax
jge 0x4662b6
mov ecx, edi
call fcn.0045f130
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x2cc]
test eax, eax
js 0x46631b
cmp eax, 0x7fffffff
jge 0x4662ff
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x4662e1
mov ecx, dword [ecx + 0x1f0]
cmp ecx, 0x64
je 0x4662ff
push 0x64
push ecx
jmp 0x4662f8
cmp dword [0x544f8c], 0
je 0x4662ff
mov edx, dword [0x53bc18]
cmp edx, 0x64
je 0x4662ff
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
test eax, eax
js 0x46631b
mov ecx, edi
call fcn.0045f1b0
cmp dword [esp + 0x40], eax
jle 0x46631b
mov ecx, edi
call fcn.0045f1b0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x50]
mov edi, dword [esp + 0xc]
add eax, dword [esp + 0x40]
inc dword [esp + 0x14]
add edi, eax
mov dword [esp + 0xc], edi
jmp 0x46633b
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x4661f0
mov ecx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0x2b0]
test eax, eax
je 0x466381
mov eax, dword [eax + 0x1f0]
cmp eax, 0x64
je 0x4663a1
push 0x64
push eax
push esi
call ecx
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x4663a1
cmp dword [0x544f8c], 0
je 0x4663a1
mov edx, dword [0x53bc18]
cmp edx, 0x64
je 0x4663a1
push 0x64
push edx
push esi
call ecx
mov esi, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
dec eax
imul eax, esi
mov esi, dword [esp + 0x1c]
add edi, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
test esi, esi
jle 0x4663d5
mov eax, dword [esp + 0x10]
xor ecx, ecx
sub eax, edi
cdq
idiv esi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x28], eax
mov ecx, eax
mov eax, dword [esp + 0x10]
imul ecx, esi
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sub eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xc], eax
cmp esi, dword [ecx + 4]
je 0x466455
nop dword [eax + eax]
mov edi, dword [esi]
mov ecx, edi
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x466446
cmp dword [edi + 0x2b8], 0
je 0x466471
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x58]
mov eax, esp
mov edx, edi
movups xmmword [eax], xmm0
call fcn.00459140
add esp, 0x10
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [ecx + 4]
jne 0x466410
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.004609f0
mov ecx, dword [esp + 0x10]
sub esp, 8
sub ecx, dword [esp + 0x58]
mov eax, esp
mov dword [esp + 0x18], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x48]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x68]
cmp dword [esp + 0x40], 0xffffffff
jne 0x4664c4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
test ecx, ecx
jle 0x4664c4
inc eax
dec ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x2c4]
cmp ecx, 0x7ffffffe
ja 0x466503
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x4664e4
mov eax, dword [eax + 0x1f0]
jmp 0x4664f2
cmp dword [0x544f8c], 0
je 0x466503
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x466503
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x40], ecx
jge 0x46654c
mov ecx, dword [edi + 0x2c4]
cmp ecx, 0x7ffffffe
ja 0x466548
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x466529
mov eax, dword [eax + 0x1f0]
jmp 0x466537
cmp dword [0x544f8c], 0
je 0x466548
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x466548
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x2cc]
test ecx, ecx
js 0x466623
cmp ecx, 0x7fffffff
jge 0x466593
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x466574
mov eax, dword [eax + 0x1f0]
jmp 0x466582
cmp dword [0x544f8c], 0
je 0x466593
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x466593
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
test ecx, ecx
js 0x466623
mov ecx, dword [edi + 0x2cc]
cmp ecx, 0x7ffffffe
ja 0x4665da
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x4665bb
mov eax, dword [eax + 0x1f0]
jmp 0x4665c9
cmp dword [0x544f8c], 0
je 0x4665da
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x4665da
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x40], ecx
jle 0x466623
mov ecx, dword [edi + 0x2cc]
cmp ecx, 0x7ffffffe
ja 0x46661f
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x466600
mov eax, dword [eax + 0x1f0]
jmp 0x46660e
cmp dword [0x544f8c], 0
je 0x46661f
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x46661f
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
cmp ecx, 0xffffffff
jne 0x46663e
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x5c]
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [esp + 0x44], ecx
mov edx, dword [edi + 0x2c8]
cmp edx, 0x7ffffffe
ja 0x46668c
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x466669
mov eax, dword [eax + 0x1f0]
jmp 0x466677
cmp dword [0x544f8c], 0
je 0x46668c
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x46668c
push 0x64
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x44]
mov edx, eax
cmp ecx, edx
jge 0x4666d3
mov ecx, dword [edi + 0x2c8]
cmp ecx, 0x7ffffffe
ja 0x4666cf
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x4666b0
mov eax, dword [eax + 0x1f0]
jmp 0x4666be
cmp dword [0x544f8c], 0
je 0x4666cf
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x4666cf
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x44], ecx
mov edx, dword [edi + 0x2d0]
cmp edx, 0x7ffffffe
ja 0x466716
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x4666f3
mov eax, dword [eax + 0x1f0]
jmp 0x466701
cmp dword [0x544f8c], 0
je 0x466716
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x466716
push 0x64
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x44]
mov edx, eax
cmp ecx, edx
jle 0x46675d
mov ecx, dword [edi + 0x2d0]
cmp ecx, 0x7ffffffe
ja 0x466759
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46673a
mov eax, dword [eax + 0x1f0]
jmp 0x466748
cmp dword [0x544f8c], 0
je 0x466759
mov eax, dword [0x53bc18]
cmp eax, 0x64
je 0x466759
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [edi + 0x2f8]
xor edx, edx
mov dword [esp + 0xc], edx
test eax, eax
jne 0x466777
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x30]
jmp 0x4667ac
cmp eax, 2
jne 0x46678a
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x5c]
mov edx, eax
sub edx, ecx
jmp 0x4667af
cmp eax, 1
jne 0x4667b3
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x5c]
sub eax, ecx
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x1c]
lea eax, [edx + ecx]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
sub esp, 0x10
add eax, dword [esp + 0x60]
add eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x60]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
sub eax, edx
mov dword [esp + 0x70], ecx
mov ecx, edi
mov dword [esp + 0x74], edx
movups xmm0, xmmword [esp + 0x70]
mov edx, dword [edi]
mov dword [esp + 0x1c], eax
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x64]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
lea eax, [edx + edi]
add ecx, eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x24], ecx
add eax, ecx
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, edx
add eax, edi
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x38], eax
cmovg eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
jmp 0x46644a