Function at 0x46c040
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 + 0x10], 0
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov dword [esp + 4], 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 + 8], edi
mov dword [esp + 0x10], edi
je 0x46c1d9
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 0x46c1bc
cmp dword [edi + 0x2b8], 0
jne 0x46c1bc
mov ecx, dword [esp + 0x1c]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
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.00444f10
cmp dword [esp + 0x44], 0xffffffff
jne 0x46c100
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 8]
add eax, dword [esp + 0x54]
inc dword [esp + 0x18]
inc dword [esp + 0x10]
add edi, eax
mov dword [esp + 8], edi
jmp 0x46c1c0
mov ecx, dword [edi + 0x2c8]
cmp ecx, 0x7ffffffe
ja 0x46c13f
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c120
mov eax, dword [eax + 0x1f0]
jmp 0x46c12e
cmp dword [0x566390], 0
je 0x46c13f
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c13f
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x44], ecx
jge 0x46c150
mov ecx, edi
call fcn.00443740
mov dword [esp + 0x44], eax
mov ecx, dword [edi + 0x2d0]
cmp ecx, 0x7ffffffe
ja 0x46c18f
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c170
mov eax, dword [eax + 0x1f0]
jmp 0x46c17e
cmp dword [0x566390], 0
je 0x46c18f
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c18f
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x44], ecx
jle 0x46c1a0
mov ecx, edi
call fcn.004437c0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x54]
mov edi, dword [esp + 8]
add eax, dword [esp + 0x44]
inc dword [esp + 0x10]
add edi, eax
mov dword [esp + 8], edi
jmp 0x46c1c0
mov edi, dword [esp + 8]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x46c090
mov ecx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0x2b0]
test eax, eax
je 0x46c206
mov eax, dword [eax + 0x1f0]
cmp eax, 0x64
je 0x46c225
push 0x64
push eax
push edx
call ecx
mov edx, eax
mov dword [esp + 0x14], edx
jmp 0x46c225
cmp dword [0x566390], 0
je 0x46c225
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c225
push 0x64
push eax
push edx
call ecx
mov edx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
dec eax
imul eax, edx
mov dword [esp + 0x20], 0
add edi, eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
test esi, esi
jle 0x46c25d
mov eax, dword [esp + 0xc]
xor ecx, ecx
sub eax, edi
cdq
idiv esi
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x24], eax
mov ecx, eax
mov eax, dword [esp + 0xc]
imul ecx, esi
sub eax, ecx
mov ecx, dword [ebp + 0xc]
sub eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0x34], esi
cmp esi, dword [ecx + 4]
je 0x46c2e0
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 0x46c2cd
cmp dword [edi + 0x2b8], 0
je 0x46c2fc
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x58]
mov eax, esp
mov edx, edi
movups xmmword [eax], xmm0
call fcn.00465ff0
add esp, 0x10
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
add esi, 4
mov dword [esp + 0x34], esi
cmp esi, dword [ecx + 4]
jne 0x46c297
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 8]
pop edi
pop esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret 0x18
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.00444f10
mov ecx, dword [esp + 0xc]
sub esp, 8
sub ecx, dword [esp + 0x5c]
mov eax, esp
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x48]
mov dword [eax], edx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x68]
cmp dword [esp + 0x44], 0xffffffff
jne 0x46c34f
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], eax
test ecx, ecx
jle 0x46c34f
inc eax
dec ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [edi + 0x2c8]
cmp ecx, 0x7ffffffe
ja 0x46c38e
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c36f
mov eax, dword [eax + 0x1f0]
jmp 0x46c37d
cmp dword [0x566390], 0
je 0x46c38e
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c38e
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x44], ecx
jge 0x46c3d7
mov ecx, dword [edi + 0x2c8]
cmp ecx, 0x7ffffffe
ja 0x46c3d3
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c3b4
mov eax, dword [eax + 0x1f0]
jmp 0x46c3c2
cmp dword [0x566390], 0
je 0x46c3d3
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c3d3
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x2d0]
cmp ecx, 0x7ffffffe
ja 0x46c416
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c3f7
mov eax, dword [eax + 0x1f0]
jmp 0x46c405
cmp dword [0x566390], 0
je 0x46c416
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c416
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x44], ecx
jle 0x46c45f
mov ecx, dword [edi + 0x2d0]
cmp ecx, 0x7ffffffe
ja 0x46c45b
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c43c
mov eax, dword [eax + 0x1f0]
jmp 0x46c44a
cmp dword [0x566390], 0
je 0x46c45b
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c45b
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
cmp ecx, 0xffffffff
jne 0x46c47a
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x58]
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [esp + 0x40], ecx
mov edx, dword [edi + 0x2c4]
cmp edx, 0x7ffffffe
ja 0x46c4c8
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c4a5
mov eax, dword [eax + 0x1f0]
jmp 0x46c4b3
cmp dword [0x566390], 0
je 0x46c4c8
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c4c8
push 0x64
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x40]
mov edx, eax
cmp ecx, edx
jge 0x46c50f
mov ecx, dword [edi + 0x2c4]
cmp ecx, 0x7ffffffe
ja 0x46c50b
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c4ec
mov eax, dword [eax + 0x1f0]
jmp 0x46c4fa
cmp dword [0x566390], 0
je 0x46c50b
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c50b
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x40], ecx
mov edx, dword [edi + 0x2cc]
test edx, edx
js 0x46c5ec
cmp edx, 0x7fffffff
jge 0x46c55a
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c537
mov eax, dword [eax + 0x1f0]
jmp 0x46c545
cmp dword [0x566390], 0
je 0x46c55a
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c55a
push 0x64
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x40]
mov edx, eax
test edx, edx
js 0x46c5ec
mov edx, dword [edi + 0x2cc]
cmp edx, 0x7ffffffe
ja 0x46c5a5
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c582
mov eax, dword [eax + 0x1f0]
jmp 0x46c590
cmp dword [0x566390], 0
je 0x46c5a5
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c5a5
push 0x64
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x40]
mov edx, eax
cmp ecx, edx
jle 0x46c5ec
mov ecx, dword [edi + 0x2cc]
cmp ecx, 0x7ffffffe
ja 0x46c5e8
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46c5c9
mov eax, dword [eax + 0x1f0]
jmp 0x46c5d7
cmp dword [0x566390], 0
je 0x46c5e8
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46c5e8
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
mov dword [esp + 0x40], ecx
xor eax, eax
xor edx, edx
mov dword [esp + 8], eax
cmp dword [edi + 0x2f4], eax
jne 0x46c606
mov edx, dword [esp + 0x18]
add edx, dword [esp + 0x2c]
jmp 0x46c643
cmp dword [edi + 0x2f4], 2
jne 0x46c61d
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x58]
mov edx, eax
sub edx, ecx
jmp 0x46c646
cmp dword [edi + 0x2f4], 1
jne 0x46c64a
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x58]
sub eax, ecx
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x30]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x18]
lea eax, [edx + ecx]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x54]
sub esp, 0x10
add ecx, dword [esp + 0x20]
sub dword [esp + 0x18], edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, esp
mov dword [esp + 0x70], edx
mov edx, dword [edi]
mov dword [esp + 0x74], ecx
mov ecx, edi
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax], xmm0
call dword [edx + 0x64]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
lea eax, [edx + edi]
add ecx, eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], ecx
add eax, ecx
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add eax, edx
add eax, edi
sub dword [esp + 0xc], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x38], eax
cmovg eax, dword [esp + 0x38]
mov dword [esp + 8], eax
jmp 0x46c2d1