Function at 0x46b610
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 0x46b7c4
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 0x46b7a7
cmp dword [edi + 0x2b8], 0
jne 0x46b7a7
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.00444f10
cmp dword [esp + 0x40], 0xffffffff
jne 0x46b6d0
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 0x46b7ab
mov eax, dword [edi + 0x2c4]
cmp eax, 0x7ffffffe
ja 0x46b715
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x46b6f7
mov ecx, dword [ecx + 0x1f0]
cmp ecx, 0x64
je 0x46b715
push 0x64
push ecx
jmp 0x46b70e
cmp dword [0x566390], 0
je 0x46b715
mov edx, dword [0x559368]
cmp edx, 0x64
je 0x46b715
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
cmp dword [esp + 0x40], eax
jge 0x46b726
mov ecx, edi
call fcn.00443650
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x2cc]
test eax, eax
js 0x46b78b
cmp eax, 0x7fffffff
jge 0x46b76f
mov ecx, dword [edi + 0x2b0]
test ecx, ecx
je 0x46b751
mov ecx, dword [ecx + 0x1f0]
cmp ecx, 0x64
je 0x46b76f
push 0x64
push ecx
jmp 0x46b768
cmp dword [0x566390], 0
je 0x46b76f
mov edx, dword [0x559368]
cmp edx, 0x64
je 0x46b76f
push 0x64
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
test eax, eax
js 0x46b78b
mov ecx, edi
call fcn.004436d0
cmp dword [esp + 0x40], eax
jle 0x46b78b
mov ecx, edi
call fcn.004436d0
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 0x46b7ab
mov edi, dword [esp + 0xc]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x46b660
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 0x46b7f1
mov eax, dword [eax + 0x1f0]
cmp eax, 0x64
je 0x46b811
push 0x64
push eax
push esi
call ecx
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x46b811
cmp dword [0x566390], 0
je 0x46b811
mov edx, dword [0x559368]
cmp edx, 0x64
je 0x46b811
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 0x46b845
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 0x46b8c5
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 0x46b8b6
cmp dword [edi + 0x2b8], 0
je 0x46b8e1
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 + 0xc]
mov ecx, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [ecx + 4]
jne 0x46b880
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.00444f10
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 0x46b934
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
test ecx, ecx
jle 0x46b934
inc eax
dec ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x2c4]
cmp ecx, 0x7ffffffe
ja 0x46b973
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46b954
mov eax, dword [eax + 0x1f0]
jmp 0x46b962
cmp dword [0x566390], 0
je 0x46b973
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46b973
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x40], ecx
jge 0x46b9bc
mov ecx, dword [edi + 0x2c4]
cmp ecx, 0x7ffffffe
ja 0x46b9b8
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46b999
mov eax, dword [eax + 0x1f0]
jmp 0x46b9a7
cmp dword [0x566390], 0
je 0x46b9b8
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46b9b8
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 0x46ba93
cmp ecx, 0x7fffffff
jge 0x46ba03
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46b9e4
mov eax, dword [eax + 0x1f0]
jmp 0x46b9f2
cmp dword [0x566390], 0
je 0x46ba03
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46ba03
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
test ecx, ecx
js 0x46ba93
mov ecx, dword [edi + 0x2cc]
cmp ecx, 0x7ffffffe
ja 0x46ba4a
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46ba2b
mov eax, dword [eax + 0x1f0]
jmp 0x46ba39
cmp dword [0x566390], 0
je 0x46ba4a
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46ba4a
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, eax
cmp dword [esp + 0x40], ecx
jle 0x46ba93
mov ecx, dword [edi + 0x2cc]
cmp ecx, 0x7ffffffe
ja 0x46ba8f
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46ba70
mov eax, dword [eax + 0x1f0]
jmp 0x46ba7e
cmp dword [0x566390], 0
je 0x46ba8f
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46ba8f
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 0x46baae
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 0x46bafc
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46bad9
mov eax, dword [eax + 0x1f0]
jmp 0x46bae7
cmp dword [0x566390], 0
je 0x46bafc
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46bafc
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 0x46bb43
mov ecx, dword [edi + 0x2c8]
cmp ecx, 0x7ffffffe
ja 0x46bb3f
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46bb20
mov eax, dword [eax + 0x1f0]
jmp 0x46bb2e
cmp dword [0x566390], 0
je 0x46bb3f
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46bb3f
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 0x46bb86
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46bb63
mov eax, dword [eax + 0x1f0]
jmp 0x46bb71
cmp dword [0x566390], 0
je 0x46bb86
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46bb86
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 0x46bbcd
mov ecx, dword [edi + 0x2d0]
cmp ecx, 0x7ffffffe
ja 0x46bbc9
mov eax, dword [edi + 0x2b0]
test eax, eax
je 0x46bbaa
mov eax, dword [eax + 0x1f0]
jmp 0x46bbb8
cmp dword [0x566390], 0
je 0x46bbc9
mov eax, dword [0x559368]
cmp eax, 0x64
je 0x46bbc9
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 0x46bbe7
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x30]
jmp 0x46bc1c
cmp eax, 2
jne 0x46bbfa
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x5c]
mov edx, eax
sub edx, ecx
jmp 0x46bc1f
cmp eax, 1
jne 0x46bc23
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 0x46b8ba