Function at 0x4655c0
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 0x465774
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 0x465757
cmp dword [edi + 0x2b8], 0
jne 0x465757
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.0045fe00
cmp dword [esp + 0x40], 0xffffffff
jne 0x465680
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 0x46575b
mov eax, dword [edi + 0x2c4]
cmp eax, 0x7ffffffe
ja 0x4656c5
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x4656a7
mov ecx, dword [ecx + 0x1f0]
cmp ecx, 0x64
je 0x4656c5
push 0x64
push ecx
jmp 0x4656be
cmp dword [0x541488], 0
je 0x4656c5
mov edx, dword [0x537348]
cmp edx, 0x64
je 0x4656c5
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [esp + 0x40], eax
jge 0x4656d6
mov ecx, edi
call fcn.0045e540
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x2cc]
test eax, eax
js 0x46573b
cmp eax, 0x7fffffff
jge 0x46571f
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x465701
mov ecx, dword [ecx + 0x1f0]
cmp ecx, 0x64
je 0x46571f
push 0x64
push ecx
jmp 0x465718
cmp dword [0x541488], 0
je 0x46571f
mov edx, dword [0x537348]
cmp edx, 0x64
je 0x46571f
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
test eax, eax
js 0x46573b
mov ecx, edi
call fcn.0045e5c0
cmp dword [esp + 0x40], eax
jle 0x46573b
mov ecx, edi
call fcn.0045e5c0
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 0x46575b
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x465610
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 0x4657a1
mov eax, dword [eax + 0x1f0]
cmp eax, 0x64
je 0x4657c1
push 0x64
push eax
push esi
call ecx
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x4657c1
cmp dword [0x541488], 0
je 0x4657c1
mov edx, dword [0x537348]
cmp edx, 0x64
je 0x4657c1
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 0x4657f5
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 0x465875
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 0x465866
cmp dword [edi + 0x2b8], 0
je 0x465891
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x58]
mov eax, esp
mov edx, edi
movups xmmword [eax], xmm0
call fcn.00458550
add esp, 0x10
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [ecx + 4]
jne 0x465830
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.0045fe00
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 0x4658e4
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
test ecx, ecx
jle 0x4658e4
inc eax
dec ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x2c4]
cmp ecx, 0x7ffffffe
ja 0x465923
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465904
mov eax, dword [eax + 0x1f0]
jmp 0x465912
cmp dword [0x541488], 0
je 0x465923
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x465923
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x40], ecx
jge 0x46596c
mov ecx, dword [edi + 0x2c4]
cmp ecx, 0x7ffffffe
ja 0x465968
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465949
mov eax, dword [eax + 0x1f0]
jmp 0x465957
cmp dword [0x541488], 0
je 0x465968
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x465968
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 0x465a43
cmp ecx, 0x7fffffff
jge 0x4659b3
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465994
mov eax, dword [eax + 0x1f0]
jmp 0x4659a2
cmp dword [0x541488], 0
je 0x4659b3
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x4659b3
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
test ecx, ecx
js 0x465a43
mov ecx, dword [edi + 0x2cc]
cmp ecx, 0x7ffffffe
ja 0x4659fa
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x4659db
mov eax, dword [eax + 0x1f0]
jmp 0x4659e9
cmp dword [0x541488], 0
je 0x4659fa
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x4659fa
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x40], ecx
jle 0x465a43
mov ecx, dword [edi + 0x2cc]
cmp ecx, 0x7ffffffe
ja 0x465a3f
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465a20
mov eax, dword [eax + 0x1f0]
jmp 0x465a2e
cmp dword [0x541488], 0
je 0x465a3f
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x465a3f
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 0x465a5e
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 0x465aac
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465a89
mov eax, dword [eax + 0x1f0]
jmp 0x465a97
cmp dword [0x541488], 0
je 0x465aac
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x465aac
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 0x465af3
mov ecx, dword [edi + 0x2c8]
cmp ecx, 0x7ffffffe
ja 0x465aef
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465ad0
mov eax, dword [eax + 0x1f0]
jmp 0x465ade
cmp dword [0x541488], 0
je 0x465aef
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x465aef
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 0x465b36
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465b13
mov eax, dword [eax + 0x1f0]
jmp 0x465b21
cmp dword [0x541488], 0
je 0x465b36
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x465b36
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 0x465b7d
mov ecx, dword [edi + 0x2d0]
cmp ecx, 0x7ffffffe
ja 0x465b79
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x465b5a
mov eax, dword [eax + 0x1f0]
jmp 0x465b68
cmp dword [0x541488], 0
je 0x465b79
mov eax, dword [0x537348]
cmp eax, 0x64
je 0x465b79
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 0x465b97
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x30]
jmp 0x465bcc
cmp eax, 2
jne 0x465baa
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x5c]
mov edx, eax
sub edx, ecx
jmp 0x465bcf
cmp eax, 1
jne 0x465bd3
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 0x46586a