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

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push edi
mov ecx, dword [ebp + 0x2c]
cmp ecx, edx
jne 0x4616ff
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp + 0x28]
jne 0x4616ff
shl ecx, 5
mov eax, dword [ecx + 0x544894]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push 0
push dword [ebp]
call fcn.004f03f0
add esp, 0xc
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x30], 0
pop edi
pop ebp
pop ebx
add esp, 0x64
ret
cmp edx, 0x1f
jae 0x46192a
push esi
mov esi, edx
shl esi, 5
push dword [esi + 0x544894]
push 0xc
push dword [ebp]
call fcn.00460540
add esp, 4
push eax
call fcn.00460a80
add esp, 0xc
test eax, eax
je 0x461929
movups xmm0, xmmword [ebp + 0x20]
movups xmm1, xmmword [ebp]
movups xmm2, xmmword [ebp + 0x10]
movups xmmword [esp + 0x5c], xmm0
movq xmm0, qword [ebp + 0x30]
mov dword [ebp], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x544894]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x544898]
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x5448a0]
mov ecx, dword [esi + 0x5448a4]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [esi + 0x5448a8]
mov ecx, dword [esi + 0x5448ac]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
mov eax, dword [esi + 0x544890]
mov dword [ebp + 0x28], eax
movd ecx, xmm1
movd eax, xmm2
movups xmmword [esp + 0x3c], xmm1
mov dword [ebp + 0x30], 0
movq qword [esp + 0x6c], xmm0
mov dword [ebp + 0x34], 0
movd dword [esp + 0x38], xmm1
lea eax, [eax + eax*2]
mov dword [esp + 0x7c], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x34], eax
cmp ecx, eax
je 0x461916
mov edx, dword [esp + 0x48]
mov esi, dword [ecx + 4]
test esi, esi
je 0x4617dd
cmp esi, edx
jne 0x4617ed
add ecx, 0xc
mov dword [esp + 0x7c], ecx
cmp ecx, eax
jne 0x4617d2
jmp 0x461916
lea ebx, [ebp + 0x10]
mov dword [esp + 0x20], ebx
lea edx, [ebp + 0x18]
mov dword [esp + 0x1c], edx
lea edi, [ebp + 0x14]
mov dword [esp + 0x18], edi
lea esi, [ebp + 0x20]
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x461916
push dword [edx + 4]
mov eax, dword [ecx + 8]
push dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
push 0
mov dword [esp + 0x38], eax
mov eax, dword [ebx]
push ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], eax
call fcn.004ef790
push 0
push dword [esp + 0x14]
mov ebp, eax
mov ebx, edx
push dword [esi + 4]
push dword [esi]
call fcn.004ef790
mov esi, eax
mov eax, edx
mul dword [edi]
mov ecx, eax
mov dword [esp + 0x24], edx
mov eax, esi
mul dword [edi]
mov edi, dword [esp + 0x24]
mov eax, ebx
mov ebx, dword [esp + 0x28]
add ecx, edx
adc edi, 0
mul ebx
inc edi
mov esi, eax
mov ecx, edx
mov eax, ebp
mul ebx
mov eax, dword [esp + 0x78]
add esi, edx
adc ecx, 0
mov edx, dword [eax]
lea eax, [ecx + ecx*2]
cmp dword [edx + eax*4 + 4], 0
lea eax, [edx + eax*4]
je 0x4618a9
nop
lea eax, [ecx + edi]
mov ecx, eax
sub ecx, ebx
cmp eax, ebx
cmovb ecx, eax
lea eax, [ecx + ecx*2]
cmp dword [edx + eax*4 + 4], 0
lea eax, [edx + eax*4]
jne 0x461890
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x7c]
add ecx, 0xc
mov dword [esp + 0x7c], ecx
cmp ecx, ebp
je 0x461912
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4618ed
cmp eax, dword [esp + 0x48]
jne 0x4618fa
add ecx, 0xc
mov dword [esp + 0x7c], ecx
cmp ecx, ebp
jne 0x4618e0
jmp 0x461912
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
test ecx, ecx
jne 0x461811
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x38]
mov dword [ebp + 0x30], eax
call fcn.004604e0
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x64
ret