Function at 0x4626e0
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 0x46272c
mov eax, dword [ebp + 0x34]
cmp eax, dword [ebp + 0x28]
jne 0x46272c
shl ecx, 5
mov eax, dword [ecx + 0x544d3c]
shl eax, 3
push eax
push 0
push dword [ebp + 4]
call fcn.004f0640
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 0x46294e
push esi
mov esi, edx
shl esi, 5
push dword [esi + 0x544d3c]
push 8
push dword [ebp + 4]
call fcn.004606d0
add esp, 4
push eax
call fcn.00460c10
add esp, 0xc
test eax, eax
je 0x46294d
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 + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x2c], eax
mov eax, dword [esi + 0x544d3c]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x544d40]
mov dword [ebp + 0x14], eax
mov eax, dword [esi + str.43333333VUUUUUUU]
mov ecx, dword [esi + 0x544d4c]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [esi + 0x544d50]
mov ecx, dword [esi + 0x544d54]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], ecx
mov eax, dword [esi + 0x544d38]
psrldq xmm1, 4
mov dword [ebp + 0x28], eax
movd esi, xmm1
movd eax, xmm2
movq qword [esp + 0x6c], xmm0
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0
movd dword [esp + 0x38], xmm1
lea eax, [esi + eax*8]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x46293a
mov ecx, dword [0x97f670]
nop word [eax + eax]
mov edx, dword [esi + 4]
test edx, edx
je 0x46280b
cmp edx, ecx
jne 0x462817
add esi, 8
cmp esi, eax
jne 0x462800
jmp 0x46293a
lea edx, [ebp + 0x10]
mov dword [esp + 0x28], edx
lea ecx, [ebp + 0x18]
mov dword [esp + 0x24], ecx
lea ebx, [ebp + 0x14]
mov dword [esp + 0x20], ebx
lea edi, [ebp + 0x20]
mov dword [esp + 0x1c], edi
lea eax, [ebp + 4]
mov dword [esp + 0x18], eax
test esi, esi
je 0x46293a
mov ebp, dword [esi]
mov eax, dword [esi + 4]
push 0
push ebp
push dword [ecx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edx]
push dword [ecx]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x3c], eax
call fcn.004ef9e0
push dword [edi + 4]
mov dword [esp + 0x34], eax
mov ebp, edx
push dword [edi]
push 0
push dword [esp + 0x1c]
call fcn.004ef9e0
mov edi, eax
mov eax, edx
mul dword [ebx]
mov ecx, eax
mov dword [esp + 0x7c], edx
mov eax, edi
mul dword [ebx]
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x2c]
add ecx, edx
adc eax, 0
inc eax
mov dword [esp + 0x7c], eax
mov eax, ebp
mov ebp, dword [esp + 0x18]
mul ebx
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x30]
mul ebx
add ecx, edx
mov ecx, dword [ebp]
adc edi, 0
cmp dword [ecx + edi*8 + 4], 0
lea eax, [ecx + edi*8]
je 0x4628d8
mov edx, dword [esp + 0x7c]
lea eax, [edi + edx]
mov edi, eax
sub edi, ebx
cmp eax, ebx
cmovb edi, eax
cmp dword [ecx + edi*8 + 4], 0
lea eax, [ecx + edi*8]
jne 0x4628c2
mov ecx, dword [esp + 0x10]
add esi, 8
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
cmp esi, dword [esp + 0x14]
je 0x462936
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
nop
mov eax, dword [esi + 4]
test eax, eax
je 0x46290f
cmp eax, dword [0x97f670]
jne 0x46291a
add esi, 8
cmp esi, dword [esp + 0x14]
jne 0x462900
jmp 0x462936
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
test esi, esi
jne 0x462842
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
push dword [esp + 0x38]
mov dword [ebp + 0x30], eax
call fcn.00460670
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x64
ret